Agentic Architectural Patterns

Interactive playgrounds and demos teaching multi-agent system design — with real code, common mistakes, and pattern comparisons from the book.

Source: "Agentic Architectural Patterns for Building Multi-Agent Systems" by Dr. Ali Arsanjani & Juan Pablo Bustos

Interactive Playgrounds

Educational — real code + book quotes + mistakes
Playground 1

A2A Protocol & Agent Cards

Learn how MCP (vertical: agent-to-tools) and A2A (horizontal: agent-to-agent) work together. Explore agent cards, agent servers, SSE streaming, and discovery. Includes OpenClaw as a real-world example.

MCP vs A2A Agent Cards Agent Server Discovery OpenClaw
Playground 2

Agent Hierarchy & Capability Spectrum

Build agent hierarchies from Tools to AgentTools to Sub-agents to Orchestrators. See how agents are defined, instructed, and spawned. Drag-and-drop composition with execution simulation and callback tracing.

LLMAgent Class AgentTools Orchestrators Callbacks God Agent Anti-pattern
Playground 3

RAG Pipeline — From Naive to Agentic

Step through retrieval-augmented generation one stage at a time. Compare No RAG vs Basic RAG vs Agentic RAG using the book's ProWidget E404 example. See embeddings, retrieved chunks, and assembled prompts.

Retrieve-Augment-Generate Chunking Similarity Search Hallucination Prevention Citations
Playground 4

Supervisor vs Swarm — Side by Side

Run the same task through both architectures simultaneously. Inject failures to see SPOF vs resilience. Toggle checkpointing and structured output. Includes the book's actual LoanOrchestrator and Swarm code.

Supervisor Tree Swarm Task Board Hybrid Model Fault Injection Checkpointing
Playground 5

AutoFoundry — Patterns in Production

See how NSAF's 5-stage autonomous app factory maps to the book's patterns: Tool Use, Human-in-the-Loop, Supervisor Architecture, Instruction Fidelity Auditing, and Production Readiness. Inject failures and see why the PoC Trap is dangerous.

NSAF Pattern Mapping PoC Trap QA Gates Temperature Tiers Rollback

Visual Demos

Animated simulations
Demo 1

OpenClaw Gateway

Multi-channel A2A gateway with WebSocket routing, message flow animation, and tool approval workflow.

WebSocket Multi-Channel Tool Approval
Demo 2

Agent Task Board

Shared task board with self-selecting agents, handoff chain visualization, and speed controls.

Task Board Self-Selection Handoff
Demo 3

RAG Simulator

Chat interface comparing RAG-enhanced vs naive responses with retrieval visualization.

RAG Vector Search Comparison
Demo 4

Supervisor Swarm

Loan approval supervision tree with fault injection, recovery animation, and conflict resolution.

Supervisor Fault Recovery Conflict
Demo 5

AutoFoundry

NSAF-style autonomous app factory with idea generation, build queue, and deployment dashboard.

Autonomous Factory Multi-Provider CI/CD