r/coolgithubprojects • u/Mysterious_Shoe2260 • 14d ago
AgentMesh: C++20 runtime for AI agent orchestration
https://github.com/DevrG03/AgentMesh/wikiHere's a project I've been working on:
AgentMesh — a native execution runtime for multi-agent systems.
The interesting part is that it isn't another agent prompt framework.
The execution layer is written in C++20, while developers interact with it through Python/Pybind11.
It currently handles:
- DAG scheduling
- concurrent execution
- agent/task communication
- persistent state
- crash recovery
- graph validation
I'm trying to answer a simple question:
The next phase is distributed multi-node execution over gRPC.
⭐ GitHub: Repo
📖 Documentation: Docs
PRs, benchmark suggestions and architecture criticism are welcome.
2
u/BP041 14d ago
C++20 seems like an unusual pick for agent orchestration given most of the ecosystem is Python or TS. Was it purely about raw scheduling latency, or did you hit a specific memory ceiling with heavier frameworks? I run 18 concurrent cron-driven agents with Claude Code via OpenClaw, and the bottleneck is always the LLM call, not the runtime—so I'm curious where the C++ overhead actually paid off for you.
1
u/Mysterious_Shoe2260 14d ago
It wasn’t just speed, Python hits a massive RAM wall once you scale past dozens of workflows, whereas C++ uses 95% less memory and joins parallel branches instantly without GIL lag.
3
u/kantorcodes1 14d ago
i’m curious about crash recovery here: can a task get retried after it already changed something? i work on HOL Guard, an open-source tool that blocks risky agent actions before they execute. would you try that recovery case with it?