DuoMDuoM
DuoM: MCP servers, skills and rules for your agent, checked before installDocsFor makersReportTermsPrivacy
MCPSkillsStacksRulesDocs
Sign in

Ouroboros

Q00 ↗Report

Pins an acceptance spec; the verify command and expected output never enter the success contract.

Install

Add to Cursor

What this option needs

No keys or settings needed for this option.

Other ways: manual config, DuoM CLI, what runs
Manual config: ~/.cursor/mcp.json
{
  "mcpServers": {
    "ouroboros": {
      "command": "uvx",
      "args": [
        "--from",
        "ouroboros-ai[mcp]",
        "--with",
        "mcp==2.0.0",
        "ouroboros",
        "ouroboros-ai==0.51.5",
        "mcp",
        "serve",
        "--runtime",
        "claude-cli"
      ]
    }
  }
}
DuoM CLI: risk check, backup, then write (undo with npx duom@1 undo)
npx duom@1 add io.github.Q00/ouroboros --client cursor
What runs on your machine
uvx --from 'ouroboros-ai[mcp]' --with mcp==2.0.0 ouroboros ouroboros-ai==0.51.5 mcp serve --runtime claude-cli

The version is pinned to the one DuoM checked.

About

English | 한국어 | 简体中文


◯ ─────────── ◯

Ouroboros

O U R O B O R O S

◯ ─────────── ◯

It gets smarter on its own. We just hold the line.
Ask first, build second, check always: spec-first AI coding for the agents you already use.

GitHub stars PyPI Tests License GitHub Sponsors

Q00%2Fouroboros | Trendshift

Install · First steps · Works with · Learn more · Guide

Ouroboros helps your AI coding agent build the right thing. It asks you questions until the goal is clear, writes the answer down as a spec with checkable acceptance criteria, hands that spec to the coding agent you already use, and then checks the result against the spec.

Details

Category
Developer tools
Runs with
uvx
Package
PyPI ouroboros-ai
Weekly downloads
21,291
GitHub stars
6,411
Popularity
66
Last update
August 14, 2026 (4 months ago)
Version
0.51.5
License
See the repository
Identifier
io.github.Q00/ouroboros
Source
Official MCP Registry

Screen recording of the Ouroboros console in a browser. On the Chat page in Auto mode, the request Please make a todo cli tool starts an ouroboros auto run whose output streams into the chat; the tour then visits the Runs, Connect, Agents and models, Providers, Shared MCP and Health pages.

The Ouroboros console: type what you want in Chat, and it runs the interview, the spec, the build and the checks for you.

Install

# macOS / Linux / WSL 2
curl -fsSL https://raw.githubusercontent.com/Q00/ouroboros/main/scripts/install.sh | OUROBOROS_INSTALL_REF=readme bash
# Windows (PowerShell) — no Python needed; installs Git and uv for you
irm https://raw.githubusercontent.com/Q00/ouroboros/main/scripts/install.ps1 | iex

When installation finishes, the Ouroboros console opens in your browser and walks you through connecting your agent tools. Reopen it any time with ouroboros gui.

The installer finds the agent tools you already have and connects Ouroboros to them. Native Windows is experimental, and Codex CLI needs WSL 2; see platform support.

Other ways to install. These don't open the console for you; run ouroboros gui once the ouroboros command is installed.

# Claude Code plugin only (then run /ouroboros:setup inside Claude Code)
claude plugin marketplace add Q00/ouroboros && claude plugin install ouroboros@ouroboros

# pip / uv / pipx (Python 3.12+)
pip install 'ouroboros-ai[mcp,tui]' && ouroboros setup --runtime claude-cli

# Homebrew (macOS / Linux)
brew tap q00/tap && brew install ouroboros-ai && ouroboros setup

Every install path, profile and host is in Getting Started. ouroboros uninstall removes Ouroboros's configuration, MCP registrations and data directory (~/.ouroboros/). It leaves the Python package and the Claude Code plugin installed; finish with the steps in UNINSTALL.md.

First steps

Describe what you want in plain words. Four good places to start:

  • Console Chat: type a goal and pick Interview (it asks until the goal is clear) or Auto (it fills the gaps itself), then hand the spec to your agents and watch the run.
  • ooo interview "a todo CLI with due dates" in your agent: questions until the goal is clear, then a spec (a Seed).
  • ooo auto "a todo CLI with due dates": asks only what is missing, writes the spec, runs it, and checks it.
  • ooo run: builds an existing Seed and checks every acceptance criterion.

In Claude Code, run /ouroboros:setup once and finish its questions, then send your first ooo command as a separate message. From a plain terminal, ouroboros init start "..." and ouroboros auto "..." do the same without an agent host. The full command list is in Getting Started.

Ouroboros runs coding agents that can change files and run commands in your project. Read permission scope before using it on a project you don't trust.

Works with

Claude Code · Codex CLI · GitHub Copilot CLI · OpenCode · Hermes · Gemini CLI · Kiro CLI · Pi · OMP · Zcode · Goose · GJC · Antigravity CLI · Grok Build CLI · DeepSeek Harness

The installer connects the ones you have; the console's Connect page installs and connects the rest. Want to see it first? Watch the interview run on seven different hosts.

Learn more

  • Getting Started: every install path, host-by-host setup, your first workflow, and all commands.
  • Console guide: what each console page does, the shared MCP server, and starting the console at login.
  • How Ouroboros works: the loop, the agents, the ambiguity gate, the Agent OS stack, architecture, and philosophy.
  • CLI reference · Configuration · Platform support · All docs
  • Interactive guide

Most people find out they were unclear about three files into the review.
If that feels familiar, star Q00/ouroboros on GitHub so the next person it could save can find it.

Contributing

git clone https://github.com/Q00/ouroboros
cd ouroboros
uv sync --python 3.13 --all-groups
uv run --python 3.13 --no-sync pytest

Issues · Discussions · Contributing Guide

Sponsors

Ouroboros is MIT-licensed and built in the open. If it saves you rework, consider sponsoring: it funds maintenance, new runtime integrations, and sponsor-only deep-dive content.

Sponsor Q00 on GitHub

Activity

These numbers are generated from GitHub data and refreshed automatically; caching may delay updates.

Contributors Commit activity Closed pull requests Last commit

Disclaimer

The Ouroboros project and community are not affiliated with any cryptocurrency, token, memecoin, or trading community — including, but not limited to, any "ouroboros" tickers on pump.fun or other launchpads. This is an open-source developer tool. We do not issue, endorse, or hold any coins. Any token claiming association with this project is unauthorized.

Naming note. A separate, unaffiliated open-source project also uses the name "Ouroboros" — Anton Razzhigaev's self-modifying, autonomous-memory agent at github.com/razzant/ouroboros. No shared code, no relationship. This project locks a specification before executing rather than rewriting its own architecture; if you're looking for the latter, that's the other one.


"The beginning is the end, and the end is the beginning."

The serpent does not repeat -- it evolves.

MIT License

Risk signals No signals

Checked from registry metadata only; the code has not been scanned yet. No signals does not mean safe.