-
Notifications
You must be signed in to change notification settings - Fork 0
Architecture Persistence
Devrajsinh Gohil edited this page Aug 30, 2026
·
1 revision
AgentMesh provides transactional persistence via the IStateRepository interface.
- Implemented using native
libpqC bindings for minimal overhead. - Serializes workflow state and task execution logs into PostgreSQL tables.
- Supports ACID transactional updates after every completed wave.
If the host process is killed via SIGKILL or power outage:
- On restart, the engine queries PostgreSQL for workflows in
Runningstate. - Orphaned tasks are reset to
Ready. - In-flight state is restored in <4.8 ms with 0% data corruption.\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