Rui
Rui (cotton in Hindi) is an agent runtime built for memory efficiency, able to orchestrate 100 agents in 2.5 MB of RAM. Sessions share a host rather than each being a process: agents are state in a DB and the host handles active work through a shared event loop.
What it addresses
Memory is getting expensive and machines end up using swap; we cannot be wasting hundreds of MBs of RAM for an orchestrator (AKA the harness) of LLMs and tools.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
Rui
Rui (cotton in Hindi) is an agent runtime built for memory efficiency, able to orchestrate 100 agents in 2.5 MB of RAM. Sessions share a host rather than each being a process: agents are state in a DB and the host handles active work through a shared event loop.
Problem: Memory is getting expensive and machines end up using swap; we cannot be wasting hundreds of MBs of RAM for an orchestrator (AKA the harness) of LLMs and tools.
Posted by @divyanshgolyan · Original source ↗
Story title · @divyanshgolyan · · Source ↗
Show HN: Rui, orchestrating 100 agents in 2.5 MB of RAM
Submitted URL · @divyanshgolyan · · Source ↗
https://github.com/DivyanshGolyan/rui
Source text · @divyanshgolyan · · Source ↗
Hi HN, I've built Rui (cotton in hindi), an agent runtime built for memory efficiency.
Source text · @divyanshgolyan · · Source ↗
The main design choice is that sessions share a host rather than each being a process. Agents are state in DB and the host handles the active work through a share event loop.
Source text · @divyanshgolyan · · Source ↗
Memory is getting expensive and my machine is always using swap. We cannot be wasting hundreds of MBs of RAM for an orchestrator (AKA the harness) of LLMs and tools.
Source text · @divyanshgolyan · · Source ↗
More information on the architecture and measurement methodology is at https://divyanshgolyan.com/posts/hundred-agents/