Reference Architectures

Production-proven patterns for common agent system designs.

Open source on GitHub →

Reference architectures let you choose runtime boundaries before implementation details multiply. Use this page to pick a topology, package set, and rollout checklist that match your constraints.

Pattern 1: Single-service supervised runtime

Best for one team shipping one bounded workflow inside an existing Elixir service.

Tradeoff: lowest integration overhead, but domain boundaries can blur as workflows expand.

Pattern 2: Orchestration hub with specialized workers

Best for systems that need explicit coordination across multiple agents and work types.

Tradeoff: stronger isolation and routing clarity, with additional coordination complexity.

graph LR
  A[Ingress API] --> B[Orchestrator AgentServer]
  B --> C[Worker Agent A]
  B --> D[Worker Agent B]
  B --> E[Signal Bus]
  E --> C
  E --> D

Pattern 3: Mixed-stack control plane on the BEAM

Best for teams where product surfaces are not Elixir-native but reliability and orchestration need a stable runtime boundary.

Tradeoff: clearer failure containment and control-plane behavior, with cross-language contract design work.

Proof surface in this repository

The application boots an orchestrator under Jido.AgentServer supervision in AgentJido.Application.

{Jido.AgentServer,
 id: AgentJido.ContentOps.OrchestratorServer,
 agent: AgentJido.ContentOps.OrchestratorAgent,
 jido: AgentJido.Jido,
 name: AgentJido.ContentOps.OrchestratorServer}

This provides an implementation reference for supervised runtime topology and explicit agent ownership.

Selection checklist

  1. Choose the smallest pattern that supports your near-term workflow complexity.
  2. Map each critical workflow to one owning agent and one fallback path.
  3. Confirm observability and recovery expectations with Production Readiness Checklist.
  4. Review runtime and package rationale with Architecture.

Get Building

After selecting a topology, execute a bounded build path from Quickstarts by Persona and validate the rollout with Production Readiness: Supervision, Telemetry, and Failure Modes.