Docs generated from your code

Diagrams that document how your product works

SpecDocs connects to your repo and generates a living spec — structured docs, architecture and sequence diagrams, and a Spec AI agent that keeps it all true to the code.

app.specdocs.io · checkout-service · @ a1b2c3d
Section 4 · Behavior

Order placement flow

POST /orders → 201
validate → reserve → charge → emit
Sequence diagram
ClientAPIPaymentsplaceOrder()charge()ok201 Created

One source of truth for the whole team

Specs go stale the moment they leave the code. SpecDocs keeps them wired to it.

Repo → structured spec

Point SpecDocs at a GitHub repo. It indexes the code, detects features, and writes a structured spec document — narrative, behavior, and data model — grounded in what's actually there.

Diagrams that stay honest

Architecture blast-radius, adjacency matrices, and annotated sequence traces are generated from the source, not hand-drawn. Open any figure in the Canvas to explore it.

Spec AI agent

A built-in agent works in Spec, Review, or Code mode with permissioned tool calls — draft sections, verify against the code, and apply changes with you in control.

Living, versioned docs

Every doc carries the real commit SHA. Regenerate as the code moves so the spec never drifts from the product it describes.

From repo to spec in three steps

01

Connect your repo

Sign in with GitHub and pick a repository. SpecDocs reads the code — nothing to copy or paste.

02

Generate the spec

One pass produces the full document and its diagrams: architecture, sequences, and the data model.

03

Explore & share

Read the doc, jump into any diagram on the Canvas, refine with the Spec AI agent, and share a link.

Document your product from the code up

Connect a repo and get a living spec in minutes.