Skip to main content

solo-sdd

solo-sdd is a spec-driven development process for AI coding agents: a change counts as done only after a live check and a review by an agent that did not write it. It works for one person or a team, with Claude Code, Codex or any agent that reads AGENTS.md.

PyPI npm Tests License: MIT

Quick start

You need Python 3.9+, git and a coding agent.

pip install solo-sdd
solo-sdd install --hooks
cd ~/code/my-project
solo-sdd init

solo-sdd alone, in a terminal, opens a menu: the project and machine settings, the open changes, doctor, the command list, and Prepare this folder in a repository not prepared yet. solo-sdd install puts the skills into the agent folders of your home; --hooks connects the Claude Code hooks that enforce the rules (with Codex alone, run it without --hooks). solo-sdd init sets up the process in the project's git repository: three questions, Enter accepts each proposal. Then, inside the project, in the agent:

  1. /project-init: the project rules in AGENTS.md and .env.example.
  2. /spec-plan with a plan, a bug list or an idea: a queue of small changes in solo-sdd/changes/.
  3. /spec-next: one change from selection to archive: code, tests, a live check, a review by another agent, delivery.

To see one full cycle before your own code, run the demo: examples/demo/WALKTHROUGH.md, about five minutes.

One change, start to finish

A change is a folder. This is the demo's split-bill, which adds --people to a tip calculator:

solo-sdd/changes/split-bill/
├── proposal.md       why, what changes, what is out of scope
├── specs/tip/spec.md the new requirement and its scenarios
├── verification.md   the live scenario, written before the code
└── tasks.md          at most 10 tasks, each with its proof
The requirement in specs/tip/spec.md, shortened
### Requirement: Split between people
With `--people <n>`, `tip.py` SHALL print a second line `each <share>`, where
the share is the total divided by `n` and rounded up to a cent.

#### Scenario: Four people
- **WHEN** the user runs `python3 tip.py 40 15 --people 4`
- **THEN** it prints `tip 6.00, total 46.00` and then `each 11.50`

/spec-next split-bill then runs without questions:

  1. Checks the change against itself and the main specs before any code.
  2. Writes a failing test for each scenario, then the code.
  3. Runs the whole suite and the live scenario: python3 tip.py 40 15 --people 4 must print each 11.50.
  4. Hands the diff to another agent, which accepts it requirement by requirement.
  5. Archives the change: its requirement moves into solo-sdd/specs/tip/spec.md, and the work is committed.

Why

  • An agent reports success once the unit tests pass. solo-sdd closes a change only after its live scenario passed on real input and another agent accepted it requirement by requirement.
  • Requirements live next to the code. Every change carries its own delta, and archiving the change applies it to the specs.
  • A change has at most 10 tasks; a larger plan becomes a queue of changes with explicit dependencies.
  • The agent records each decision in the change instead of asking, and stops only before paid calls, deleting data or an action on prod.
  • In Claude Code, hooks refuse a premature "done", the wrong model for a review and edits to a change another session took.
  • In solo mode changes merge locally; in team mode they go through pull requests that a person merges. Ready changes can run in parallel, one agent per change.

Skills

Stage Skills
Plan /project-init prepares a project, /spec-plan turns a plan into changes, /spec-analyze checks a change before code
Build /spec-next takes one change to the archive, /spec-dispatch runs ready changes in parallel, /codex-orchestration hands units to Codex
Check /spec-audit code against the spec, /ui-check an interface against the mockup, /copy-check product texts, /debug-profile a failing service or bug, /agent-quality an AI agent's answers
Deliver /ship commit, push, pull request, merge
Status /work-status five lines on the state, /context-resume the context after a pause, /evidence-research a choice on checked facts
Manual /relay another agent's report, /blockers blockers into changes, /report a summary for a period, /health the project's integrations, /changes a table of change states

A long skill keeps the order of its steps in SKILL.md and the body of a long step in a step file next to it (skills/<name>/<step>.md), which the step's line says to read each time the step starts: after compaction Claude Code re-attaches only the first 5,000 tokens of a skill, and a test keeps every SKILL.md within 16,000 bytes.

