# Draft > Code intelligence built into your AI coding agent. Free, open-source, MIT. Draft is a plugin that adds a knowledge graph engine, spec-driven planning, and a three-stage review pipeline to AI coding agents — so they stop guessing and start executing pre-approved work, grounded in real understanding of your codebase. Draft works with Claude Code, Cursor, GitHub Copilot, Antigravity IDE, and Google Gemini. It provides 28 slash commands, 7 specialized agents, 14-dimension bug hunting, ACID-style module audits, and a built-in **knowledge graph engine** (tree-sitter for Go/Python/TS/JS/C/C++, ctags fallback for Java/Rust/Ruby/Swift) with six query modes — callers, impact, hotspots, modules, cycles, mermaid. ## Installation Install as a Claude Code plugin: ``` /plugin marketplace add mayurpise/draft /plugin install draft ``` For Cursor, Copilot, Gemini, and Antigravity IDE, see the getting started guide. ## Core Workflow 1. `/draft:init` — Analyze codebase, generate context files 2. `/draft:new-track` — Collaborative spec and plan creation 3. `/draft:implement` — TDD execution with checkpoints 4. `/draft:review` — Three-stage code review ## Key Concepts - **Context-Driven Development (CDD):** Structured documents constrain and guide AI behavior - **Tracks:** Isolated units of work with spec.md, plan.md, metadata.json (now includes blast-radius impact memory) - **7 Specialized Agents:** Architect, Debugger, Planner, Reviewer, RCA, Ops, Writer - **ACID Compliance:** Enterprise-grade module lifecycle audits - **Incremental Refresh:** File-hash-based re-analysis of only changed files - **Knowledge Graph Engine:** Tree-sitter extractors + ctags fallback. Six query modes (callers, impact, hotspots, modules, cycles, mermaid). Confidence-tagged call edges. Atomic incremental builds. - **Deterministic Tools:** 14 shell helpers under `scripts/tools/` for mechanical work — git metadata, file classification, hotspot ranking, freshness checks, ADR indexing. ## Links - Homepage: https://getdraft.dev - Book: https://getdraft.dev/book/ - Getting Started: https://getdraft.dev/book/getting-started/ - Command Reference: https://getdraft.dev/book/command-reference/ - GitHub: https://github.com/mayurpise/draft - Methodology: https://github.com/mayurpise/draft/blob/main/core/methodology.md - Full LLM context: https://getdraft.dev/llms-full.txt ## License MIT License. Free forever.