AICassindra / Agentic systems

Agentic Systems: Architecture and Design Patterns

Fifteen patterns, forty-five connected guides: design the system, build its working path, and handle failure and scale.

By Sandeep Belgavi · 23 October 2026 · Architecture and design patterns

Build an incident-response assistant by making one system contract explicit at a time. This collection contains 15 design patterns, 45 articles, and 15 runnable Python examples. Every pattern has a design article explaining requirements and tradeoffs, a build article tied to the actual source, and an operate article covering failure drills, security, observability, cost, and acceptance.

Read patterns 01–05 to choose execution and coordination boundaries. Continue through 06–10 for events, durable state, scoped memory, approval, and delegated tool authority. Patterns 11–15 connect repeat-safe effects, tenant isolation, bounded model routing, controlled releases, and regression discovery. Follow a complete three-article pattern when solving a specific problem, or use the numbered order to assemble the broader architecture.

The downloadable examples use Python 3.11 or later and the standard library. They are deterministic local exercises with synthetic data and explicit adapter seams. They do not call a model, authenticate a real user, deploy cloud resources, or perform production remediation. Storage and failure behavior vary by pattern; each walkthrough states its exact boundary. Windows execution was checked. macOS commands are usage guidance and have not been verified on a physical Mac.

Architecture and sequence diagrams are original conceptual illustrations by Sandeep Belgavi. Build diagrams map the local teaching behavior; design and operating diagrams also describe proposed extensions. A passing fixture suite supports the illustrated contract, not a claim that the complete incident platform is production-ready. All workload numbers, route costs, and release thresholds are explicitly illustrative.

Start with the Evals collection for evidence, coverage, precision, and release-measurement fundamentals. The Harness Engineering collection provides complementary context, and the labs collection offers further interactive practice. Source references accompany the specific external claims; the incident scenarios, code, and architectural recommendations are original educational material.

Download all 15 Python examples and their tests · Run instructions and scope · Evals prerequisites

01 / Execution and control

02 / Coordination

03 / State and knowledge

04 / Trust and effects

05 / Production operations