Requirements

  • Python 3.9+, git; Node 20+ only for the solo-sdd npm wrapper.
  • Claude Code, Codex or another agent that reads AGENTS.md, see Supported agents.

Some skills use extra tools (all optional, needed only for their own skill):

  • gh (GitHub CLI): pr mode of spec-dispatch and sdd_pr.py, PRs in ship;
  • codex (Codex CLI): codex-orchestration;
  • a browser for automation: ui-check;
  • a style skill for a language other than English: that language in copy-check;
  • docker compose: health and debug-profile, if the project runs through it;

Installation

pip install solo-sdd
uv tool install solo-sdd
pipx install solo-sdd
npm i -g solo-sdd

Any one of them. The npm package is a wrapper over the same Python code and needs Python 3.9+ in PATH. The unreleased main: pip install git+https://github.com/veraetogrex-portfolio/solo-sdd. From a clone: git clone https://github.com/veraetogrex-portfolio/solo-sdd, then python3 sync.py push in it. Where the files go: docs/layout.md.

Supported agents

  • Claude Code: rules, skills, hooks and subagents, everything solo-sdd has.
  • Codex: rules, skills and subagents; hooks are not verified.
  • Any other agent that reads AGENTS.md: rules and skills.

The full table with probed versions: docs/agents.md.

How it stops

There is no token budget: a run stops by rounds and proofs.

  • one run takes one change;
  • at most process.review-rounds review rounds (default 5), plus one extra round after the second or later when every open Important finding lies only in the lines of the last fix, then the findings go to "not verified" and the change is not archived;
  • the same edit failed twice: stop and find the cause;
  • a failed live scenario means "not done";
  • a paid call, deleting data or an action on prod: stop and ask.

Every condition with the file that enforces it: docs/stop-conditions.md.

Update and uninstall

pip install -U solo-sdd
solo-sdd update

The home menu (solo-sdd in a terminal) and solo-sdd doctor check for a newer version at most once a day; after you confirm, the menu's Update entry runs the upgrade and solo-sdd install, then asks before solo-sdd init in a project with older rules. SOLO_SDD_NO_UPDATE_CHECK=1 turns the check off (Update check).

solo-sdd init in a project refreshes its rules block. solo-sdd doctor checks the environment when something does not work. To remove the copies and hooks from your home folder (--purge also removes solo-sdd's data folder; the projects keep their solo-sdd/ trees):

solo-sdd uninstall
pip uninstall solo-sdd

Docs

Contributing

What each version changed is in CHANGELOG.md. Bugs and ideas go to issues; how to propose a change: CONTRIBUTING.md.

License

MIT, see LICENSE.

Metadata

Release files for solo-sdd 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for solo-sdd 0.3.0
File Size Uploaded Provenance Actions
solo_sdd-0.3.0.tar.gz 1.0 MB With provenance Details for solo_sdd-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for solo-sdd 0.3.0
File Interpreter ABI Platform Actions
solo_sdd-0.3.0-py3-none-any.whl Python 3 none any Details for solo_sdd-0.3.0-py3-none-any.whl

Total release size: 1.6 MB

Release files / solo_sdd-0.3.0.tar.gz

Download URL solo_sdd-0.3.0.tar.gz
Size 1.0 MB
Tags Source
SHA-256 checksum
How to use checksums
d2743cecf121f4be1a04b388cc7ed75a9b89366e5744dfa5c93cab9d018952f4
BLAKE2b-256 checksum
How to use checksums
58143fc993111357d8e7611e08e263e9d91adecbf950cbe4e5426d1fe9ec3e73
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Release files / solo_sdd-0.3.0-py3-none-any.whl

Download URL solo_sdd-0.3.0-py3-none-any.whl
Size 513.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b730714551fac76b838a1cd7d7ca34f542e6e5f079cfcc369d8507834a9540cd
BLAKE2b-256 checksum
How to use checksums
4ad643dd8388dcc0b4a8aa76dc6dcb192a61e76a26207bd6bd3b6d8f4602c6cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Security for solo-sdd 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for solo_sdd-0.3.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page