# Ouroboros [Health: Active]

**Category:** 🤖 Coding Agents  
**Repository:** https://github.com/Q00/ouroboros  
**GitHub Stars:** 6385  
**Views:** 3  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/ouroboros

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

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/Q00/ouroboros), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
curl -fsSL https://raw.githubusercontent.com/Q00/ouroboros/main/scripts/install.sh | OUROBOROS_INSTALL_REF=readme-hero bash
```

2. Install:

```sh
irm https://raw.githubusercontent.com/Q00/ouroboros/main/scripts/install.ps1 | iex
```

3. Add to Codex:

```sh
codex plugin marketplace add Q00/ouroboros
```

4. Install:

```sh
pip install 'ouroboros-ai[mcp,tui]' && ouroboros setup --runtime claude-cli  # recommended MCP v2 default
```

5. Install:

```sh
pip install 'ouroboros-ai[claude]'      # Claude Agent SDK profile (MCP 1.x, isolated)
```

6. Install:

```sh
pip install 'ouroboros-ai[claude-cli]'  # dependency-free Claude CLI worker
```

## Documentation

## What Ouroboros does

Ouroboros is the OS layer in a three-part stack for AI coding workflows. It supplies the core primitives—Seed, Ledger, Runtime, and MCP—and can be used directly with supported coding-agent CLIs. The system turns an open-ended request into a structured workflow: interview, crystallize, execute, evaluate, and evolve.

The Seed captures the agreed task specification before work begins. Actions are bound to that Seed and recorded as replayable events in the Ledger, regardless of which language model performs the work. This separates the execution contract from the particular agent or prompt used for a run.

A notable design boundary keeps the verification command and expected result out of the success contract. The acceptance specification is pinned first, while verification remains part of the surrounding workflow rather than becoming an instruction the agent can optimize against.

## How it works

The workflow begins with an interview intended to expose ambiguity in a request. `ouroboros init start` launches the terminal-side task flow, and the MCP interview tool can drive the same process from a compatible host. Advisory lanes can run before the interview is submitted, with their results fed back into the process. The interface reports an ambiguity score as part of this clarification stage.

After the request is crystallized into a Seed, the runtime executes it and records events in the Ledger. The repository describes separate runs and hosts as intentional: the execution engine is shared, while tasks and prompts can differ. Supported environments shown in the project include Claude Code, Codex CLI, Gemini, Hermes, Kiro, Copilot, Pi, OMP, Zcode, Goose, GJC, Antigravity, and Grok.

Ouroboros can stand alone with a supported CLI. The companion Ourocode project provides a terminal shell, while Ouroboros plugins add domain workflows such as PR operations, Jira synchronization, incident handling, and releases; those are separate layers rather than core capabilities of this repository.

## Setup and configuration

On macOS, Linux, or WSL 2, the project provides a shell installer:

```bash
curl -fsSL https://raw.githubusercontent.com/Q00/ouroboros/main/scripts/install.sh | OUROBOROS_INSTALL_REF=readme-hero bash
```

On Windows, the PowerShell installer is available with:

```powershell
irm https://raw.githubusercontent.com/Q00/ouroboros/main/scripts/install.ps1 | iex
```

The Windows installer handles Git and uv installation. After installation, run `ooo setup` once inside the coding agent. The terminal workflow can then be started with `ouroboros init start`.

## Tools and capabilities

- Conducts an interactive interview to clarify a coding request.
- Reports ambiguity during task clarification.
- Runs advisory lanes and accepts their results between interview rounds.
- Creates a Seed that fixes the task specification before execution.
- Records Seed-bound actions as replayable Ledger events.
- Exposes the workflow through MCP for compatible agent hosts.
- Supports multiple coding-agent runtimes through an adapter layer.

## Limitations and notes

Ouroboros is the core OS layer, not the unified terminal interface or the domain-plugin repository. Ourocode supplies the terminal shell, and Ouroboros plugins supply installable application workflows with scoped capabilities. Those projects may be added separately depending on the workflow.

The project is local-first and designed around separate runs and hosts. Its documented workflow depends on a compatible coding-agent CLI or host, and the examples show different clients invoking the interview and advisory stages through MCP. The repository is licensed under the MIT license.

_Full upstream README: https://allmcps.com/mcp/ouroboros/readme_

