Skip to main content

Spec Kitty, a tool for Specification Driven Development (SDD) agentic projects, with kanban and git worktree isolation.

Project description

Spec Kitty logo

Spec Kitty

Spec-driven development for AI coding agents, multi-agent workflows, and governed software factories.

Spec Kitty is an open-source CLI for turning product intent into a repo-native AI coding workflow:

spec -> plan -> tasks -> next -> review -> accept -> merge

Use it to build a governed software factory around Claude Code, Codex, Cursor, Gemini, GitHub Copilot, Windsurf, OpenCode, and other AI coding agents. Spec Kitty keeps specs, plans, work packages, acceptance criteria, review state, and merge decisions in your repository, then gives agents isolated git worktrees so implementation can happen in parallel without branch chaos.

PyPI version License: MIT Python 3.11+

Bright Software Factory, Not a Black Box

Spec Kitty is for teams building software factories: repeatable inputs, clear work-package boundaries, isolated execution, visible progress, and review gates. It can support dark software factories and autonomous coding experiments, but it is deliberately not a lights-out black box by default. Humans define intent, architecture, and acceptance criteria; agents implement inside traceable worktrees; reviewers accept, reject, or merge with an audit trail.

The goal is not more prompt text. The goal is a durable operating system for agentic coding where the repository remains the source of truth.

Is It For You?

Use Spec Kitty when:

  • AI coding sessions are losing requirements, decisions, or acceptance criteria.
  • You want specs, plans, tasks, reviews, and merge state stored in Git.
  • Multiple agents or developers need clear work-package boundaries.
  • You are running parallel Claude Code, Codex, Cursor, Copilot, Gemini, or Windsurf work and need git worktree isolation.
  • You are moving from vibe coding to a repeatable spec-driven development workflow.
  • You want a local workflow first, with optional hosted tracker and sync integrations later.

It is probably overkill for one-off edits, tiny scripts, or teams that do not use Git.

What It Provides

Need Spec Kitty provides
Start from intent Guided specify, plan, and tasks workflows
Keep agents aligned Repository-native mission artifacts under kitty-specs/
Split implementation Work packages with lifecycle lanes such as planned, in_progress, for_review, approved, and done
Run agents in parallel Isolated git worktrees under .worktrees/
Keep quality visible Review, accept, merge, and retrospective gates
See progress Optional local kanban dashboard with spec-kitty dashboard
Integrate agents Slash commands or skills for Claude Code, Codex, Cursor, Gemini, Copilot, Windsurf, OpenCode, and more
Learn from missions Every completed mission generates a retrospective by default. Tune via .kittify/config.yaml#retrospective or charter; see how-to.

Common Use Cases

  • Replace ad hoc vibe coding with spec-driven development.
  • Turn GitHub issues, product requirements, or bug reports into executable work packages.
  • Coordinate multiple AI coding agents without losing context between sessions.
  • Keep architecture decisions, constraints, and acceptance criteria close to the code.
  • Build a governed software factory that can scale toward more autonomy without hiding review, test, or merge decisions.

Governance layer

Spec Kitty keeps runtime governance in the repo instead of treating it as agent-only prompt text. The trail model in docs/trail-model.md describes how spec-kitty dispatch "<request>" maps operator intent to runtime behavior, while docs/host-surface-parity.md tracks parity across CLI, slash-command, and hosted surfaces.

The primary standalone governance command is:

  • spec-kitty dispatch "<request>" - loads governance context, opens an Op record, and returns the context the agent must use before doing the work

Quick Start

Install the CLI:

pipx install spec-kitty-cli

pipx is the preferred installer for the CLI because it keeps Spec Kitty in its own virtual environment and avoids the externally-managed-environment errors common on modern Linux distributions.

Other supported install methods:

uv tool install spec-kitty-cli
# or, inside an activated virtual environment
python -m pip install spec-kitty-cli

Create or initialize a project:

spec-kitty init my-project --ai claude
cd my-project
spec-kitty verify-setup

Replace claude with your agent key when needed. Common choices include codex, cursor, gemini, copilot, opencode, qwen, windsurf, kiro, vibe, pi, and letta. See Supported Agents for the current list.

Open your AI coding agent in the project and run the core workflow:

/spec-kitty.charter
/spec-kitty.specify Build a small task list app.
/spec-kitty.plan
/spec-kitty.tasks

Then let the runtime choose the next action until the mission is ready:

spec-kitty next --agent claude --mission <mission-slug>

