ouroboros README

项目的 README,来自 github.com/Q00/ouroboros。合并为一个 markdown 文件: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)

正在搜索数据库…

这是什么?Ouroboros 是一个面向 AI 编程的“Agent OS”,是一个本地优先的运行时层,它把不确定的编程智能体工作变成可回放、可观测、受策略约束的工作流(访谈、结晶、执行、评估、进化),而不是临时凑合地写提示词。
这是独立应用,还是能接入我现有的编程智能体?它是一个 CLI 加 MCP 服务器,接入你已经在用的编程智能体,比如 Claude Code、Codex CLI、Gemini CLI、OpenCode、Copilot、Kiro 等,而不是取代它们。
我该怎么把它跑起来?用 'pip install ouroboros-ai[mcp,tui]' 安装(或者在 macOS/Linux 上用 Homebrew,或者用 Windows 安装程序),然后在编程智能体中运行一次 'ooo setup',再运行 'ooo interview' 启动苏格拉底式访谈工作流。
它支持哪些编程智能体和运行时?支持 14 种运行时:Claude Code、Codex CLI、GitHub Copilot CLI、OpenCode、Hermes、Gemini、Kiro CLI、Pi CLI、OMP CLI、Zcode、Goose、GJC、Antigravity CLI 和 Grok Build CLI;另外还需要 Python >= 3.12,以及用于 MCP 注册的 uv/uvx。
原生 Windows 支持现在能直接用吗?原生 Windows 支持仍处于实验阶段;具体来说,即使是在 Windows 上安装,Codex CLI 运行时也需要 WSL 2。
苏格拉底式访谈这一步是做什么用的?在写任何代码之前,'ooo interview' 会提出澄清问题,并追踪一个歧义分数,把模糊的需求变成锁定的规格说明,而不是靠猜测去实现。
任务执行之后会发生什么?一个三阶段的自动化评估关卡会把结果与一份隐藏的成功契约进行对照检查,这份契约从不向智能体展示;失败的结果则会进入一个有预算限制的进化循环,用来改进之后的各代。
为什么 DeepSeek 有专门的集成?Ouroboros 可以通过 '--llm-backend dsh' 把自己的访谈、Seed 和 QA 流水线指向 DeepSeek 的模型,也可以作为 dsh 插件直接在 DeepSeek Harness 聊天中运行,使用相同的 'ooo interview' 和 'ooo auto' 工具。
这个项目和其他使用 Ouroboros 名称的项目是什么关系?它与任何名为“ouroboros”的加密代币无关,也与 Anton Razzhigaev 开发的另一个同名开源项目无关;README 中明确说明两者没有共享代码,也没有任何关系。
作者
Q00
大小
84.7 MB
星标
6.4K
时长
10个月
提交 · 90 天