Skip to content
Fluf
Beta

We are actively shipping every day for Fluf.

New things land daily and the product keeps getting better. Tell us what to fix or build next: we read every message.

How to build an AI org chart: workspaces, departments and manager agents

One agent is a chat. Six agents is a mess. Six agents with a manager is a team. A practical guide to structuring AI agents like a real company.

A team of Flufs huddled together under a periwinkle sky, with a cobalt and a blush Fluf at either side.
On this page

Most people who get serious about AI agents hit the same wall. The first agent is great. The second is handy. By the fifth you have a sidebar full of agents that don't know each other exist, three of them have half-done the same research, and you've become the switchboard that copies output from one window into the next. You hired help and got a second job.

The fix isn't a smarter model. It's structure. Companies worked out a long time ago how to get many people pulling in one direction: roles, managers, reporting lines and clear rules about who decides what. Agents need the same thing, and they follow it more consistently than most people do.

This guide works in any tool: a framework, a no-code builder or a desktop app. We use Fluf as the worked example because the hierarchy is built into it.

Why flat agent lists break

A flat list of agents has three failure modes.

Nobody owns the outcome. You ask the research agent for competitor pricing and the writing agent for a landing page. Neither knows the other's work exists, so the landing page quotes no prices and the research sits unread.

Context lives in your head. Every handoff runs through you. You become the memory, the router and the quality check. That's the work you were trying to hand off.

Risk has no gatekeeper. When five agents can each send email, spend money or delete files, you need five sets of guardrails, and you'll forget one.

A hierarchy fixes all three. Someone owns each outcome, context flows along reporting lines instead of through you, and risky actions go to one place for a decision.

Start with one agent for one job

You don't need a company to get value from an agent. Hire one agent to run your marketing, give it a routine that checks in every morning and let it remember everything it learns about your audience. In Fluf, an agent doesn't have to belong to a workspace at all.

Structure earns its place the moment you have several agents working on related things. That's when the rest of this guide applies.

The shape: organisation › workspace › department › team › agent

Match the structure to how your work is actually split. Fluf uses five levels:

  • Organisation: everything you run.
  • Workspace: one product, company or client. Each workspace keeps its own memory, brand, instructions and knowledge files, so an agency client's data never leaks into your side project.
  • Department: a function inside a workspace, such as Growth, Product or Operations.
  • Team: an optional group inside a department when it gets big, such as Content inside Growth.
  • Agent: a single worker with one clear job.

You don't need every level on day one. A solo founder can run a business with two departments and six agents. The structure is there for when you grow into it.

Give every level its own memory and rules

Compartments only work if they hold. In Fluf, memory is scoped: an agent's own memory, then its team, department, workspace and organisation. A fact your Growth department learns about pricing stays with Growth unless you share it wider. Open the Library to read any saved memory, correct it, change Who reads it to move it to another scope, or forget it.

Rules follow the same ladder. Instructions, approval rules and permissions can sit on the organisation, a workspace, a department, a team or a single agent. Put "never post publicly without approval" on the workspace once and every agent in it follows it.

The three roles

Every agent in a working hierarchy plays one of three roles.

1. The main agent of each workspace. It knows what every department in its workspace is doing. You talk to it when you don't know who to talk to. It turns "get the launch ready" into assignments, chases progress and gives you the short version. Above every workspace, one top-level agent sees across your whole organisation.

2. Managers. One per department or team. A manager doesn't do the deep work. It hands each piece of a goal to the right specialist, reviews what comes back and reports up. Good managers say no to vague work and send it back with a question.

3. Specialists. Everyone else. Each has one narrow job and the tools for it: a researcher with web access, a writer with your brand voice, an ops agent with access to your files. Narrow beats clever. An agent that only verifies facts will verify facts far more reliably than a generalist asked to "also double-check".

Write a role card for every agent

The single most useful habit is a short role card. It tells the agent what it is, where it sits and what it may do. Keep it under a page. Here's one for a research specialist:

name: Scout
role: Market researcher
workspace: Lumen (solo software business)
department: Growth
reports_to: Atlas (Growth manager)
job: >
  Find and verify facts about competitors, pricing and customer pain.
  Always return sources with dates. Flag anything older than 90 days.
tools: [web_search, browser, notes]
can_do_alone:
  - read any public website
  - write notes in the Growth library
must_ask_first:
  - creating accounts or signing up for trials
  - anything that costs money
escalate_to_manager_when:
  - two sources disagree on a number that matters
  - the task is bigger than 2 hours of work
done_means: >
  A short summary on top, a source list below, and a one-line
  recommendation for Atlas.

Notice what's in there: who it reports to, what "done" looks like, and the exact line between acting and asking. That last part is where most setups go wrong. Write it down once and the agent holds it every time.

