list_agents: the agents needed
More than one department?
No, one department
- The department director chooses the specialists
- The specialists, one at a time, with the handover
- The director consolidates and presents the result to you
Yes, several departments
- Business
- Design
- Privacy
- Your confirmation
- Software: development, QA and Security
- Design and privacy reviews, then Code Reviewer
One agent at a time
The Claude Code session loads an agent with the server's agent tool: it gets the department's common rules and the role file and works as that agent, introducing itself with its code name. When its task is done, it loads the next one, which starts from the previous one's handoff.
So you always know who is working, and the work stays in a single conversation. Two agents are never loaded in the same response.
Director first, then the specialists
Each department has a director, agent 01, which list_agents marks as such. For a task of the department:
- the director reads the task and chooses the specialists needed, in order;
- the specialists work one at a time, each from the previous one's result, and report to the director;
- the director consolidates the results and presents them to you, as a proposal to confirm.
If you load a specialist directly, its text tells it to load the director first. With a reduced squad (--agents) without the director, the specialist works on the task and hands over to you.
Across departments
A request that touches several departments follows this order. Steps that are not needed are skipped.
- Business: goal, value, requirements and priorities
- Design: checks on flows, interface, accessibility and copy
- Privacy: requirements on personal data
- Your confirmation
- Software: development, then QA, Security and Performance when needed
- Design and privacy review of the result
- Code Reviewer on the diff
- Your confirmation
Cybersecurity comes in for audits of the whole application, new integrations and incidents.
Compact context
For the session, the server remembers the departments whose common rules and library index it has already sent. A department's first agent gets them in full; the next ones get a reference that says how to get them back, together with the library cards of their own role. Role file and task always arrive in full.
So a specialist of a department already loaded weighs 54 to 59% less, 3.6 to 5.1 KB less text per agent: less context to reread at every call, and more room before /compact.
After /compact or /clear the rules are no longer in the context: the reference asks the session to call agent again with full_rules, which sends them in full even if they were already sent. The subagents of init --subagents, which have a context of their own, always do it as their first step.
Handoff
Between one agent and the next goes a short summary, not the previous one's full answer:
- outcome: what was done or decided;
- findings, each with its evidence;
- open questions, for you or for the next agent.
At the end of its task the agent sends it with the report tool, which saves it and shows it under its card in the panel. If one of the three parts is missing, report saves it anyway and tells the model, which can complete it.
Server agents and subagents
Claude Code also has its own subagents: assistants started with the Agent tool, with a separate context, that can work in parallel. A subagent does not go through the AIgentrica server unless it loads its agent itself: that is why the panel shows them separately.
Since 0.10.0 init does not copy the subagents into the new project. With init --subagents it copies them, one per role in .claude/agents/, and each one loads its agent from the server as its first step. They start only when you ask for them or for a parallel audit; in everyday work the server agents stay, one at a time.
How to create a new project is in Install.
Who is working, in the panel
The panel, a page on your computer, shows the agents called in two ways: by department, one row per agent with the task and the handoff, even when the agent comes back several times; and in a lane map, one lane per department, where the path of the diagram above shows how it really went in your session, returns included. The Claude Code subagents are apart. There you also answer the choices an agent asks you with ask_user. All the views are in The panel.