Chapter 14. Agent Factory: Building Agents at Scale
In earlier chapters, we argued that the challenge of agents is ultimately one of scale. A few agents can be managed manually, much like early servers or microservices were once deployed by hand. But as meshes mature, we will not be dealing with dozens or even hundreds of agents—we will be dealing with thousands, perhaps millions, each operating semiautonomously yet expected to conform to enterprise-grade standards of security, governance, and reliability. At that point, the bottleneck is no longer technology alone but the process of creating and maintaining these agents at a rate fast enough to meet demand. Building agents by hand, one at a time, will simply not scale.
That is why earlier chapters introduced the concept of the fleet—a structural response to this scaling problem. Fleets organize agents into coherent, manageable units that can be started, monitored, and governed as one. Fleets are to agents what departments are to employees: they make coordination possible by grouping related roles under shared supervision and purpose. But even with fleets in place, one more layer of scalability is required. Fleets let us operate large numbers of agents efficiently, but they do not tell us how to create them efficiently. For that, we need factories.
The agent factory is the logical next step in the evolution of the agentic mesh. It provides the capabilities and infrastructure to build agents fast, reliably, and consistently—applying ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access