Set the rules for delegation, reporting and escalation

Structure only works if work moves along it predictably. Three rules cover most of it.

Delegation goes down. Managers assign work to their own reports. A workspace's main agent assigns to its managers, not straight to specialists, unless you tell it to. This keeps managers accountable for their department.

Reports go up, short. When a specialist finishes, it reports to its manager with the result on top. The manager combines reports and sends one summary up. You read one message instead of six.

Escalation goes up until someone can decide. A specialist that's stuck asks its manager. A manager that can't resolve it asks the workspace's main agent. Only decisions that genuinely need you reach you.

Peer-to-peer is fine too. Your writer can ask your researcher for a source directly. Just make sure the result still lands with the manager who owns the outcome.

Approvals: one rulebook, asked in the chat

A hierarchy gives approval rules a single home. Choose permission modes and rules for sending, spending, deleting and posting publicly once, at the right level, and every agent below follows them.

In Fluf, the request comes to you in the chat with the agent that wants to act. When approval is required, the agent pauses and a card shows what it wants to do and why. Approve or decline on the card, or reply with a change of course. Its row in the sidebar shows an unread count until you do, and everything else carries on in the meantime. Set the bar per level: a social agent might draft freely but never post; an ops agent might rename files freely but never delete. See Permission modes for what Always ask, Auto and Full access allow.

Read the agent-to-agent conversations

When agents talk to each other, you should be able to read it. Not to supervise every line, but because it's the fastest way to see why something happened. If the launch post quoted the wrong price, open the group chat where the writer and the researcher worked it out and you'll see exactly where it went sideways.

In Fluf, group chats sit in your sidebar next to every agent chat. Put the agents on a job in one, and read it like a manager reads a team channel: skim, spot patterns, fix the role card, move on.

Keep the team working when you're away

A team that only works while you watch is still a chat. Give recurring work to routines: a daily competitor scan, a weekly report, a Monday inbox sweep. Give agents that own an area a heartbeat, so they wake on a schedule, check their area and act. Results arrive as replies in the chat with that agent, and your agents can answer you in your chat apps, so you can hand out work from your phone.

Two starter org charts

Copy one of these, rename the agents, and adjust from there.

Solo software founder (Pro: departments and manager hierarchy)

Lumen (workspace) · main agent: Kit
├── Growth · manager: Atlas
│   ├── Scout: market research
│   └── Echo: content and social drafts
└── Product · manager: Kit (doubles as main agent)
    ├── Ash: bug triage and support replies
    └── Sprig: docs, changelog and file tidying

Six agents, two departments, one owner setting the approval rules. Kit pulls double duty as the workspace's main agent and the Product manager, which is fine at this size. Free supports 2 workspaces and 6 agents in a flat structure. Upgrade to Pro when you want departments, teams and manager hierarchy.

Agency running three clients (Pro)

Organisation · top agent sees every client
├── Client A (workspace) · main agent: Atlas
│   ├── Research: Scout
│   ├── Content: Echo, Juno (design review)
│   └── Reporting: Zip
├── Client B (workspace) · main agent: Kit
│   ├── Content: Hazel
│   └── Ops: Sprig
├── Client C (workspace) · main agent: Opal
│   └── Growth: Nori (fact check)
└── Agency HQ (workspace) · main agent: Mack
    └── Finance and approvals: Fern

Each client is its own workspace, so memory, brand and instructions stay separate. The top agent sees across all of them for your Monday overview, and Mack guards the agency's own money.

How other tools handle hierarchy

You don't need Fluf to do this, and it's worth knowing the alternatives.

CrewAI has a hierarchical process where a manager agent, either auto-created or one you define, delegates tasks to role-based workers and validates their results (CrewAI docs). It's an open-source Python framework, so it suits developers who want to code the structure themselves.

Paperclip is an open-source control plane built around an org chart, with reporting lines, per-agent budgets that pause at a limit, scheduled wake-ups and approval steps, including approval for new "hires" (GitHub). You bring your own agent runners. One review estimated ongoing upkeep at a few hours a week (fast.io).

Fluf puts the same ideas into a desktop app for Mac, Windows and Linux: workspaces, departments and teams as real compartments, every agent with a face and a name, memory you can read, and agents powered by any model. Use the subscriptions you already pay for (Claude Code, Codex, GitHub Copilot, Cursor, Gemini CLI and more), an API key from any major provider, or a local model through Ollama or LM Studio.

Grow the chart from real work

Don't design a 40-agent company on day one. Start with one agent for one job. When you notice yourself routing the same kind of work again and again, add a manager for it. When a manager's queue fills up, split it into teams. Org charts that grow from real work beat org charts drawn on a whiteboard.

    Search every docs page: setup, agents, models, memory, routines, chat apps and reference.