Agent Architecture Guides
Design agent loops, planning, memory, and tool contracts with clear responsibilities and measurable stopping conditions.
Start with the first guide for the core design, then use the others to examine specific implementation and operational decisions. Each includes primary references and illustrative examples.
- Designing an AI Agent Loop as a State Machine
Design a reliable AI agent loop with explicit states, guarded transitions, bounded execution, and recovery illustrated through a support-ticket workflow.
8 min read
- Single Agent vs Multi-Agent Systems: An Architecture Decision Guide
Compare single-agent and multi-agent architectures through task dependencies, coordination costs, error propagation, and a worked evaluation example.
7 min read
- Planner-Executor Agents: Plans, Validation, and Replanning
Design planner-executor agents with versioned plans, validated steps, explicit acceptance conditions, and replanning that responds to changing evidence.
8 min read
- AI Agent Tool Design: Schemas, Contracts, and Error Semantics
Design reliable AI agent tools with precise schemas, bounded permissions, structured results, and error contracts that handle retries and uncertain outcomes.
7 min read
- AI Agent Memory Architecture: Working, Episodic, and Semantic Memory
Design AI agent memory with clear working state, durable facts, episodic records, retrieval boundaries, conflict resolution, expiry, and reliable deletion.
8 min read