ouroboros README

The project's README from github.com/Q00/ouroboros. As one markdown file: README.md.

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.

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:

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

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

ouroboros (Q00/ouroboros)

Searching Database…

What is this?Ouroboros is an 'Agent OS' for AI coding — a local-first runtime layer that turns non-deterministic coding-agent work into a replayable, observable, policy-bound workflow (interview, crystallize, execute, evaluate, evolve) instead of ad-hoc prompting.
Is this a standalone app or does it plug into my existing coding agent?It's a CLI plus MCP server that plugs into coding agents you already use — Claude Code, Codex CLI, Gemini CLI, OpenCode, Copilot, Kiro and more — rather than replacing them.
How do I get it running?Install with 'pip install ouroboros-ai[mcp,tui]' (or via Homebrew on macOS/Linux, or the Windows installer), then run 'ooo setup' once inside your coding agent, followed by 'ooo interview' to start the Socratic interview workflow.
Which coding agents and runtimes does it support?14 runtimes are supported: Claude Code, Codex CLI, GitHub Copilot CLI, OpenCode, Hermes, Gemini, Kiro CLI, Pi CLI, OMP CLI, Zcode, Goose, GJC, Antigravity CLI, and Grok Build CLI; it also needs Python >= 3.12 and uv/uvx for MCP registration.
Is native Windows support ready to use right now?Native Windows support is still experimental, and the Codex CLI runtime specifically requires WSL 2 even on a Windows install.
What is the Socratic interview step for?Before any code is written, 'ooo interview' asks clarifying questions and tracks an ambiguity score, turning a vague request into a locked spec instead of a guessed-at implementation.
What happens after a task is executed?A 3-stage automated evaluation gate checks the result against a hidden success contract that is never shown to the agent, and failures feed into a budgeted evolution loop that improves future generations.
Why does DeepSeek get special integration?Ouroboros can point its own interview/Seed/QA pipeline at DeepSeek's models via '--llm-backend dsh', or run natively inside DeepSeek Harness chat as a dsh plugin, using the same 'ooo interview' and 'ooo auto' tools.
How is this related to other projects using the Ouroboros name?It's unrelated to any 'ouroboros' crypto token and also unrelated to a different open-source project of the same name by Anton Razzhigaev — the README explicitly notes no shared code or relationship.
Creator
Q00
Size
84.7 MB
Stars
6.4K
Age
10mo
Commits · 90 Days