21 Aug 2026 · 8 min read
From One Agent to an Agent System
A progressive guide to building one competent purpose-specific agent before adding infrastructure, specialist roles, orchestration, and multi-agent workflows.
An agentic task is not yet an agent
An AI can choose steps and tools while completing a goal-oriented task without becoming a reusable agent. A reusable agent is a designed system with a persistent purpose, operating instructions, trusted knowledge, useful memory, reusable skills, scoped tools, quality controls, and a feedback loop.
The practical starting point is one narrow agent with one testable purpose. Prove that it can complete representative work competently before adding databases, hosting, schedules, subagents, or orchestration.
Assemble six building blocks inside four boundaries
The guide separates the reasoning model, identity, knowledge, memory, skills, and tools. These components are related but solve different problems, so a failure should be traced to the responsible component rather than answered with general prompt expansion.
The assembled system operates inside governance, control, privacy, and safety boundaries. Every tool needs a defined purpose, minimum permissions, validated inputs and outputs, error handling, observable calls, and human approval for consequential actions.
Choose a specialist or project agent deliberately
A specialist agent is appropriate when the same capability and quality standard should work across projects, such as bookkeeping, research, security review, or document conversion. A project agent is appropriate when client, repository, product, deadline, terminology, and permissions define the work.
When both conditions apply, project context should remain with the project agent while reusable specialist capabilities are made available through explicit boundaries. A folder-based design keeps purpose, knowledge, memory, skills, tools, evaluations, and outputs inspectable.
Build trusted knowledge and test competence
Knowledge collection starts from the questions, decisions, and tasks the agent must handle. Sources should be deduplicated, checked for authority and effective dates, classified for sensitivity, divided without losing important context, and tested through representative retrieval questions.
Competence testing should cover normal cases, difficult cases, incomplete and conflicting inputs, and situations that require escalation. Improvements stay only when they fix the failed case without regressing the existing evaluation set.
Add infrastructure only for demonstrated requirements
Local operation is often sufficient for an early agent because it is inexpensive and easy to inspect. A database becomes useful for structured shared data, a hosted environment for continuous or shared operation, and external tools for information or actions the purpose actually requires.
On-demand, scheduled, and event-driven triggers have different operating requirements. Unattended work needs explicit time zones, idempotency, approvals, timeouts, retries, logs, notifications, and recovery rather than an assumption that moving the agent to a server makes it production-ready.
Earn multi-agent orchestration through distinct roles
A new agent is justified when the role requires meaningfully different knowledge, context, workflow, authority, tools, or success criteria. Router, supervisor, sequential, parallel, event-driven, and human-coordinated patterns should be selected around the work rather than used as architecture decoration.
Every handoff needs a structured contract covering producer, consumer, artifact, sources, assumptions, confidence, status, validation, unresolved issues, version, and next action. Graph loops also need acceptance criteria, iteration or cost limits, versioned artifacts, and an escalation path so they terminate predictably.
Share and save
Living source
This post is the stable site version. The source gist may be updated as the working pattern develops.
Read the complete agent-system guideBuild a Markdown second brain in CodexAdopt Vercel Eve architecture in CodexUse the DUO human-agent collaboration loop