Skip to content

Supported AI Agents

Maistik Spec Kit works with 20+ AI coding agents. Claude Code is the recommended default — all examples in this documentation use Claude.

Agent List

AgentFlagStatus
Claude Code--ai claudeRecommended
Cursor--ai cursor-agentSupported
Gemini CLI--ai geminiSupported
Codex CLI--ai codexSupported
Windsurf--ai windsurfSupported
Amp--ai ampSupported
Qoder CLI--ai qodercliSupported
GitHub Copilot--ai copilotSupported
Roo Code--ai rooSupported
Kilo Code--ai kilocodeSupported
Auggie CLI--ai auggieSupported
CodeBuddy CLI--ai codebuddySupported
IBM Bob--ai bobSupported
opencode--ai opencodeSupported
Qwen Code--ai qwenSupported
SHAI (OVHcloud)--ai shaiSupported
Jules--ai julesSupported
Amazon Q CLI--ai qPartial
Antigravity (agy)--ai agySupported
Generic--ai genericBring your own

Using Claude Code

Claude Code is the recommended AI assistant for Spec Kit. After initialization:

bash
# Initialize
specify init my-project --ai claude

# Open in Claude Code
cd my-project
claude

# Commands are available immediately
/speckit.constitution ...
/speckit.specify ...

Using Other Agents

Each agent gets its commands installed in the appropriate location:

bash
# Cursor
specify init my-project --ai cursor-agent

# Gemini CLI
specify init my-project --ai gemini

# Windsurf
specify init my-project --ai windsurf

Generic / Bring Your Own Agent

For agents not in the list, use the generic option with a custom commands directory:

bash
specify init my-project --ai generic --ai-commands-dir .myagent/commands/

The CLI copies command templates to your specified directory. Your agent needs to support reading Markdown command files from that path.

Agent Limitations

AgentLimitation
Amazon Q CLIDoes not support custom arguments for slash commands. Commands work but cannot pass inline prompts.

Switching Agents

To add support for a different agent to an existing project:

bash
specify init . --force --ai gemini

This merges the new agent's configuration without overwriting existing specs.


Swarm Agent Architecture

When using /speckit.swarm, tasks are dispatched to specialized Claude Code agents that work in parallel. Each agent has a focused responsibility and follows its own operating rules defined in .claude/agents/.

Specialist Agents

AgentFileResponsibility
Infrastructure Agent.claude/agents/infrastructure-agent.mdProject scaffolding, configuration files, environment setup, CI/CD, build tooling
Data Agent.claude/agents/data-agent.mdDatabase schemas, migrations, ORM models, repositories, seed data, indexes
Logic Agent.claude/agents/logic-agent.mdService classes, use cases, domain rules, business validation, error handling
Interface Agent.claude/agents/interface-agent.mdHTTP routes, CLI commands, request validation, response formatting, middleware
Test Agent.claude/agents/test-agent.mdTests derived from spec acceptance criteria, test pyramid (unit/integration/E2E)
Architect Agent.claude/agents/architect-agent.mdSystem design, component boundaries, tech selection, data modeling, plan.md creation
Reviewer Agent.claude/agents/reviewer-agent.mdSpec compliance review, code quality, constitution checks, merge recommendations
Security Agent.claude/agents/security-agent.mdOWASP Top 10 audit, secrets detection, input validation, boundary analysis
Implementer Agent.claude/agents/implementer-agent.mdGeneral-purpose code implementation for tasks assigned by /speckit.implement

How Swarm Execution Works

Execution flow:

  1. Task classification — Each task is assigned to a specialist agent based on keywords in the task description
  2. Wave dispatch — Tasks with no dependencies run simultaneously in Wave 1; dependent tasks wait for later waves
  3. Consensus checkpoint — After each wave, conflicts are detected (same file modified by multiple agents), resolved, and incomplete tasks are retried
  4. Critical path — The longest sequential dependency chain runs in the main thread with full context for maximum correctness
  5. Swarm log — A complete execution record is written to swarm-log.md

Task Classification Rules

Tasks are automatically classified by keyword matching:

KeywordsAgent
setup, initialize, configure, scaffold, envInfrastructure Agent
model, entity, schema, migration, databaseData Agent
service, business logic, handler, use caseLogic Agent
endpoint, route, controller, CLI, API, viewInterface Agent
test, spec, contract test, integration testTest Agent

When a task matches multiple patterns, the more specific agent wins (Interface > Logic > Data > Test > Infrastructure).

Installing Agent Definitions

Agent files are installed automatically when you run:

bash
specify init my-project --ai claude

To update agent definitions in an existing project:

bash
specify init . --force --ai claude

The agent files are placed in .claude/agents/ and referenced by /speckit.swarm during parallel execution.

Released under the MIT License.