Review, accept, merge, and close the loop:

/spec-kitty.review
/spec-kitty.accept
/spec-kitty.merge --push

After merge, run /spec-kitty-mission-review. The mission's retrospective.yaml is authored during the runtime terminus (HiC prompt or autonomous facilitator), not by merge. Once it exists, use spec-kitty retrospect summary for the cross-mission view and spec-kitty agent retrospect synthesize --mission <mission-slug> to apply any staged proposals (dry-run by default — pass --apply to mutate).

For the full walkthrough, see Your First Feature.

Everyday Commands

Command Purpose
spec-kitty init . --ai <agent> Add Spec Kitty to the current repo
spec-kitty verify-setup Check local installation and project wiring
spec-kitty dashboard Open the local mission dashboard
spec-kitty next --agent <agent> --mission <slug> Ask Spec Kitty what the agent should do next
spec-kitty upgrade Update an existing project after upgrading the CLI
spec-kitty --help Show available commands

Documentation

Start here:

Deeper topics:

Hosted auth, sync, and tracker flows remain opt-in. For setup details, see Hosted Sync Workspaces, Internal Hosted-Readiness, and Launch-Readiness Behavior.

FAQ

Is Spec Kitty for dark software factories?

Spec Kitty can be used as part of a dark software factory or autonomous coding pipeline, but its default model is governed and human-in-loop. It keeps specs, work packages, agent actions, review decisions, and merge state visible in the repository.

Which AI coding agents does Spec Kitty support?

Spec Kitty supports common AI coding agents and coding harnesses including Claude Code, Codex, Cursor, Gemini, GitHub Copilot, OpenCode, Qwen, Windsurf, Kiro, Vibe, Pi, and Letta. See Supported Agents.

How is Spec Kitty different from prompt templates or Spec Kit?

Spec Kitty is inspired by spec-driven development workflows, but adds repo-native mission state, work-package lanes, git worktree isolation, a local dashboard, governance commands, and an explicit next -> review -> accept -> merge runtime loop.

Does Spec Kitty require a SaaS service?

No. Spec Kitty is local-first and stores its core artifacts in your repo. Hosted tracker and sync integrations are optional.

Development

git clone https://github.com/Priivacy-ai/spec-kitty.git
cd spec-kitty
pip install -e ".[test]"

When testing templates from a source checkout:

export SPEC_KITTY_TEMPLATE_ROOT="$(pwd)"
spec-kitty init my-project --ai claude

See CONTRIBUTING.md for contribution guidelines.

Identity-Boundary CI Gate

The drift-detector required check protects the shared identity-boundary contract across Spec Kitty repos. Contributor and admin details live in Identity-Boundary CI Gate.

Support

License

Spec Kitty is released under the MIT License.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spec_kitty_cli-3.2.3.tar.gz (5.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spec_kitty_cli-3.2.3-py3-none-any.whl (5.8 MB view details)

Uploaded Python 3

File details

Details for the file spec_kitty_cli-3.2.3.tar.gz.

File metadata

  • Download URL: spec_kitty_cli-3.2.3.tar.gz
  • Upload date:
  • Size: 5.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for spec_kitty_cli-3.2.3.tar.gz
Algorithm Hash digest
SHA256 62beeb758c65259bd3c5b65477820dc3d1c88b2e99ee910a2904e0cc6e8b281d
MD5 f04d97a005083ad363029eb82ff6f57f
BLAKE2b-256 c921a38408970531dedde0c75cc0497de92413acb045d6e74ee0529b3c1231b4

See more details on using hashes here.

Provenance

The following attestation bundles were made for spec_kitty_cli-3.2.3.tar.gz:

Publisher: release.yml on Priivacy-ai/spec-kitty

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file spec_kitty_cli-3.2.3-py3-none-any.whl.

File metadata

  • Download URL: spec_kitty_cli-3.2.3-py3-none-any.whl
  • Upload date:
  • Size: 5.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for spec_kitty_cli-3.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ec97632e8c889a7cf0200522d6bc84a824778da93d56828ceed8b67def271ac1
MD5 0e81f3ee31e82a4dd7329ce43c1d092e
BLAKE2b-256 47af161e342d22cd56db14dba2afa4c5fcce35368a3721adae9c1cecbd2884ba

See more details on using hashes here.

Provenance

The following attestation bundles were made for spec_kitty_cli-3.2.3-py3-none-any.whl:

Publisher: release.yml on Priivacy-ai/spec-kitty

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page