How It Works
Konductor is built on six key components.
Orchestrator Agent
The main konductor agent manages pipeline state and delegates work to specialized subagents. It coordinates phase transitions using MCP tools for deterministic state management.
MCP Server (konductor mcp)
A local MCP server provides typed prompts and tools over stdio:
- 12 prompts with Tab-completable shortcuts (
/k-spec,/k-design,/k-plan, etc.) — with typed arguments where needed - State management tools (
state_get,state_transition,state_add_blocker,state_resolve_blocker) — eliminates fragile LLM-generated TOML - Config tools (
config_get,config_init) — typed config access with defaults applied - Query tools (
plans_list,status) — returns structured JSON instead of requiring the LLM to parse files
Built with rmcp (official Rust MCP SDK).
Skills
Each command is a skill (konductor-spec, konductor-design, konductor-plan, konductor-exec, etc.) with structured instructions. Skills define:
- When to trigger (keywords like "initialize", "next", "plan")
- Step-by-step execution logic
- Output artifacts and verification steps
Worker Subagents
Specialized agents handle specific tasks:
| Agent | Role |
|---|---|
konductor-discoverer |
Interviews users to understand project goals |
konductor-researcher |
Analyzes codebases and documents patterns |
konductor-designer |
Creates phase-level architecture and design documents |
konductor-planner |
Creates detailed execution plans with tasks |
konductor-design-reviewer |
Reviews architecture and design for soundness, feasibility, and risk |
konductor-executor |
Implements code following TDD principles (one fresh agent per task) |
konductor-spec-reviewer |
Reviews task output for spec compliance |
konductor-code-reviewer |
Reviews code changes for correctness, security, and quality |
konductor-verifier |
Validates tests and acceptance criteria |
Hook System (konductor hook)
The same konductor binary processes hook events:
- File modification tracking (detects changes to tracked files)
- Safety guardrails (prevents dangerous operations like
rm -rf /)
Context Rot Prevention
Each subagent starts with a fresh context containing only:
- Relevant spec documents from
.konductor/ - Current phase artifacts
- Necessary reference materials
This prevents context pollution and ensures decisions are based on documented requirements, not accumulated conversation history.
Unified Binary
The konductor binary serves two roles via subcommands:
Linux binaries are statically linked with musl for maximum portability — no glibc dependency required. Prebuilt binaries are available for linux-x64, linux-arm64, darwin-x64, and darwin-arm64.
File Layout
.kiro/ # Kiro configuration
├── agents/ # Agent definitions (includes hooks and MCP server config)
├── skills/ # Skill instructions
└── bin/
└── konductor # Unified binary (mcp server + hook processor)
.konductor/ # Project state
├── project.md # Project vision
├── requirements.md # Requirements
├── roadmap.md # Milestones
├── state.toml # Pipeline state (managed by MCP tools)
├── phases/ # Phase plans
│ └── {phase}/
│ ├── plans/ # Execution plans
│ │ ├── 001.md # Plan file
│ │ ├── 001-task-1-summary.md # Per-task summary
│ │ ├── 001-task-1-spec-review.md # Spec compliance review
│ │ └── 001-task-1-quality-review.md # Code quality review
│ ├── design.md # Phase-level architecture
│ ├── review.md # Design review findings
│ ├── code-review.md # Holistic cross-task review
│ └── research.md # Ecosystem research
└── .results/ # Execution results