Skip to main content

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:

  • 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

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

Metadata

Release files for ouroboros-ai 0.61.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ouroboros-ai 0.61.2
File Size Uploaded Provenance Actions
ouroboros_ai-0.61.2.tar.gz 8.8 MB Without provenance Details for ouroboros_ai-0.61.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ouroboros-ai 0.61.2
File Interpreter ABI Platform Actions
ouroboros_ai-0.61.2-py3-none-any.whl Python 3 none any Details for ouroboros_ai-0.61.2-py3-none-any.whl

Total release size: 13.5 MB

Release files / ouroboros_ai-0.61.2.tar.gz

Download URL ouroboros_ai-0.61.2.tar.gz
Size 8.8 MB
Tags Source
SHA-256 checksum
How to use checksums
8181361df9de657e055ed6bb43c4243731813cebc67afa39de3dcac0d39dd772
BLAKE2b-256 checksum
How to use checksums
f4db771be76072b530883c3905bb6153f560bf2500b6b2b2203ad943880b7f17
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / ouroboros_ai-0.61.2-py3-none-any.whl

Download URL ouroboros_ai-0.61.2-py3-none-any.whl
Size 4.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
4458d4d2e19fff76cb9fba8df814afb31649f847dc6e1475f3d1d180d8cfd0f3
BLAKE2b-256 checksum
How to use checksums
c2d7d507820aeb640e67e0640d4e6c6fe4be6e6ae69a82f50ec7112a0ee0769c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for ouroboros-ai 0.61.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.61.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page