Rath-Team/OpenRath
An open-source, PyTorch-like runtime for dynamic multi-agent and multi-session workflows.
What it solves
As agent systems scale from single assistants to large clusters, managing conversation history, tool execution environments, and long-term memory becomes difficult. OpenRath addresses the complexity of managing multiple agents collaborating across branching sessions, ensuring that state, execution, and memory remain decoupled yet traceable.
How it works
OpenRath uses a "Session-first" architecture where a Session object acts as the central dataflow, carrying conversation state, lineage, and tool results. It treats agents as reusable transformation layers (similar to nn.Linear in PyTorch) that map one session state to another. Workflows compose these agents into larger systems, while a Selector allows for LLM-backed dynamic routing between workflows. For production, it provides a durable runtime with checkpoints, leases, and an effect ledger to ensure resilient execution.
Who it’s for
It is designed for developers building production-grade multi-agent systems that require complex orchestration, durable execution (surviving process restarts), and sophisticated memory management across many branching conversation paths.
Highlights
- Session-centric design: Uses structured session objects to handle branching, merging, and lineage instead of simple message strings.
- Sandboxed execution: Decouples tool execution from the agent loop, allowing tools to run in local processes or containerized environments.
- Durable runtime: Supports production deployment with PostgreSQL/Redis/S3 backends, checkpoints, and human-in-the-loop interrupts.
- Modular components: Features specialized layers for memory, tool abstraction, and workflow composition.
Related
- Project
- Project
- Project
- Project
- Project