-
Notifications
You must be signed in to change notification settings - Fork 0
Architecture SOLID Design
Devrajsinh Gohil edited this page Aug 30, 2026
·
1 revision
AgentMesh was architected from day one according to SOLID software engineering principles:
-
WorkflowGraph: Only responsible for topological graph representation. -
Scheduler: Only responsible for dependency resolution and execution orchestration. -
PriorityReadyQueue: Only responsible for ordered task queuing.
- Pluggable state backends (
IStateRepository), dispatchers (ITaskDispatcher), and load balancers (ILoadBalancer).
- Any implementation of
IStateRepository(RAM, PostgreSQL) satisfies all persistence invariants without side effects.
- Interfaces are minimal, cohesive, and decoupled.
- High-level orchestration depends exclusively on abstract interfaces. Concrete details (network, databases) are injected via constructor dependency injection.\n
Getting Started
How-To Guides
- Compile a Graph
- Annotated Reducers
- Parallel Fanout
- Send() Map-Reduce
- Command() Routing
- Nested Subgraphs
- Async & Streaming
- Checkpointing & State
- Financial Swarm Example
Architecture
- System Overview
- C++ Engine Internals
- O(1) Scheduler
- Dual-Tier Graph
- Persistence & WAL
- Zero-Copy Pybind Bridge
- SOLID Design Principles
API Reference
Benchmarks
Contributing