odin

odin

Provides a specification-driven workflow layer for AI-assisted coding, enabling agents to follow an explicit 11-phase feature workflow with checkpoints, artifacts, and quality gates.

Category
访问服务器

README

<p align="center"> <img src="assets/Odin2.png" alt="Odin Logo" width="1024" height="768"> </p>

<h1 align="center">Odin</h1>

<p align="center"> <strong>Make AI-Assisted Development Reliable Before Code Is Written</strong> </p>

<p align="center"> <img src="https://img.shields.io/badge/version-0.8.6--beta-orange" alt="Version"> <img src="https://img.shields.io/badge/workflow-11_phase-blue" alt="11-phase workflow"> <img src="https://img.shields.io/badge/license-MIT-blue" alt="License"> </p>

Odin helps AI coding agents stop guessing from loose prompts. It turns feature intent into an explicit workflow so requirements, phase checkpoints, implementation work, and review artifacts stay visible as work moves from idea to release.

Odin runs as one local MCP server named odin and plugs into tools you already use: Codex, Claude Code, OpenCode, Amp, Cursor, Junie, and similar AI coding environments.

Why Odin

AI-assisted development often breaks down in the same way:

idea -> prompt -> plausible code -> fix -> fix -> reconstruct intent

The problem is not only that specs are missing. It is that intent lives in chat history, readiness is implicit, and the agent can start building before the work is clear.

Odin makes the intended path explicit:

idea -> spec -> refine -> build -> verify -> release

The core idea: AI does not reliably preserve intent on its own. Odin makes intent external, structured, and enforceable.

What Odin Is

Odin is a specification-driven workflow layer for AI-assisted coding. It is not a replacement IDE, agent, or task tracker.

It gives your assistant a branch-first feature workflow with checkpoints that answer:

  • What are we trying to build?
  • Is the feature ready to implement?
  • What phase are we in?
  • What evidence did we produce?
  • What still needs human judgment?

Principles

  • Intent before implementation: make the requirement explicit before code starts drifting.
  • Readiness over motion: prefer a clear feature boundary over fast but premature code generation.
  • Feature first: move one coherent feature through a workflow instead of scattering work across ad-hoc tasks.
  • Enforcement over suggestion: phases, artifacts, checks, and gates should be explicit rather than hidden in prompt history.
  • Use the tools you already like: Odin plugs into your existing AI tool instead of replacing it.
  • Keep the human at the right boundary: AI should accelerate delivery, not erase judgment, review, or responsibility.

What Odin Changes

  • Your AI agent works from durable specs and phase artifacts instead of ad-hoc prompt history.
  • Implementation starts from an explicit feature workflow, not just because an agent can write code.
  • Specs, tasks, phase outputs, quality gates, review checks, phase-agent proof, skills used, and reusable learnings become explicit.
  • Odin can persist workflow state, learnings, and release history when you are ready for Supabase.
  • You keep your current AI tool. Odin plugs into it as an MCP server.

Who This Is For

How Odin Fits In

flowchart LR
    U[You describe a feature] --> T[Your AI tool<br/>Codex, Claude Code, OpenCode,<br/>Amp, Cursor, Junie, etc.]
    T --> O[Odin MCP server]
    O --> W[Checkpointed feature workflow<br/>specs, phases, checks, artifacts]
    W --> R[Your project repo]
    O -. optional later .-> S[(Supabase persistence)]
    R --> H[Human review and PR handoff]

Quick Start

Run the bootstrap command from the root of the project where you want Odin to live. This is one-time setup for each target project.

Important: Odin writes .odin/ into the directory you run this command from, unless you pass --project-root explicitly.

Pick your tool

Tool Command What happens
Codex npx -y @plazmodium/odin init --tool codex --write-mcp Writes .codex/config.toml for you
OpenCode npx -y @plazmodium/odin init --tool opencode --write-mcp Writes opencode.json for you
Claude Code npx -y @plazmodium/odin init --tool claude-code --write-mcp Writes .mcp.json for you
Amp npx -y @plazmodium/odin init --tool amp --write-mcp Writes .mcp.json for you
Cursor npx -y @plazmodium/odin init --tool generic Prints the MCP server snippet for you to paste into Cursor
Junie / other tools npx -y @plazmodium/odin init --tool generic Prints the MCP server snippet if your tool can wire a local MCP server

What init does:

  • creates .odin/config.yaml
  • creates .odin/ODIN.md as the local workflow guide for your AI agent
  • creates .odin/managed-assets.json so Odin can refresh managed files without clobbering local edits
  • creates .odin/skills/.gitkeep for project-local skill overrides
  • writes .env.example
  • writes your MCP config when auto-config is supported for that tool
  • defaults Odin to runtime.mode: in_memory so you can try it without external services first

Odin does not copy broad managed workflow assets by default. Add --sync-managed-assets when you intentionally want packaged .odin/agents/definitions/ and built-in skills copied into the project for local overrides or inspection.

