Why AI Agents Underperform: The Six Layers of an AI Operating System
AI agents underperform when a company starts with the agent and skips the layers it depends on. An AI operating system (AIOS) is a single architecture across the business with six layers, built in order: identity, memory, connections, hooks, skills and agents. In this video Mike Armstrong goes through each layer on Dynaflow's own recruiting business: what it is, how it works technically, and what it does for the business owner. Memory is the ontology: every person, company and role is an object, and the objects are mapped to each other, so an agent can follow the links. Hooks are governance in code: a check that runs before an agent takes an action. A skill is a written procedure for one task, run by hand until it is reliable, and only then run as an agent. The system is run as sovereign AI: the data and the rules stay in a system the business controls, and it works with leading AI models. A business starts by mapping its bottlenecks, in a 3-day boot camp. The product screens in the video use fictional data.
Key takeaways
- Generally, a business runs on five or six disparate systems: email, contacts, calendar, notes and spreadsheets. None of them talk to each other, so the people are the integration layer. An AI tool added on top knows nothing about the business.
- Memory is the ontology. Every person, company and role is an object, mapped to the others. For a new account executive search at a cybersecurity software company, the agent reads the people the firm already knows and returns a shortlist, each person rated A, B or C, with the call note and the date under the rating.
- A rule written in a prompt is a request, and a model can ignore it. A hook is code, so it runs every time. In the video an agent can draft an email and cannot send it. The hook is where a business sets how far automation goes.
- A skill is where the firm's standard operating procedures sit: the inputs, the steps and the output. In the Today view of Recruit ATS, one skill reads the records, the calendar and the notes and ranks every open action, and a second skill writes the draft on each one.
- An agent is a skill that has been run by hand, corrected and run again until it is reliable. Do it, make it better, repeat, optimize, then automate. Companies that buy a sourcing agent first skip five layers: garbage in, garbage out.
- Where a business starts: map the bottlenecks before any code is written. Which steps repeat every day, which systems hold the data, which data is correct, and which decisions wait on which person.
The six layers
- Identity
- How the company writes and the rules it is governed by, held in files that every agent loads before a task. The wording and tone come from the company's own emails and documents. For the owner: a draft reads in the company's voice and does not need rewriting.
- Memory
- The ontology. Every person, company and role is an object, and the objects are mapped to each other: this person worked at that company, spoke to us on that date, said this on that call. For the owner: the business answers from its own network and its own knowledge first.
- Connections
- Email, contacts, calendar and notes, each connected by an API, with read and write set for each connection. For the owner: agents work across the entire tech stack and the team stops copying between systems.
- Hooks
- The governance protocol, in hard code. A hook is a check that runs before an agent takes an action. Each skill has its own permissions, and roles are part of the design: a recruiter works their own candidates and searches, and the owner sees the entire business. For the owner: the level of security is set in code, which is what allows agents to be connected to real client data.
- Skills
- A written procedure that applies to one task: the inputs, the steps and what the output looks like. It is where the firm's standard operating procedures sit. For the owner: the way the best person does a task is written down and runs the same way every time, and it stays in the business when someone leaves.
- Agents
- A skill that has been run by hand many times, with the output corrected, until it is reliable. It then runs with less input. For the owner: the same team handles more work, and hours go to clients and generating revenue.
Questions and answers
Why do AI agents underperform?
Generally because the company started with the agent. An agent depends on five layers under it: identity, memory, connections, hooks and skills. Without them the agent has no knowledge of how the company writes, what it already knows, which systems it can use, what it is allowed to do or how a task is done. Garbage in, garbage out.
What is an AI operating system?
A single architecture across the business, where most companies have five or six disparate systems and an AI tool on top. It has six layers, built in order: identity, memory, connections, hooks, skills and agents.
What is an ontology in an AI operating system?
It is the memory layer. Every person, company and role is an object, and the objects are mapped to each other, so an agent can follow the links between them. It is custom to the organization and is where the knowledge held in years of contacts, notes and conversations is put to use.
What is the difference between a rule in a prompt and a hook?
A rule written in a prompt is a request, and a model can ignore it. A hook is code that runs before an agent takes an action, so it runs every time. In the video an agent can draft an email and cannot send it.
What is the difference between a skill and an agent?
A skill is a written procedure for one task, run by hand. An agent is a skill that has been run, corrected and run again many times until it is reliable, and then runs with less input. The ranking of open actions and the shortlist in the video both started as skills.
What does sovereign AI mean for a business?
The data, the knowledge and the rules stay in a system the business controls. The system in the video works with leading AI models, so it is not locked into a single vendor.
Where should a business start?
By mapping its bottlenecks before any code is written: which steps repeat every day, which systems hold the data, which data is correct and which decisions wait on which person. Dynaflow runs this as a 3-day boot camp: day one maps the systems and the bottlenecks, and building on the business's own data starts on day two.
Does this only apply to recruiting?
No. The video uses Dynaflow's own recruiting business as the example. The six layers apply to any sales or commercial business.
Full transcript1,732 words
We built an AI operating system for our recruiting business. It's called AIOS. The point of AIOS, of course, is to help you save time and generate revenue using the data you already have in your business. In this video, I'll go through the six layers that we built.
For each one, what it is, how it works technically, and what it can do for you, the business owner. This applies to any sales or commercial side of business, not just recruiting. For those of you who don't know me, my name is Mike. I spent 20 years successfully introducing leadership into big tech companies in Japan and Asia.
And now we build AI systems to help sales and recruiting businesses be more efficient. Generally speaking, a business will run on five or six disparate systems. Email, contacts, calendar, notes, spreadsheets, this type of thing. None of them talk to each other, so in fact, your people are the integration layer.
They copy from one system to the next all day long. Most companies will then add an AI tool on top, and then the tool knows nothing about the business. AIOS is a single architecture across the entire enterprise, and it has six layers built in order. So let's go through them now.
One, identity. Identity is how a company writes and the rules that is governed by, and it's held, this information is held in files that every agent has access to with security and will load that information before a task. So identity is really important for creating your own company voice, whether it's you, the business owner, or the recruiters and salespeople that are working for you. So the wording, the tone, taken from your own emails, your documents, everything.
And the cool thing about identity in AIOS is that it's hard-coded into rules. So sources stay confidential and the agent isn't hallucinating. And for you as a business owner, identity is really important because again, it sounds like your own voice and you're not rewriting stuff over and over. This exponentially helps you save time.
And once you start to create a true identity for your organization, you can really let the agents in the agentic systems do the heavy lifting. Two, memory. This is the ontology. Technically, every person, company, and role in your organization is what we call an object.
And objects are mapped to each other. So an agent can follow the links and the connections. This person worked at that company, and this person spoke to us on that date, and this person said this on that call, we can map everything and create this ontology for your organization, which is custom to you. And this is where tribal knowledge can start getting mapped and exponentially extract value from that.
And so for example, let's say as a recruiting firm, we take on a new job, a new search. In this case, it's an account executive job with a cybersecurity software company. Everything that you see on screen right now is fictional, but we have a Dynaflow ATS recruit that we can sell to you as a standalone system, or if you're interested in the agentic components, we can talk about that as well. However, the agent will read the people that it already knows, that the organization knows, and then the agent will come back with a short list.
It's mapped and each person is rated A, B, or C. Under the rating is evidence and the call, where it came from, the dates, the notes, so you can run an audit against this as well. And this is why ontology and mapping is really important. For you as a business owner, this is a really valuable layer.
You've paid for years of contacts already. Contacts, notes, conversations, and a lot of it just gets buried and never read again. It's archived. With ontology, the business answers from its own network.
The business answers from its own tribal knowledge, sovereign AI, and it's fast, it's efficient, it's secure, and it's data that your competitors simply don't have. If this sounds interesting to you and you want AI or AIOS in your business, there's a link, excuse me, there's a link below, click the link, book a meeting with me. We will go through your workflows, your systems, your bottlenecks, and we'll tell you which layer to start building first. And we can really actually start building on your data within one or two days.
All right, let's get back to the layers. Three, connections. Email, contacts, calendar, notes. Each one is connected by something we call an API.
I'm sure you've all heard of this application programming interface. So there's an API within AIOS where agents can work together side by side and they're all connected into your data and your tools. And each connection gets set through read and write protocols. For a business owner, the agent will work across the entire organization and the entire tech stack.
Your team will stop copying between themselves and they can let the agents do the heavy lifting. Generally, this is where the admin hours go and it's a lot of time and so if you get this part right, the connections part, you can really save your organization a lot of time. Four, hooks. This is the governance protocol and it can be hard-coded as a type of security layer into your business.
A hook is a check that runs before an agent takes an action. A rule written in a prompt is a request and a model can ignore it if it chooses to. However, a hook is a code so it runs every time. So for example, an agent can draft an email but it won't send it.
So you can make this human-guided agentic. If you want full automation, the hook is where you change that. So for me personally, I like to do human-guided AI, but it really depends on how full automation you want to go. Each skill has its own permissions and its own security, and the roles and the function are part of that design.
So a recruiter can work in their own way with their own candidates on their own roles and searches, and the owner can sit above that and see the entire business. And if you're a business owner, you can set the level of security within the system and within the code. This is what lets you connect agents into real client data. Five, skills.
This is where the rubber hits the road. A skill is a written procedure that applies to one single task or function. It's where your firm's manual or standard operating procedures sit. The inputs, the steps, and what the output can actually look like.
So, for example, on screen you will have a view of our ATS, which we built. One skill reads the records, the calendar, notes. It will rank every open action in the business. And then another skill will write the draft, and it will write it on each one.
The top action here is an offer that is expiring Friday, and the follow-up to the hiring manager is already drafted by the agent. How cool is that? So as a business owner, the way your best person does a task is written down and it runs the same way every time. So you can take tribal knowledge and you can take best practices that are done or performed by your best team members, and we can start to integrate that into your business.
The team starts from day one from a ranked list with drafts written, best practices, and the whole system will know how to stay in the business even if someone leaves. Six, agents. An agent is a skill that's been system prompted. We run skills by hand and we correct the output and then we run it again many times.
We reiterate. When it's reliable it will run as an agentic agent with less input from you. The ranking and the shortlist both started this way. This is the algorithm.
Within agents, the algorithm is the really important part. You do something, you make it better, you repeat, you optimize, and then you automate. And you do that enough times over and over and you start to get a really powerful agentic system that is custom to your enterprise and your organization. Generally, companies start here.
They buy a sourcing agent, for example, but they skip five layers. And that's why a lot of agentic systems, a lot of AI underperform and fail, straight out fail, garbage in, garbage out. So as a business owner, this is the capacity. The same team handles more work and hours go to clients and generating revenue and the agentic systems, the agents, the tools connected do the heavy lifting.
We run all of this as sovereign AI on our business. Our data, our tribal knowledge and our rules stay in our system and we control it. It works with leading AI models, Anthropic, OpenAI, Gemini. So we're not locked into a single vendor, but we're leveraging the best vendors.
And as the models improve, the systems improve with them. It's agnostic model connectivity optimization, so you get the best of the best. A business starts by mapping its bottlenecks before any code is written. Which steps repeat every day?
Which systems hold the data? Which data is correct? Which decisions wait on which person? We run this as a three-day boot camp.
Day one, we map your systems and your bottlenecks. And day two, we start building real-world builds on your data. So that's AIOS in a nutshell. Six layers.
Each one is there to help you save time and generate revenue exponentially by orders of magnitude. If you want this in your business, book a meeting with me. Link in the description. Bring your biggest bottlenecks and we'll go through your workflows and your systems and you'll leave with a plan and an idea of how we can help you build this in your business.
Also, if this was useful for you in any way, please like and subscribe to my channel. It's very helpful. And also feel free to share this video with anyone you know in your network who is running a business or thinking about implementing AI into their business. Thank you so much.
If you made it to the end, you're a champion and I'll see you in the next one.
Auto-generated from the video's captions and lightly edited for readability. Commercial terms are covered on a call, not here.


