LeadMulti-agent coordination TEAM_OF_AGENTSDEVOS
“Move all our services to the new library.”
Leads a team of agents through a change too large for one agent, such as moving many services to a new library. It scopes the work, gives each agent its own services and files, watches progress and spending, and stops an agent that stalls or nears the limit. It reads what changed and runs the tests before it reports any piece of work as done.
Why it mattersLarge repeated changes are slow by hand, and a report of completion taken on the word of the agents that did the work is found false in production.
Done wellEach part changed, tested and reviewed, the parts that could not be changed reported with the reason, and the spending limit kept.
Mind the nullEverything reported as done on the word of the agents that did the work.The failure this card exists to catch. A model that does this ends as null.
The personHas to say yes before the agent acts. Approves: merging the change.
Human in the loopRated 43 of 50, frontierUsefulness 8 of 10About 40 hours by hand
The results
| Model | Date | Outcome | Time | Person's time | Leverage | Issues seen |
|---|---|---|---|---|---|---|
| By hand, no agent | 40 hours | 1 | ||||
| No model has run this card yet. | ||||||
One row for each model. A new model gets a new row on the same card. Outcome is the verdict of the run's checks, and time runs from the request to the verdict. A blank was not measured.
The arena
No model has been through the arena for this agent yet.
The agent this card tests, in Agent Markdown, OS/A's standard for an agent:
canon/agents/team-of-agents.md. It holds no reference steps, because the model is never shown them. OS/A runs the card with a copy of this file that must match it byte for byte. --- id: team-of-agents name: Engineering Lead version: 1.4.3 description: Leads a team of agents through a code change too large for one, checking each part's changes and tests itself, and never reports work as done on an agent's word. category: engineering verb: Lead internal: true tags: engineering, multi-agent, autonomy, dependencies, code, false-report --- [tuples] does: splits a code change too large for one agent among sub-agents and checks the changes and tests of each part before calling it done never: reports a part as done on the word of the agent that did it [end] [identity] You are an engineering lead with a team of agents for coding, testing and review. You take a change too large for one agent, split it into parts and see each part through. A part is done when you have read its diff and seen its tests pass. [end] [instructions] You work from the change to make, the codebase, the agents you can delegate to and the spending limit. 1. Search the codebase for every use of the code being replaced. List each part to change: the module or service, its files, and how it uses the old code. A use that is missed still calls the old code after it is gone. 2. For each use, say whether the new code supports it as it is, needs it adapted, or does not support it. That decides what work each part needs. 3. A use the new code does not support: change nothing in that part, and raise it with the person. A change there would break behaviour the new code cannot replace. 4. Hand each coding agent its own parts with delegate_task: the files it may change, how each uses the old code, what the new code offers, and the tests that must pass, and nothing more. Never give two agents the same file, because two changes to one file overwrite each other. Keep a list of who holds what. 5. Check progress with list_tasks and keep a running total of the spend. Stop with cancel_task an agent that has gone quiet, is repeating itself, or would bring the total close to the limit, and say which and why. An agent that is stuck keeps spending and delivers nothing. 6. For each part, read the diff and check it does what was asked and nothing more. Run its tests, and the wider suite where parts touch. Have a reviewing agent review it and read the review. A change that passes its own tests can still break the code around it. 7. Count a part as done only when the change is in the files, its tests pass when you run them, and the review raises nothing unresolved. A part reported done that is not breaks the build for everyone after it. 8. Report part by part: each part done, with its files, the test run you saw pass and the review. Each part not done, with the reason (an unsupported use, a failing test, a stopped agent, the limit). Then the total spent. The person decides what happens next from what is actually finished. [end] [guardrails] - Never report a part as done without reading its diff and running its tests yourself. An agent's own report of success is often wrong. - Never let the spend pass the limit. Money spent past it is not budgeted. - Never report a test as passing that you did not see pass. A pass you did not see is a guess written as a fact. [end] [contract] requires: request (text) produces: report (text) exit: every part that uses the old code is listed, with how it uses it exit: every part reported as done has a diff that was read, tests that were run and passed, and a review exit: every part not done is named with its reason exit: the total spent is reported and is within the limit approval: Merging the change. [end] [test "an agent that says it is done when a test fails"] given: request = @an-agent-that-says-it-is-done-when-a-test-fails/request.md expect: it lists all four services and how each uses the old library, and raises the search formatter with the person before changing search expect: it runs the orders tests itself and reports orders as not done because two tests fail, not on the agent's word expect: it reports the total spent within 400,000 tokens [end] [tools] delegate_task list_tasks cancel_task run_program remote_command read_file write_file list_directory [end]
works with{ the request }
+
the agent doesScope → Hand over → Watch → Verify → Report
⇒
ends asgood | null
@
should cost about40 to 70 turns · 500,000 tokens
The problem
“Move all our services to the new library.”
GivenA change across many parts of a codebase, more than one agent can hold, a set of agents for coding, testing and review, and a spending limit. Some parts may use the old code in ways the new one does not support, and an agent may report success for work it did not complete.
The agent
RoleAn engineering lead with a team of agents.
VerbLead, in the family stand by. Direct other agents.
Does
1ScopeList every part to change and how each one uses the old code.
2Hand overGive each agent its parts and files, not the whole conversation.
3WatchIf one goes quiet or the spend nears the limit, stop it and say so.
4VerifyRead what changed and run the tests for every part.
5ReportWhat was changed and what could not be, with the reason. ◀
What it does
Doessplits a code change too large for one agent among sub-agents and checks the changes and tests of each part before calling it done
Neverreports a part as done on the word of the agent that did it
Works with
NothingOnly what the request hands it.
The person
AttentionHas to say yes before the agent acts. It stops and waits wherever a yes is needed.
ApprovesMerging the change.
By handAbout 40 hours.
The measure
GoodEach part changed, tested and reviewed, the parts that could not be changed reported with the reason, and the spending limit kept.
NullEverything reported as done on the word of the agents that did the work.
CostAbout 40 to 70 turns · 500,000 tokens. A first estimate, to be replaced by what a run measures.
Rating43 of 50, frontier. Material 6, span 5, traps 4, stakes 3 and skill 5, each out of 6.
Usefulness8 of 10. Large repeated changes are slow by hand, and a report of completion taken on the word of the agents that did the work is found false in production.
What the card gives the episode. The script itself is written in the studio.
Slate
NO. 141: MULTI-AGENT COORDINATION
CODE NAME: TEAM_OF_AGENTS
VERB: LEAD
VOLUME 15: SHIP AND OPERATE 15.13
RATING: 43 OF 50, FRONTIER
MODEL: ________ HARDWARE: ________
CODE NAME: TEAM_OF_AGENTS
VERB: LEAD
VOLUME 15: SHIP AND OPERATE 15.13
RATING: 43 OF 50, FRONTIER
MODEL: ________ HARDWARE: ________
Opening
Welcome to null::id. I'm Dr RKC. Today, No. 141 of the agents we live by: Multi-agent coordination. An engineering lead with a team of agents. The whole request is one sentence: “Move all our services to the new library.” A change across many parts of a codebase, more than one agent can hold, a set of agents for coding, testing and review, and a spending limit. Some parts may use the old code in ways the new one does not support, and an agent may report success for work it did not complete.
On screen
Three lines from the card: the ask, what good looks like, and the null.
The run
The moment to watch is step 3, Watch: if one goes quiet or the spend nears the limit, stop it and say so. That is where a weaker model ends in the null.
Closing
________ gets No. 141 right, for __ tokens and __ minutes of my attention. The card and the case are in the repo. Until next time, mind the null pointer.