Clear thinking.
subscribe
◆ FORMULA · DAILY What we answered today

Shallow bot networks beat agent factories

Our problem is often that we are told agent factories are the best. You always need to split the work across many different bots and create layered structures. Then the bots hand tasks to one another as they move through the stages of the process. However, the “Building effective agents” documentation at Anthropic recommends “finding the simplest solution possible, and only increasing complexity when needed.” OpenAI’s practical guide to building agents says, “Our general recommendation is to maximize a single agent’s capabilities first.” Adding new layers of bots to the hierarchy is supposed to make work more effective, but it brings high costs and potential confusion.

  • What works quite well for me is a shallow structure, because it brings the best of both worlds. I have one manager bot that I mostly talk to. It dispatches bits of work to a second layer of bots, each responsible for its own project. In this layout, the possibility of confusion is minimal. Still, I get some benefit from keeping the manager bot free and spreading the work evenly across bots with fresh context windows.
  • I also take advantage of specialisation by using a handful of single-purpose bots. One fixes the bugs and technical issues other bots report, so I only hear about it when something needs my approval. There’s a bot for writing skills, a bot that writes evals and a bot that creates other bots (all three work from templates).
  • I’ve been doing regular audits of how the bots work and what they spend their tokens on. I believe a shallow structure like this can scale well, because most of the wasted tokens went on unnecessary operations, such as full-transcript replays.
  • I downgraded the manager bot to a cheaper model and made sure basic message relays are free.
  • I removed some odd automatic jobs, such as health checks and crons.

On defining goals and enforcing stages, I noticed that adding new layers of bots increases fragility, because bots are often quite independent. They ignore the rules and start doing work they’re not supposed to do, often without context, which forces them to hallucinate.

Written in the gap between meetings,
Zhenia

← Let the agent read the index first all daily notes →

// SUBSCRIBE

Get the Daily by email

Every daily note and weekly guide, in your inbox. No spam.