-
Notifications
You must be signed in to change notification settings - Fork 0
Architecture Pybind Bridge
Devrajsinh Gohil edited this page Aug 30, 2026
·
1 revision
The Python adapter communicates with the C++20 engine with zero data serialization overhead.
- Python objects (
dict,callable,router) are passed as raw CPython pointer handles (PyObject*). - Reference counts are incremented on registration (
Py_INCREF) and released on destruction (Py_XDECREF). - State dictionaries are updated in-place via CPython C-API functions (
PyDict_SetItem,PyDict_GetItem), avoiding expensive JSON or protobuf serialization during in-process execution.\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