AI Agent Architecture: How to Build an AI Agent Team in Six Layers

AI agent architecture goes wrong the same way every time: people write one huge prompt, then keep adding to it until nobody, human or model, can tell what it actually says. Daniel Agrici takes the opposite route. In a video published on Oct 26, 2026 he walks through a vault of seventeen named marketing agents, each one a short note full of links, and then sums the design up in one line on screen: "An agent is not one long prompt." This guide turns his model into ten steps you can copy, with his on-screen text quoted exactly.

AI agent architecture: an agent is not one long prompt. Ten steps from Daniel Agrici's six layer model for building a team of AI agents.

The model in one table

Layer Question it answers What lives there
1. Identity Who is this agent and what is its job? A role note and a separate soul note
2. Mind What does it know? Brains for one agent, knowledge for all
3. Hands What can it do and connect to? Skills and tools
4. Method How does it work, step by step? SOPs, workflows, templates
5. Limits How far may it act on its own? Action ceiling, on or off switch, approvals
6. Loop How is its work checked and improved? Evals, a verifier, learnings
Team How do agents hand work to each other? Front door, coordinator, one handoff shape

Why structure beats a bigger prompt

I've built, scaled, and sold three companies, generated over $85 million in the last seven years in my own companies. The teams that scaled in those companies did not have smarter people writing longer memos. They had one place for each rule, a clear owner for each job, and a check that someone other than the author ran. Agent teams need exactly the same things, and this model writes them down.

AI agent architecture starts with one small file

Step 1: Write the agent as one small file that links to its parts

Here is the core idea from his note "The agent layers model":

An agent is not one long prompt. It is a small file that says who it is and links to the parts it uses. Everything the whole team shares is written once and kept in one place, and agents point to it instead of copying it.

His example is Emre, the blog agent. The file holds a handful of properties (type, role, area, status, an action ceiling of none, dispatch disabled) and then lists of links: 33 skills, two brains, two workflows, seven collaborators and two reviewers. There is no wall of instructions. When a rule changes, it changes in one linked note and every agent that points at it picks it up.

Step 2: Give it an identity, and keep the role apart from the soul

Identity has two notes. The role says what the job is and what it is not. The soul says how the agent sounds. Emre's role: "Turn strategy, evidence and brand context into article briefs, drafts and copy for the selected channel." His soul starts: "Emre writes for the reader who has somewhere else to be." The soul even limits itself: "This note controls voice only. It grants no capability, authority, publication, first-hand experience, or procedure." Splitting them means you can change the job without losing the voice, or hand the same voice a new job.

How to build an AI agent team that knows things

Step 3: Split the mind into brains and shared knowledge

His model names two kinds of knowing. A brain is deep expertise in one subject, linked only to the agents that need it; his email marketing brain explains why a choice fits and "does not send, schedule or create drafts in a real mailbox." Knowledge is the shared rule book: naming, evidence labels, how to resolve context. His first guideline sets the root: "AGENTS.md is the canonical root contract. CLAUDE.md and CODEX.md point to it and never duplicate it." That one line is why the system works across Claude Code, Codex or Gemini.

Step 4: Give it hands: skills and tools

On his screen: "Skills are repeatable abilities written as instructions (how to run an audit, how to write a brief). Tools are the outside services and data the agent connects to." His copywriting skill states its outcome in a single sentence: "Draft reviewable conversion copy for a named surface while preserving evidence, offer, audience, and approval boundaries." His point is that skills matter less than people think once the rest of the structure exists. An agent can still work without them, just with less skill.

Step 5: Write the method down once: SOPs, workflows and templates

Method is shared by the whole team. An SOP covers a habit every agent repeats, like starting a session. A workflow chains agents and skills into one deliverable; his WF-001 pro blog workflow lists its owner (Orchestrator), its review agent (Editor) and an approval box that is ticked. A template fixes the shape of the output. His pro blog package template even says what it does not allow: "It does not authorize research, media generation, publication, or distribution." In his words, the workflow does the job and the template shows what the finished job should look like.

AI agent architecture that stays safe

