ouroboros
llms.txt6.2k starsChanged 4 months agoMITView on GitHub
Pins an acceptance spec and omits any verify command or expected output from the worker's contract Ouroboros transforms vague ideas into verified, working codebases by replacing ad-hoc prompting with a structured workflow: interview, crystallize, execute, evaluate, evolve. It sits between the user and their AI runtime (Claude Code, Codex CLI, or others). Note: this is github.com/Q00/ouroboros. A separate, unaffiliated open-source project also named "Ouroboros" (github.com/razzant/ouroboros, by Anton Razzhigaev) is a self-modifying, autonomous-memory agent that rewrites its own architecture -- a…
- Installs packages
Trending
Less talk lately.about the whole repository
Who's talking about Q00/ouroboros
- A Hacker News story“Ouroboros – AI agent framework that asks "why?" before writing code”Hacker News · Jan 28, 2026 · 5 points
- @pythonhub.dev“ouroboros Ouroboros is an open-source AI coding framework that turns vague ideas into verified code through …”Bluesky · Oct 2, 2026 · 1 likes
- @agentwire.thecompound.tech“https://github.com/Q00/ouroboros more like this: https://agentwire.thecompound.tech/aw/1c5qt1”Bluesky · Sep 21, 2026 · 1 likes
- A Hacker News story“Show HN: I built a harness that blocks AI from building until ambiguity < 0.2”Hacker News · Mar 9, 2026 · 1 points
- A Hacker News story“Show HN: Preventing infinite agent loops with mathematical convergence gates”Hacker News · Mar 3, 2026 · 1 points
The biggest 5 of 40 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 40
Talked about on GitHub, Hacker News and Bluesky (40 times).
On GitHub · 35
- Oct 4, 2026codex-marketplaces.github.q00.ouroboros: init at 0.55.4 — sudosubin/agents.nix0 reactions
- Oct 3, 2026agent-skills.github.q00.ouroboros: 0.54.5 → 0.55.4 — sudosubin/agents.nix0 reactions
- Oct 1, 2026agent-skills.github.q00.ouroboros: init at 0.54.5 — sudosubin/agents.nix0 reactions
- Sep 29, 2026backlog: 2026-09-29分の候補4件を追記 — Matsushima-A-830/ai-100days0 reactions
- Sep 7, 2026Weekly discovery: new DeepSeek Harness ecosystem candidates — fendouai/awesome-deepseek-harness0 reactions · 1 comment
30 more on GitHub
- Aug 31, 2026Weekly discovery: new DeepSeek Harness ecosystem candidates — fendouai/awesome-deepseek-harness0 reactions · 2 comments
- Aug 29, 2026catalog: add q00-dsh-ouroboros (community curation, created by @Q00) — diegosouzapw/awesome-omni-dsh-plugins0 reactions
- Aug 24, 2026Weekly discovery: new DeepSeek Harness ecosystem candidates — fendouai/awesome-deepseek-harness0 reactions · 1 comment
- Aug 23, 2026fix(runtime): preserve external skill and MCP routing — Yeachan-Heo/gajae-code0 reactions · 2 comments
- Aug 20, 2026Represent verified non-npm sources without an unsafe Install button — sandbaseai/dsh-plugin-store0 reactions · 1 comment
- Aug 17, 2026Weekly discovery: new DeepSeek Harness ecosystem candidates — fendouai/awesome-deepseek-harness0 reactions · 1 comment
- Aug 10, 2026ouroboros-ai 0.51.1 (new formula) — Homebrew/homebrew-core0 reactions · 2 comments
- Aug 10, 2026Add project: Ouroboros — RyanAlberts/best-of-Agent-Harnesses0 reactions · 1 comment
- Aug 10, 2026Add project: Ouroboros — RyanAlberts/best-of-Agent-Harnesses0 reactions · 2 comments
- Aug 10, 2026ouroboros-ai: init at 0.51.1 — NixOS/nixpkgs0 reactions · 8 comments
- Aug 10, 2026Add Ouroboros to Coding Agents — ARUNAGIRINATHAN-K/awesome-ai-agents-20260 reactions · 5 comments
- Aug 9, 2026Add Ouroboros to AI Coding (both EN/CN) — ikaijua/Awesome-AITools0 reactions · 5 comments
- Aug 9, 2026【开源自荐】Ouroboros,一个让 AI 先把需求问清楚再写代码、并且防止它「刷分」的 Agent OS — GitHubDaily/GitHubDaily0 reactions · 1 comment
- Aug 9, 2026【开源自荐】Ouroboros,一个让 AI 先把需求问清楚再写代码、并且防止它「刷分」的 Agent OS — GitHubDaily/GitHubDaily0 reactions · 4 comments
- Aug 9, 2026【开源自荐】Ouroboros:先把需求问清楚再让 AI 写代码的 Agent OS,顺便不让它「刷分」 — ruanyf/weekly0 reactions · 4 comments
- Aug 9, 2026[开源推荐] Ouroboros:一个不让 AI 看着答案写代码的 Agent OS — 521xueweihan/HelloGitHub0 reactions · 8 comments
- Aug 8, 2026Add Ouroboros (Agent OS) to Software Development — kyrolabs/awesome-agents0 reactions
- Aug 8, 2026Add Q00/ouroboros to Coding Agents 🤖🤖🤖 — punkpeye/awesome-mcp-servers0 reactions · 5 comments
- Aug 8, 2026[Resource]: Ouroboros — hesreallyhim/awesome-claude-code0 reactions · 3 comments
- Jul 11, 2026Ouroboros P3: Active Conductor attention events (upstream RFC) — danielsmithdevelopment/ClawQL0 reactions
- Jul 11, 2026Ouroboros P0-A: 3-component drift measurement + ouroboros_measure_drift MCP tool — danielsmithdevelopment/ClawQL0 reactions
- Jun 17, 2026📝 https://github.com/Q00/ouroboros 이거 hermes 랑 비슷한 급의 도구라고 하던데, 이런 도구들에 대해 research하고 내가 학습할 수 있는 자료 만들어줘 tool-study — adszzz11/study0 reactions
- Jun 8, 2026feat(ff-loop): add Ouroboros-inspired failure taxonomy, stagnation detection, convergence tracking — gimso2x/forgeflow0 reactions
- May 8, 2026Audit candidate: Q00/ouroboros — xiaolai/nlpm0 reactions · 3 comments
- May 7, 2026📱 SNS 콘텐츠 - 2026-05-07 11:55 KST — leaf468/autothreads0 reactions
- May 7, 2026🤖 AI 트렌드 리포트 - 2026-05-07 11:55 KST — leaf468/autothreads0 reactions
- May 4, 2026📱 SNS 콘텐츠 - 2026-05-04 11:56 KST — leaf468/autothreads0 reactions
- May 4, 2026🤖 AI 트렌드 리포트 - 2026-05-04 11:56 KST — leaf468/autothreads0 reactions
- May 1, 2026Test issue to check pipeline — Deep070203/autoharness0 reactions
- Apr 18, 2026Audit candidate: Q00/ouroboros — xiaolai/nlpm0 reactions · 2 comments
On Hacker News · 3
- Jan 28, 2026Ouroboros – AI agent framework that asks "why?" before writing code5 points · 1 comment
- Mar 9, 2026Show HN: I built a harness that blocks AI from building until ambiguity < 0.21 point
- Mar 3, 2026Show HN: Preventing infinite agent loops with mathematical convergence gates1 point · 1 comment
On Bluesky · 2
- Oct 2, 2026ouroboros Ouroboros is an open-source AI coding framework that turns vague ideas into verified code through structured interviews,… — @pythonhub.dev1 likes and repost
- Sep 21, 2026https://github.com/Q00/ouroboros more like this: https://agentwire.thecompound.tech/aw/1c5qt1 — @agentwire.thecompound.tech1 likes and repost
In this repository26 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- llms-full.txtllms.txt
- autoSkill
- brownfieldSkill
- cancelSkill
- ouroboros-configSkill
- evaluateSkill
- evolveSkill
- ouroboros-helpSkill
- interviewSkill
- maintainSkill
- oooSkill
- pmSkill
- publishSkill
- qaSkill
- ralphSkill
- resume-sessionSkill
- ouroboros-runSkill
- seedSkill
- setupSkill
- ouroboros-statusSkill
- tutorialSkill
- unstuckSkill
- updateSkill
- welcomeSkill
The file
We split this llms.txt into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 119
All workflow state is event-sourced.
≈ “Common” is an estimate: at least 1 in 5 of the 1,484 llms.txt files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
# Ouroboros
> Pins an acceptance spec and omits any verify command or expected output from the worker's contract
Ouroboros transforms vague ideas into verified, working codebases by replacing ad-hoc prompting with a structured workflow: interview, crystallize, execute, evaluate, evolve. It sits between the user and their AI runtime (Claude Code, Codex CLI, or others).
Note: this is `github.com/Q00/ouroboros`. A separate, unaffiliated open-source
project also named "Ouroboros" (`github.com/razzant/ouroboros`, by Anton
Razzhigaev) is a self-modifying, autonomous-memory agent that rewrites its own
architecture -- a different project with a different design, no shared code.
## Core Concepts
- Seed Spec: An immutable YAML specification auto-generated from a Socratic interview. Contains project description, acceptance criteria (AC) tree, constraints, and architecture decisions. The seed is the single source of truth for what should be built. In the happy path, users never create seeds manually — the interview produces one automatically. Manual seed authoring is an advanced workflow (see `docs/guides/seed-authoring.md`).
- Acceptance Criteria (AC) Tree: A hierarchical decomposition of requirements. Each AC has a status (pending, in_progress, passed, failed) and can contain children. The tree is the unit of progress tracking.
- Interview: A Socratic dialogue that extracts hidden assumptions and crystallizes vague requirements into a structured seed spec. Auto-generates the seed on completion.
- Evaluation Pipeline: Three-stage verification (mechanical checks, LLM-based review, consensus gating) that determines whether acceptance criteria are met.
- Event Sourcing: All state changes are persisted as immutable events in a SQLite EventStore (~/.ouroboros/ouroboros.db). The system can reconstruct any past state from events.
- Evolution Loop: After evaluation, the system can evolve the spec and re-execute, creating an iterative refinement cycle.
- Drift Detection: Monitors whether execution is diverging from the original seed spec intent.
- Lineage: Tracks the causal chain of events and decisions through the workflow.
## Architecture Layers
- Plugin Layer: Skills (Claude Code slash commands via `ooo`) and agents that interface with the user. Skills map to `skills/*/SKILL.md`.
- Core Layer: Seed spec management, AC tree lifecycle, event sourcing, lineage tracking. Located in `src/ouroboros/core/`.
- Orchestrator: Coordinates execution strategy, manages level context, routes tasks to appropriate backends. Located in `src/ouroboros/orchestrator/`.
- Evaluation: Three-stage pipeline (mechanical, LLM, consensus), artifact collection, language-specific checks. Located in `src/ouroboros/evaluation/`.
- Execution: Subagent management for parallel AC execution. Located in `src/ouroboros/execution/`.
- Routing: Complexity analysis, task routing, model escalation/downgrade. Located in `src/ouroboros/routing/`.
- Persistence: SQLAlchemy-based event store with migration support. Located in `src/ouroboros/persistence/`.
- Presentation: Textual TUI (dashboard, execution, logs, debug, lineage screens) and Typer CLI. Located in `src/ouroboros/tui/` and `src/ouroboros/cli/`.
- MCP: Model Context Protocol server/client for tool integration. Located in `src/ouroboros/mcp/`.
- Observability: Drift detection and retrospective analysis. Located in `src/ouroboros/observability/`.
- Resilience: Retry and recovery strategies. Located in `src/ouroboros/resilience/`.
## Two CLI Paths
- `ooo` (Claude Code): Slash-command skills invoked inside a Claude Code session. Primary recommended path. Commands: `ooo setup`, `ooo interview "idea"`, `ooo run`, `ooo evaluate`, `ooo evolve`, `ooo status`, `ooo unstuck`, `ooo cancel`.
- `ouroboros` (Typer CLI): Standalone CLI installed via `pip install ouroboros-ai`. Fallback path. Subcommands: `ouroboros interview`, `ouroboros run`, `ouroboros config`, `ouroboros status`, `ouroboros cancel`, `ouroboros setup`, `ouroboros tui`, `ouroboros mcp`.
## Commands / Skills
- setup: Guided onboarding wizard. Configures runtime backend and project settings.
- interview (aliases: socratic): Socratic interview to crystallize vague requirements into a seed spec. Auto-generates the seed on completion.
- seed (aliases: crystallize): Generate validated seed specifications from interview results. Automatically invoked by interview in the happy path — most users never call this directly. Manual seed authoring is an advanced workflow.
- ouroboros-run (invoked as `ooo run`, alias: execute): Execute a seed specification through the workflow engine. Decomposes ACs into tasks and runs them via the configured backend.
- evaluate (aliases: eval): Three-stage verification pipeline. Runs mechanical checks, LLM review, and consensus gating against acceptance criteria.
- evolve: Start or monitor an evolutionary development loop. Iterates on evaluation findings.
- ouroboros-status (invoked as `ooo status`, alias: drift): Check session status and measure goal drift against the seed spec.
- unstuck (aliases: stuck, lateral): Break through stagnation with lateral thinking personas.
- cancel (aliases: kill, abort): Cancel stuck or orphaned executions.
- ouroboros-config (invoked as `ooo config`): Open the Ouroboros settings UI.
- ouroboros-help (invoked as `ooo help`): Show available commands and usage.
- welcome: First-run welcome message and orientation.
- tutorial: Interactive tutorial walkthrough.
## Key File Structure
```
ouroboros/
skills/ # Skill implementations (*/SKILL.md)
src/ouroboros/
cli/ # Typer CLI entry point and command groups
main.py # App definition, registers: init, run, config, status, cancel, mcp, setup, tui
commands/ # CLI command implementations
formatters/ # Rich console output (tables, panels, progress)
core/ # Seed spec, lineage, file locking, text utilities
orchestrator/ # Execution strategy, level context, MCP config
evaluation/ # Pipeline, trigger, models, artifact collector, mechanical checks
execution/ # Subagent management
events/ # Event definitions (decomposition, evaluation, interview, ontology, lineage)
persistence/ # SQLAlchemy event store, migrations
routing/ # Complexity analysis, router, escalation, downgrade
tui/ # Textual TUI application
screens/ # Dashboard v2/v3, execution, logs, debug, lineage, confirm-rewind
widgets/ # AC tree, cost tracker, phase progress, drift meter, parallel graph
components/ # Event log, progress, token tracker, agents panel
mcp/ # Model Context Protocol integration
server/ # MCP server with security
client/ # MCP client manager, protocol, adapter
tools/ # Tool registry, dashboard tools
resources/ # Resource handlers
observability/ # Drift detection, retrospective
resilience/ # Retry and recovery
config/ # Configuration models
agents/ # Agent prompt package (src/ouroboros/agents)
plugin/ # Plugin system (skills, agents, orchestration)
providers/ # Runtime backend providers
evolution/ # Regression detection, projector
verification/ # Verifier models
strategies/ # Execution strategies
bigbang/ # Project bootstrapping
codex/ # Codex CLI integration
docs/
getting-started.md # Single onboarding source of truth
architecture.md # System design and component overview
config-reference.md # Configuration keys and defaults
platform-support.md # Supported platforms and runtimes
runtime-capability-matrix.md # Feature comparison across backends
guides/ # User guides (seed authoring, TUI, evaluation)
runtime-guides/ # Backend-specific configuration (claude-code, codex)
api/ # API reference (core, MCP)
contributing/ # Contributor guides (architecture, testing, patterns)
tests/ # Test suite
examples/ # Example projects
pyproject.toml # Package metadata: ouroboros-ai, requires Python >=3.12
```
## Runtime Backends
Ouroboros supports multiple AI runtime backends configured via `orchestrator.runtime_backend`:
- Claude Code: Primary recommended backend. Uses Claude Code sessions with MCP tool integration.
- Codex CLI: OpenAI Codex CLI as an alternative backend.
- Additional backends can be integrated via the provider system.
## Event Model
All workflow state is event-sourced. Key event categories:
- Decomposition events: AC tree creation and updates
- Evaluation events: Stage results, consensus outcomes
- Interview events: Question-answer pairs, crystallization
- Ontology events: Concept and relationship tracking
- Lineage events: Causal chain tracking
## Documentation
- Onboarding: `docs/getting-started.md`
- Architecture: `docs/architecture.md`
- API Reference: `docs/api/core.md`, `docs/api/mcp.md`
- Runtime Guides: `docs/runtime-guides/claude-code.md`, `docs/runtime-guides/codex.md`
- Contributing: `docs/contributing/`
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

