Favicon of OpenRath

OpenRath

An open-source Python AI agent runtime with branchable sessions, local tool execution and persistent memory under the BSD-3-Clause license.

Screenshot of OpenRath website

OpenRath is a Python runtime for developers building multi-agent workflows that need an inspectable record of their work. It keeps context and evidence together so engineering and research teams can trace how a result was produced.

  • Session branches: Split work into separate paths, merge compatible branches and compare their histories, including which agents, tool calls and workspaces contributed to a result.
  • Reusable workflows: Combine agents and nested workflows, with dynamic routing and control flow expressed in Python.
  • Tool execution: Run file, shell and code tools locally or through OpenSandbox, and connect custom Python tools or stdio MCP tools.
  • Persistent memory: Carry facts across runs using the included local store, which can retrieve relevant entries without an LLM and supports embeddings through a configured provider.
  • Resumable runs: Preserve execution events and checkpoints across process or worker restarts, with retries, cancellation and deadlines for longer tasks.

OpenRath is open source under BSD-3-Clause. Local tool execution runs on your machine, and the included memory backend stores data there. OpenViking is an optional external memory service; embedding support separately requires a configured embedding provider. The production execution layer uses PostgreSQL, Redis and S3-compatible storage.

Similar to OpenRath