Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
An open-source, PyTorch-like runtime for dynamic multi-agent and multi-session workflows.
| Date | Stars |
|---|---|
| 2026-07-24 | 1100 |
| 2026-07-25 | 1100 |
| 2026-07-28 | 1100 |
| 2026-07-30 | 1100 |
| 2026-07-31 | 1096 |
| 2026-08-06 | 1096 |
Today
— stars today
This week
-4 stars this week
This month
— stars this month
Momentum
35.0
growth rate 0.00%/day
# OpenRath <p align="center"> <img src="assets/readme/logos/openrath-logo-white.png" alt="OpenRath logo" width="860" /> </p> <p align="center"> <a href="https://pypi.org/project/openrath/"><img src="https://img.shields.io/pypi/v/openrath.svg" alt="PyPI"></a> <a href="https://pypi.org/project/openrath/"><img src="https://img.shields.io/pypi/pyversions/openrath.svg" alt="Python"></a> <a href="https://github.com/Rath-Team/OpenRath/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-BSD--3--Clause-blue.svg" alt="License"></a> <a href="https://docs.openrath.com"><img src="https://img.shields.io/badge/docs-openrath.com-blue" alt="Docs"></a> <a href="https://arxiv.org/abs/2606.19409"><img src="https://img.shields.io/badge/arXiv-2606.19409-b31b1b.svg?logo=arxiv&logoColor=white" alt="arXiv"></a> </p> <div align="center"> English | [简体中文](README_zh.md) </div> --- **OpenRath is a PyTorch-like multi-agent & multi-session framework.** It turns agent runtime state into explicit, composable Python objects: - **Session** carries conversation state and inter-agent collaboration lineage. - **Sandbox** decides where tools actually run. - **Memory** persists agent memory state across runs. - **Tool** is the operator-like callable surface exposed to the model. - **Agent** is a reusable, composable session transformation layer. - **Workflow** composes multiple agents and workflows into larger systems. - **Selector** routes between self-describing workflows at runtime, so `if` / `while` control flow stays plain Python. --- ## OpenRath in the PyTorch Lens <p align="center"> <img src="assets/readme/diagrams/pytorch-lens.png" alt="OpenRath in the PyTorch Lens" width="860" /> </p> | PyTorch idea | OpenRath idea | What it means | | --- | --- | --- | | `Tensor` | `Session` | The flowing runtime value: ordered chunks, placement, lineage, and usage. | | `Device` | `Sandbox` / `Backend` | The execution environment where tools run: local process, OpenSandbox, or another backend. | | `Parameter` | `Memory` | Persistent state bound to an agent or store, recalled and committed across runs. | | `Function` | `Tool` | A callable operation with model-visible schema and runtime behavior. | | `nn.Linear` | `Agent` | A reusable layer that maps one session to another using a prompt, provider, tools, and memory. | | `nn.Module` | `Workflow` | A composable container for agents, tools, session transforms, and nested workflows. | | control flow | `Selector` | An LLM-backed router that picks the next workflow at runtime, enabling dynamic `if` / `while` over agents. | Most agent frameworks begin with an agent loop. OpenRath begins with **Session**. That difference matters when one application needs multiple agents, multiple branches, durable memory, sandboxed execution, and traceable lineage at the same time. OpenRath is designed for this: many agents collaborating across many branchable sessions, while still tracing every role, workspace, memory write, and final output. <p align="center"> <img src="assets/readme/diagrams/paradigm-map.png" alt="Multi-Agent Multi-Session Map" width="860" /> </p> | Paradigm | Typical shape | Example | | --- | --- | --- | | Single agent, single session | One model over one conversation | ChatGPT-style chat | | Multi-agent, single session | Several roles read and write one shared state | Sub-agent-style multi-agent collaboration | | Single agent, multi-session | One agent manages many session branches | OpenClaw-style session fanout | | Multi-agent, multi-session | Many agents share many sessions and collaborate or evolve through Session | **OpenRath** | --- ## Why the Multi-Agent-Multi-Session Paradigm An agent is a transformation layer on Session, so what really needs to be forked, merged, reused, and traced is the Session dataflow—not a separate message history maintained by each agent. <p align="center"> <img src="assets/readme/diagrams/multi-agent-multi-session.png" alt="Why Multi-Agen
Excerpt of 16,370 characters
Read on GitHub181
Guian Fang · National University of Singapore · Singapore
28
24
5
3
3
2
1
Aarish Alam · ScaledFocus · India
1
1
1
1
Would you bet a product on this? Bounded 0–100 and slow moving.
matched fp:4c6a5407737e3b6b, topic:ai-agents, topic:agent-framework, topic:multi-agent