What gets created in your project

  • .odin/config.yaml - Odin runtime config
  • .odin/ODIN.md - local workflow guide for your AI agent
  • .odin/managed-assets.json - update metadata for managed Odin files
  • .odin/skills/.gitkeep - placeholder for project-local skill overrides
  • .env.example - environment variable template
  • tool config such as opencode.json, .mcp.json, or .codex/config.toml when auto-config is supported

At minimum, commit .odin/config.yaml, .odin/ODIN.md, .odin/managed-assets.json, .odin/skills/.gitkeep, and .env.example. Keep .env local.

After init

  1. Restart your AI tool so it reloads MCP servers.
  2. Confirm the odin MCP server is available.
  3. Tell your AI agent to use the odin MCP tools for workflow state and phase context. odin init also writes .odin/ODIN.md as the local workflow guide the agent can consult.

From this point on, you normally work through your AI tool. The AI tool calls Odin's MCP server; you do not rerun init for every feature.

Suggested first prompt:

Confirm the `odin` MCP tools are available in this project. Use `.odin/ODIN.md` as your workflow guide, then tell me what Odin added to this repo and whether broad managed workflow assets were synced locally.

Important: .odin/ODIN.md is for the AI agent. It is not the human onboarding doc.

Database Setup

You can try Odin immediately in in_memory mode without Supabase.

When you are ready for database-backed tools:

  1. Copy .env.example to .env.
  2. Add your database credentials.
  3. Ask your AI agent to run odin.apply_migrations for you.

Suggested prompt:

If Odin database credentials are configured, run `odin.apply_migrations` and summarize what was applied. If they are not configured yet, tell me exactly what is missing and keep Odin in `in_memory` mode for now.

Use Supabase when you want persistent workflow state, archival, and the dashboard. Use direct DATABASE_URL when you only need odin.apply_migrations against PostgreSQL.

Start Your First Feature

Bootstrap is a one-time project setup step. You do not run it again for every feature.

The normal way to start is back in your AI tool, not with a manual CLI command.

Suggested prompt:

Use Odin in this repository. Confirm the `odin` MCP tools are available and help me start a new feature for: <plain English feature request>. If you need my author name, initials, or any other missing metadata, ask me before starting.

In the normal flow, the orchestrating AI session handles the branch-first + odin.start_feature workflow for you.

If your setup does not automate that yet, the manual odin start-feature helper is still available in runtime/README.md as a fallback/operator path.

Optional Later

  • Supabase persistence: for persistent runtime state, archival, and dashboard data
  • Dashboard visibility: this repo also includes an optional dashboard for feature health, claims, learnings, and eval status
  • Ralph Loop: for optional bounded automation around safe phase pickup and PR handoff
  • Manual MCP wiring: if you do not want init --write-mcp to write your tool config
  • TLA+ design verification: if you want odin.verify_design for state-heavy features

Documentation

Document Use it when
docs/guides/GETTING-STARTED.md You want the full first-run guide
runtime/README.md You want package setup details, config reference, or manual MCP wiring
docs/guides/example-workflow.md You want a current end-to-end worked example
docs/guides/SUPABASE-SETUP.md You want the deeper database setup path
loop/README.md You want optional Ralph Loop automation
docs/reference/ODIN-MCP-BOUNDARY.md You want the boundary between Odin's MCP server and agent execution
dashboard/README.md You want the optional dashboard app
docs/guides/DEVELOPING-ODIN.md You are developing or publishing Odin itself

What Odin Includes

  • 11-phase feature workflow with explicit phase outputs and checkpoints
  • one local MCP server named odin for workflow and state operations
  • review checks via Semgrep for code and docs_process for docs/process-only changes
  • strict phase-agent readiness, execution attestation, prompt-realization proof, and skills-applied audit tools
  • learnings capture and propagation
  • optional Supabase-backed persistence and archives
  • optional dashboard for feature health, claims, learnings, and eval visibility
  • optional TLA+ design verification for state-machine-heavy work

Tool Notes

Odin ships auto-config flows today for:

  • Codex
  • OpenCode
  • Claude Code
  • Amp

For Cursor and other tools, --tool generic prints the server block you need to wire manually.

For Junie and other emerging agent tools, use the same generic path when your environment exposes local MCP server configuration.

Status

Odin is in active beta. The core workflow and MCP tools are usable today, while onboarding, integrations, and automation are still evolving.

What works today:

  • 11-phase workflow with sequential phase transitions
  • odin.start_feature, odin.prepare_phase_context, odin.record_phase_agent_launch, odin.record_phase_artifact, odin.complete_phase_bundle, odin.record_phase_result, and related workflow tools
  • odin.record_phase_skills_applied, odin.record_break_glass_override, and odin.export_local_artifacts for strict-mode audit and local artifact trails
  • odin.apply_migrations for packaged schema setup
  • Supabase-backed workflow state for persistent runs
  • dashboard support for feature, claim, learning, and eval visibility

License

MIT - see LICENSE

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选