Ouroboros
Lets your AI agent turn a vague idea into a locked spec, then build and check it through an interview, execution and evaluation loop.
6.3k stars on GitHubby Q00License MITUpdated 18 days ago
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Paste in the terminal:
claude mcp add ouroboros -- uvx --from "ouroboros-ai[mcp]" --with mcp==2.0.0 ouroboros ouroboros-ai mcp serve --runtime claude-cli
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Run an interview with me about a task management command-line tool before you write any code.
Turn my idea for a YouTube publishing automation into a clear spec.
What it is
Ouroboros is an Agent OS for AI coding that runs next to your coding agent as an MCP server. It starts with a Socratic interview to pin down what you want, saves the result as a spec, then runs the work and checks it with a staged evaluation. The grading command and expected output are kept out of the success contract handed to the agent.
What it can do
ooo setup: one-time setup inside your coding agentooo interview: start the Socratic interview for a new ideamcp__ouroboros__ouroboros_interview: run the interview turn by turn through MCP- Seed spec: lock your intent before code is written
- 3-stage automated evaluation of the result
When to use
- βΊWhen your prompts are vague and the agent keeps guessing and you keep reworking.
- βΊWhen you want the requirements locked before the agent starts coding.
- βΊWhen you want an automatic check of the result instead of reading it yourself.
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
ouroboros-helpHelps your agent explain the Ouroboros commands, what each one needs and how the spec-first workflow fits together.tutorialHelps your agent teach you Ouroboros in about five minutes by turning your own idea into a short spec step by step.spec-driven-developmentHas your agent create specifications before writing code. It's useful for organizing projects, defining scopes, and clarifying ideas before development.Frequently asked questions
Is it free and open source?
It is an open-source developer tool with a license file in the repo, and it is local-first.
Which agents does it work with?
The readme lists Claude Code, Codex CLI, OpenCode, Hermes, Gemini, Kiro, Copilot, Pi, OMP, Zcode, Goose, GJC, Antigravity and Grok.
Does it work on Windows?
There is a PowerShell installer, but the readme says native Windows is experimental and Codex CLI needs WSL 2.
Is it linked to any cryptocurrency?
No. The readme says the project is not affiliated with any token, memecoin or trading community.
Is it the same as razzant/ouroboros?
No. The readme says that is a separate project with no shared code. This one locks a spec before executing.
What do I run first?
Run ooo setup once, then ooo interview with a short description of what you want to build.
If it does not work
- βΊRun ooo setup once inside your coding agent after installing, before using the interview command.
- βΊOn Windows, use the PowerShell installer from the readme, and use WSL 2 if you need Codex CLI.
- βΊUse only one install method per agent so you do not end up with duplicate entries.
5 new skills a week. 1 minute to read.