Spec0docs

Documentation

The scriptable control plane for API contracts — for humans, CI pipelines, and AI agents.

Spec0 is a developer-tools platform for the full lifecycle of an API contract: a searchable registry, hosted mocks, quality gates, and discoverable contracts that AI agents can compose.

Three audiences, one surface

Spec0 is designed so the same operations are available from the terminal, the dashboard, CI runners, and AI agents. A spec0 publish from a developer, a GitHub Actions workflow, and an agent calling the CLI through MCP all hit the same registry, the same governance gates, the same mock provisioning.

Where to start

  • First time? Getting started walks you from npm install to a published spec with a live mock URL.
  • Coming from a CI pipeline? GitHub Actions guide shows the non-interactive flow with stable exit codes.
  • Building an AI agent? Agent playbook covers capability discovery, JSON output, and the MCP server.

On this page