The agentix pattern
Application architecture decides how code is structured. Agent architecture decides who may do what at run time, when a model chooses the next step. The two meet at the MCP server: an adapter in application terms, a capability boundary in agent terms. The agentix pattern is the shape open-agentix is built around for the second question.
Definition
Section titled “Definition”Every system an agent may touch sits behind exactly one MCP server, which owns its credentials and exposes its capabilities as typed tools, separated into read and write. Every business process is a versioned plan of steps; each step is executed by its own narrowly scoped agent that holds only the tools its step needs, hands over a typed artifact, and reaches any system only through a deterministic policy gate that records every decision under the run id.
| Rule | In one line |
|---|---|
| R1 | One MCP server per system or bounded context, the only door to it. Typed tools, read and write separate, credentials only there. Different risk classes: separate tool sets and policy per tool. |
| R2 | A process becomes 1..n agents, one per step by default. Split when risk, data class, privilege, model, failure handling, cost or approval differ; keep together when steps share context and privilege. No god agent. |
| R3 | Agents never reach systems directly: every tool call passes the policy gate and the audit trail. |
| R4 | Handovers are explicit, schema-typed and minimal, not shared memory or free chat between agents. |
| R5 | Orchestration is data: a versioned plan, not an all-knowing orchestrator agent. |
| R6 | Budgets, limits and identity per agent. |
| R7 | Everything is observable by run id and agent id. |
Anti-patterns
Section titled “Anti-patterns”God agent, one do-everything MCP server for many systems, one MCP server per endpoint, shared credentials, free chat between agents, an orchestrator agent that holds every tool, and policy written into the prompt.
Status in open-agentix
Section titled “Status in open-agentix”Available in 0.1 Pipelines of 1..n agents in
agents.md with per-agent tools, argument rules, approvals, model and
budget; the deterministic policy gate; the hash-chained audit trail; steps and costs per run and
agent.
Roadmap Schema validation of handovers (today the
previous output is passed on as text, format: json is parsed but not validated), conditional plan
steps, named read/write tool profiles per MCP server, per-run credentials and isolated workers
(v0.2), and Agent Check / Agent Plan generation (advisory). See the
roadmap.
References
Section titled “References”Accessed 2026-10-04. The pattern is our own synthesis. It is consistent with these pages, which do
not prescribe it: MCP servers “expose specific capabilities” and each tool “performs a single
operation”; subagents get “specific tool access” through a tools allowlist. Typed handovers (R4)
and plans instead of an orchestrating agent (R5) go further than these sources.
- Model Context Protocol, Architecture overview
- Model Context Protocol, Understanding MCP servers
- Model Context Protocol, Security best practices
- Claude Code documentation, Create custom subagents
The reasoning, a worked example and the trade-offs are in the blog post Agent architecture is not application architecture.