█

AI/TLDR

Buy me a coffee
Buy me a coffee

Ouroboros

A self-modifying, general-purpose AI agent with persistent identity and memory, shipped as a desktop app and headless CLI

Assistants & ChatbotsOpen source
Latest
v7.5.1
Updated
26 Sep 2026
Language
Python
License
MIT

What's new

v7.5.126 Sep 2026

Fix release that preserves tasks through budget pauses, reviewer answers through follow-ups and unedited memory with its source history, alongside Presence recovery, Claudexor 3.16.0 live messaging and Docker/TLS improvements.

IN SHORT

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.

Updated Markdown version ↗

Overview

The Ouroboros desktop app with a project room titled 3D Robot City Demolition open: Ouroboros reports a visual check of a game it built and served locally, above a screenshot of a voxel robot smashing through neon city blocks.
A project room where Ouroboros built a 3D game, checked it with a screenshot and served it locally.Ouroboros README ↗

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.

A line chart of lines of code and the sizes of BIBLE.md, SYSTEM.md, identity.md, scratchpad and memory files across Ouroboros releases from v3.0.0 to the v6.85 line, with code rising past 300,000 lines.
Code, prompt and memory growth across Ouroboros releases as the agent evolved itself.Ouroboros README ↗

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
The Ouroboros chat showing a nested tree of subagent tasks such as planning scouts, content builders, engine builders and design builders, each marked Done or Issue with note counts and child tasks.
A live subagent swarm: nested planner, builder and researcher tasks with their outcomes.Ouroboros README ↗
  • 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).

bashbash
# Debian / Ubuntu / Astra Linux
sudo apt install ./ouroboros_*_amd64.deb

# Fedora / RHEL
sudo dnf install ./ouroboros-*.x86_64.rpm

Or 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.

bashbash
uv tool install "git+https://github.com/razzant/ouroboros.git@ouroboros"
ouroboros --help

Run 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.

bashbash
ouroboros status
ouroboros run --start "2+2?"
ouroboros tasks list

Point 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.

bashbash
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).

bashbash
ouroboros schedule add --name nightly-review --cron "0 2 * * *" "Run a maintenance review"
ouroboros schedule list

Commands and code are distilled from the project's own documentation — always check the official repo for the latest.

When to use it

The Skills screen of the Ouroboros desktop app with the OuroborosHub tab selected, listing official skills such as a2a, AgentRQ Bridge, anime_studio and backlog_manager, each with an Install button.
OuroborosHub inside the app: official skills are security-reviewed before they can be enabled.Ouroboros README ↗
  • 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.

ToolStarsWhat it does
OpenClaw★ 395kOpenClaw 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★ 267kA 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.1kA 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.2kA 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.8kAn 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★ 43kA 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.9kAn 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.7kA self-modifying, general-purpose AI agent with persistent identity and memory, shipped as a desktop app and headless CLI