What is Ouroboros?
Ouroboros is an open-source, general-purpose AI agent built around continuity: its identity, durable memory, dialogue history and version history carry across tasks and restarts as one ongoing record. It sits in the Assistants & Chatbots category of the Agents & Automation tools and is open-source, written in Python and licensed MIT.
Overview

Ouroboros is an open-source, general-purpose AI agent built around continuity: its identity, durable memory, dialogue history and version history carry across tasks and restarts as one ongoing record. It runs as a native desktop app for macOS, Windows and Linux or through a headless CLI, and keeps its repository, memory, history and interface on your machine, while model inference goes to remote provider APIs you configure or to a local GGUF model.

What sets it apart is that the agent can change the implementation it runs on — application code, architecture, prompts, tools and dependencies. Evolution campaigns turn chosen improvements into reviewed changes that land in its own Git history, with protected surfaces, review evidence and restart checks keeping each self-change traceable; a constitution file, BIBLE.md, defines its identity and boundaries. Background consciousness lets it reflect and prepare between requests, and runtime commands such as /evolve, /review, /bg and /panic control those loops.
For everyday work it coordinates a live swarm of specialist subagents, keeps long-running efforts in project rooms with their own folders, journals and conversations, and can operate on external projects in a separate workspace that exports reviewable patches. It bundles Claudexor to drive existing Codex, Claude Code or Cursor subscriptions for delegated coding and review, and grows through reviewed skills, MCP tools and widgets from OuroborosHub. The authors describe the system and its self-reported benchmark campaigns in an arXiv technical report. It is written in Python and released under the MIT License.
What it does
- Persistent identity, memory, dialogue and version history that continue across tasks and restarts

- Reviewed self-modification: evolution campaigns change its own code, prompts, tools and dependencies through Git-tracked, reviewed commits
- A live swarm of specialist subagents that work in parallel and return findings to a shared task tree
- Project rooms and external Git workspaces, with patch and JSON result export for scripts, CI or other agents
- Remote provider APIs or local GGUF models, plus Codex, Claude Code and Cursor subscriptions via the bundled Claudexor engine
- Desktop app and gateway-backed CLI exposing the same tasks, logs, schedules, skills and evolution controls
Getting started
Most people should use a packaged download from the GitHub releases page — no Python or uv needed. The headless CLI is for servers, scripts and other agents. Either way, you need at least one remote provider API key or a local GGUF model; the first-run wizard walks through model access, review policy and budget.
Install the desktop app
Download the .dmg (macOS 12+ on Apple silicon), the Windows x64 .zip, or a Linux package from the releases page. On Debian/Ubuntu or Fedora/RHEL, install the package with your package manager; other distributions can run the AppImage (Git must be installed).
# Debian / Ubuntu / Astra Linux
sudo apt install ./ouroboros_*_amd64.deb
# Fedora / RHEL
sudo dnf install ./ouroboros-*.x86_64.rpmOr install the headless CLI with uv
Builds Ouroboros from the contribution branch into an isolated tool environment that exposes the ouroboros and ouroboros-web commands.
uv tool install "git+https://github.com/razzant/ouroboros.git@ouroboros"
ouroboros --helpRun a task
The CLI attaches to the local runtime and starts one when --start is passed. From a source checkout, `ouroboros server` serves the web UI on http://127.0.0.1:8765.
ouroboros status
ouroboros run --start "2+2?"
ouroboros tasks listPoint it at an external project
Work on another repository without touching Ouroboros's own, and export the result as a reviewable patch plus JSON — the same call works from a script, CI job or another agent.
ouroboros run --start \
--workspace /path/to/project \
--memory-mode forked \
--patch-out result.patch \
--result-json-out result.json \
"Investigate the task, act, and verify the result"Schedule recurring work
Cron-style schedules run tasks unattended; the server binds to 127.0.0.1 by default, and non-local binds need OUROBOROS_NETWORK_PASSWORD (see docs/DEPLOYMENT.md).
ouroboros schedule add --name nightly-review --cron "0 2 * * *" "Run a maintenance review"
ouroboros schedule listCommands and code are distilled from the project's own documentation — always check the official repo for the latest.
When to use it

- Keep one long-lived personal agent whose memory and context survive across sessions and restarts
- Hand a multi-part build to a swarm of specialist subagents and follow every branch of the task tree
- Delegate fixes on an external repository from CI or another agent and review the exported patch
- Study or experiment with an agent that evolves its own code under Git review and explicit protected boundaries
How Ouroboros compares
Ouroboros alongside other open-source assistants & chatbots tools AI/TLDR tracks, ranked by GitHub stars.
| Tool | Stars | What it does |
|---|---|---|
| OpenClaw | ★ 395k | OpenClaw is a self-hosted personal AI assistant that answers you on WhatsApp, Telegram, Slack, Discord, and many other channels, with voice and a live visual canvas. |
| Hermes Agent | ★ 267k | A self-improving personal AI agent from Nous Research that builds skills from experience, remembers across sessions, and reaches you on Telegram, Discord, Slack, and more. |
| Odysseus | ★ 96.1k | A self-hosted AI workspace that puts chat, agents, deep research, documents, email, notes, tasks and calendar behind one Docker Compose stack, over local or API models. |
| CowAgent | ★ 48.2k | A self-hosted assistant that plans and executes tasks with built-in file, terminal, browser and search tools, and answers across a web console plus a dozen messaging platforms. |
| AstrBot | ★ 47.8k | An all-in-one agent chatbot platform that puts LLM conversations, tools, knowledge bases and a plugin marketplace inside messaging apps like Telegram, Slack, Discord, QQ and Feishu. |
| OpenHuman | ★ 43k | A local-first desktop personal AI for macOS, Windows and Linux that keeps a compressed memory tree on your machine and orchestrates checkpointed research and automation workflows. |
| MindsHub | ★ 39.9k | An agent workspace for knowledge work and software development that runs swappable open-source agent harnesses against your choice of frontier or open models. |
| Ouroboros | ★ 1.7k | A self-modifying, general-purpose AI agent with persistent identity and memory, shipped as a desktop app and headless CLI |
