An agent stack inherits its failure modes from the combination you pick
Framework, runtime, coordination pattern, memory, and harness controls get chosen one at a time, but the risks follow the combination: a hub creates a topological bottleneck, multiple agents create cascade amplification and genealogy drift, and durable memory opens a path for context poisoning. The cheapest gap to miss is error handling — five steps at 95% success each finish the whole path about 77% of the time.
Assemble an agent architecture
Choose one option on each architecture axis. The output is a starting contract and risk review. Validate framework support, model behavior, and operational limits in your own environment.
Graph-explicit state machine · Maximum control over state and flow
You operate the application runtime, network, storage, and deployment controls.
Medium complexity · Research, complex analysis, or tasks that benefit from specialized sub-tasks.
Working context now + durable recall behind one memory layer.
Fix Require independent re-derivation of load-bearing claims (verification pipeline).
Fix Avoid hub bottlenecks; prefer flatter topologies; replicate critical routing roles.
Fix Bound the rounds; periodically restart from independent initial conditions.
Fix Propagate a genealogy graph with every artifact — who produced it and from what.
Fix Quarantine untrusted input; per-agent firewalls so bad content can’t enter memory.
Fix Ground every step with retrieval against authoritative sources; refuse to act unverified.