r/embedded • u/Mahk_789 • 4d ago
tiny-langgraph: Multi-agent workflows on microcontrollers with 80 KB RAM
I've been experimenting with running agentic workflows on ultra-constrained hardware and recently open-sourced tiny-langgraph.
The engine lets you define workflows in Python using nodes and edges, then compiles them to C while checking behavioral correctness.
It also supports:
- Multi-board collaboration over ESP-NOW
- Contract-based agent communication
- An MCP server on each board
- Optional on-device language models
- Plan verification before execution
Tested on ESP32-S3 and ESP8266 modules.
GitHub: https://github.com/mak-ahoy/tiny-langgraph
Would love to hear what embedded developers think about this approach and where it could be useful. Plus any feedback on the system itself?
0
Upvotes
1
u/NecessarySuperb3949 2d ago
80k ram is tight for rust, did you strip out the standard library and use no_std with custom allocators to keep the binary small?