Step 6: Set limits before you add power

Limits are three things: an action ceiling (the most an agent may do without asking), an on or off switch for dispatch, and a policy for what needs a human yes. His poster adds "human approval gates on spend and live writes." These are your ai agent guardrails. He compares it to hiring: start the agent in a sandbox, teach it, trust it, and only then raise the ceiling.

Step 7: Close the loop: evals, a verifier and learnings

The loop is what makes an agent improve. Evals are saved test briefs, a scoring rubric, and hostile inputs like prompt injection. A verifier who did not write the work checks it before it ships. Learnings turn each mistake into a better rule. He describes this as handing out or taking away a cookie; in the vault it is plain notes, promoted only with approval.

Step 8: Add the team layer when there is more than one agent

Once you have several agents, add four shared pieces: a single front door for the human, a coordinator that chooses specialists and orders the work, one handoff contract so every assignment and result looks the same, and a shared base prompt so no agent file has to repeat it. In his vault the front door is Sofie (Secretary) and the coordinator is Richard (Orchestrator).

Step 9: Record every session, decision and handoff

His vault keeps sessions with folders for artifacts, assignments, decisions and handoffs. One rule on screen is worth stealing as is: "Never select the newest chat by modification time." Each session has one record, so you can read back what an agent did, what it decided and why, the way a manager reviews a new hire's week.

Step 10: Keep the ten principles as house rules

His list ends the model. The three we would print and pin up: "Link, don't copy. Each fact lives in one place." "Set limits before adding power." "Keep readiness separate: a task can be ready, an agent can be ready, and permission to run is a third, separate gate." The full ten are in the blog post on ai agent design principles.

Where to start this week

You do not need seventeen agents. Pick the one task you already hand to AI every week. Write its role in five lines, its voice in five more, link the one rule document it must follow, add a template for its output, set its ceiling to "draft only", and name a person or second agent who checks it. That is all six layers in an afternoon.

Worked example: a four person marketing team

Picture a small team that publishes two blog posts a week with AI help. Today each person keeps their own long prompt, and every post comes back in a different voice with unsourced claims.

They rebuild it in the six layers. Identity: a Writer role note and a separate voice note that bans filler and dashes. Mind: one shared evidence rule (every claim needs a source link) and one brain for their industry. Hands: an outline skill and a fact check skill. Method: a blog workflow that runs research, outline, draft, fact check, and a template with fixed fields for title, audience, sources and call to action. Limits: the Writer can only draft; publishing needs the editor's yes. Loop: an Editor agent scores each draft against a five point rubric, and every rejected claim becomes a new line in the evidence rule. Team: one front door chat where requests come in, and one handoff note per post. After a month, the prompts are gone and each fix lives in one file.

Want an agent team built this way?

We design and build AI agent teams for service businesses: the role and voice notes, the shared rule book, the workflows and templates, the limits and the review loop, wired into the tools you already use. We also run hands on AI training so your team can maintain the structure after we leave. Start with the AI automation agency service and we will map your first agent in one call.

FAQ

What is ai agent architecture in this model?

A way to structure an agent as a small file that links to its identity, knowledge, skills, methods, limits and checks, instead of one long prompt.

Do I need Obsidian?

No. He uses Obsidian because it links notes well. Any folder of markdown files works, with AGENTS.md as the root.

Does it work with Claude Code, Codex or Gemini?

He says it is agnostic of the harness, because the root contract is plain markdown that the other files point to.

Are skills still needed?

He calls them less important than the folder structure, but keeps 33 of them on one agent. Treat skills as one layer, not the whole system.

Sources

  • Daniel Agrici, "I'm deleting this video in 48 hours", YouTube, Oct 26, 2026: https://youtu.be/aOI6VJzvqbE
  • His GitHub: https://github.com/AgriciDaniel
  • Frame captures and exact on-screen text: pack 50 capture folder (internal)
  • Founder figure: Tom Patterson's own companies, seven years to Oct 2026

Which layer is your agent missing?

Book a call and we will audit one of your agents against the six layers and show you the first fix.

Book an AI Automation Call