tiny-langgraph
An open-source multi-agent workflow engine inspired by LangGraph. It compiles workflows defined in Python into C code, allowing them to run on microcontrollers with only tens of kilobytes of memory.
Timeline (last 90 days)
tiny-langgraph is a multi-agent engine inspired by LangGraph that can compile workflows written in Python into C code and run them on ultra-edge devices such as the ESP32-S3 and ESP8266.
The tiny-langgraph project has been made public on GitHub, and the author hopes to get feedback from agent-framework developers.
tiny-langgraph supports nodes and edges, multi-agent collaboration, contract-based inter-board communication, and MCP server support.
All of tiny-langgraph's workflow logic is compiled and executed locally on the device without relying on cloud infrastructure, so it can still run according to preset flows when the network is disconnected.
tiny-langgraph takes the approach of compiling to C and avoiding dynamic memory allocation and interpretation overhead, to adapt to the constraint of about 80 KB of available RAM on microcontrollers.
The topology determined at compile time in tiny-langgraph limits the ability to dynamically adjust workflows at runtime, whereas cloud frameworks can rely on interpreted execution and dynamic scheduling.
tiny-langgraph does not attempt to replace LangGraph, and the 80 KB memory ceiling dictates that it can only carry lightweight decisions.
tiny-langgraph is currently at an early stage, and the author has completed verification on the ESP32-S3 and ESP8266.
tiny-langgraph's contract-based inter-board communication allows multiple microcontrollers to each run part of a workflow and cooperate through agreed interfaces, but engineering details such as synchronization and fault tolerance have not yet been disclosed.
To bring agent workflows to extremely resource-constrained microcontrollers, taking the route of compiling to C rather than interpreted execution is necessary.
All Facts (8)
tiny-langgraph is a multi-agent engine inspired by LangGraph that can compile workflows written in Python into C code and run them on ultra-edge devices such as the ESP32-S3 and ESP8266.
50%Unverifiedtiny-langgraph supports nodes and edges, multi-agent collaboration, contract-based inter-board communication, and MCP server support.
50%UnverifiedAll of tiny-langgraph's workflow logic is compiled and executed locally on the device without relying on cloud infrastructure, so it can still run according to preset flows when the network is disconnected.
50%Unverifiedtiny-langgraph takes the approach of compiling to C and avoiding dynamic memory allocation and interpretation overhead, to adapt to the constraint of about 80 KB of available RAM on microcontrollers.
50%UnverifiedThe topology determined at compile time in tiny-langgraph limits the ability to dynamically adjust workflows at runtime, whereas cloud frameworks can rely on interpreted execution and dynamic scheduling.
50%Unverifiedtiny-langgraph does not attempt to replace LangGraph, and the 80 KB memory ceiling dictates that it can only carry lightweight decisions.
50%Unverifiedtiny-langgraph's contract-based inter-board communication allows multiple microcontrollers to each run part of a workflow and cooperate through agreed interfaces, but engineering details such as synchronization and fault tolerance have not yet been disclosed.
50%UnverifiedTo bring agent workflows to extremely resource-constrained microcontrollers, taking the route of compiling to C rather than interpreted execution is necessary.
50%