← Back to essays

The Bot Is the Container. The Agents Are the Work

·2 min read·By Ry Walker

Watch any first attempt at an enterprise agent and you will see the same mistake. Someone builds one agent that, in a single run, pulls HubSpot tasks, looks up tickets, queries accounts, and posts a summary. It works in the demo. Then it grows. The spec gets enormous. A single failure takes down the whole run. And nobody can tell you which step actually broke.

The fix is not a better prompt. It is architecture. You break the monolith into sub-agents: one to gather tasks, one to pull tickets, one to fetch accounts. The top-level agent becomes an orchestrator that kicks off the others and assembles the result. Suddenly each piece is small enough to read, small enough to fix, and small enough to reuse in the next agent you build.

This is what people mean when they say agents are software, not prompts. You are making custom Legos. Not everyone thinks that abstractly, and that is fine, because a coding agent will do the decomposition for you. Tell it to break the monolithic day planner into sub-agents and it just does it. The output of agent development is code, and code is where modularity lives.

The payoff compounds. When a run fails, you fix one step atomically instead of untangling a 2,000-line spec. When a step is simple lookup work, you run it on a dumber, cheaper model while the orchestrator stays smart. One run that figured out a user owned no accounts cost 76 cents and spun on tools it never needed. Scope the tools, scope the model, and the run gets fast and directed instead of expensive and vague.

There is also a clean separation worth naming. The bot is the container. The agents are the work. Humans message one surface in Slack every morning. Underneath, a mesh of specialists runs. That is the pattern that scales, because the bot is the interface and the agents are the units. Stop trying to build one agent that does everything. Build the interface, then build the mesh underneath it.

Key takeaways

  • A monolithic agent that hits three services in one run is a liability, not an architecture.
  • Breaking a big agent into scoped sub-agents creates reusable units and lets each step run on the cheapest model that works.
  • The bot is the interface humans talk to; the agents underneath are the units that actually do the work.

FAQ

Why not just build one big agent that does everything?

Monolithic agents balloon in scope, become impossible to debug, and waste tokens spinning on steps that should have failed fast. Decomposing into sub-agents lets you fix one step atomically, reuse pieces across agents, and route cheaper steps to cheaper models.

What is the difference between the bot and the agents?

The bot is the container and the interface, the thing a user messages in Slack every morning. The agents are the units of work it orchestrates underneath. People interact with one surface; the system runs many specialists behind it.

Tembo

Drowning in pull requests that need your review? Try Tembo Review, a beautiful AI-assisted PR review tool unlike anything you’ve used.