Session 11 — Project integration
Goals
- Combine retrieval, a tool, a budget and a guardrail in the same run.
- Compare a single agent with two roles on the same questions.
- Write a README that another partner can run successfully.
- Record enough details in every run to reproduce it.
When the second role helps
The demo below is fixed: without a boundary, the two researchers bring two prices for the same supplier. A summarizer that picks the wording deletes a contradiction. A summarizer that keeps both sources at least does not make up a single price.
In lab 4 you replace the demo with code. If you cannot show a difference in the number of successes or in coordination failures, you do not write that the team improved the system.
Every hand-off between roles is a place where information can get lost. The summarizer sees only what the researchers wrote to it. If a researcher left out a source id, the summarizer cannot bring it back.
What to record in every run
To compare versions, and to find out why a given run failed, every run keeps:
- Which model and which version of the prompt.
- The package versions, or a lock file.
- The full log: every tool call, its arguments, its status and its result.
- The number of calls and the total time.
Without these details, "it worked yesterday" is not information anyone can check. A small prompt change is a new version, and you run the same cases on it again.
What another person checks
Following the README: installation, running the tests, and one question. If a file, a key or a command is missing, that is a finding of the session, not a minor glitch.
A README someone can run includes:
- What the system does, in one sentence, and on which collection.
- Install and run commands, from an empty folder.
- How to run the set of cases, and where the results are saved.
- Where to put a key, if one is needed, without it entering the repository.
- What the system cannot do.
Swap repositories with another pair. Each pair tries to run the other's project using only the README, without asking questions. Write down every step where you got stuck. Then each pair fixes its own README according to the list it received.
Check your understanding
Reading
Anthropic, How we built our multi-agent research system, 2025. anthropic.com/engineering/multi-agent-research-system. Further reading: when several agents helped, and how much it cost.
Summary
Found a mistake on this page? Email the lecturer