Skip to main content

SW Dev Agent Framework

An agentic framework that does exactly one thing: software development.

Built with TDD. Every line of production code was preceded by a failing test.

What it is

A set of agent skills covering the full software development lifecycle, plus a Python CLI orchestrator that coordinates them.

The framework is a living example of the pattern it encodes: it was built using the same TDD process it teaches agents to follow.

Skills

Phase Skill Purpose
Orchestrator orchestrate-sw-dev-en Coordinates all phases below, in this order
1. Requirements gather-requirements-en Goal -> testable requirements
2. Design design-architecture-en Requirements -> architecture
3. Implement apply-tdd-loop-en Architecture -> tested code
4. Review code-review-en Code -> reviewed + gated
5. Release release-sw-project-en Reviewed code -> tagged release

All skills follow the agentskills.io specification.

Install

uv tool install sw-dev-agent-framework            # CLI + skills API
uv tool install "sw-dev-agent-framework[mcp]"     # + MCP server

Development install from a clone:

uv sync --dev --all-extras

Usage

Pipeline CLI

sw-dev-agent start "Build a Python CLI tool that converts CSV to Markdown tables"
sw-dev-agent status
sw-dev-agent phases
sw-dev-agent --install-completion

Skills API (no git clone needed)

sw-dev-agent serve                 # http://127.0.0.1:8765
sw-dev-agent serve --port 0        # free port, URL is printed
SW_DEV_AGENT_PORT=9000 sw-dev-agent serve
Path Returns
GET /skills JSON list: name, description, path
GET /skills/orchestrator orchestrate-sw-dev-en SKILL.md (text/markdown)
GET /skills/{name} any skill's SKILL.md (text/markdown)
GET /version package version and skills source commit
GET /health {"status": "ok"}
GET /openapi.json the API contract

An agent starts with /skills/orchestrator and fetches each sub-skill it names via /skills/{name}. Skills are returned unchanged.

MCP server (extra [mcp])

One MCP tool per API operation: list_skills, get_orchestrator_skill, get_skill, get_version, get_health.

sw-dev-agent mcp                   # http://127.0.0.1:8765/sw-dev-agent-framework/mcp
sw-dev-agent mcp --stdio           # for clients that start MCP servers as a subprocess

Example for Claude Code:

claude mcp add sw-dev-agent -- sw-dev-agent mcp --stdio

Container (Podman)

./podman_build.sh                  # reentrant
./podman_run.sh                    # API on 127.0.0.1:8765, replaces an existing container
./podman_run.sh mcp                # MCP server instead

Architecture

sw-dev-agent-framework/
- skills/                    one SKILL.md per skill (bundled into the wheel)
- src/sw_dev_agent/
  - phases.py, orchestrator.py   pipeline model
  - cli.py                       start, status, phases, serve, mcp
  - openapi.json                 API contract (API first)
  - catalog.py                   reads bundled skills
  - api.py                       Connexion v3 app
  - server.py                    host/port handling
  - mcp_server.py                OpenAPI -> MCP tools, 1:1
  - build_info.py                version + skills commit
- hatch_build.py             bundles skills, records commit
- Dockerfile, entrypoint.sh, podman_build.sh, podman_run.sh
- tests/                     unit, API, MCP, build, container, e2e
- docs/issue-23/             requirements, architecture, review of 2.0.0

TDD Build History

RED -> GREEN -> REFACTOR:

  1. Phase model (phases.py)
  2. Orchestrator + HandoverState (orchestrator.py)
  3. Skill spec compliance (all six skills)
  4. 2.0.0: catalog, packaging, API, CLI serve, MCP adapter, container files, license metadata - built with this framework's own skills (see docs/issue-23/)

License

Skills: CC BY-NC-SA 4.0 | Code: MIT

See LICENSE and LICENSES/. SPDX: MIT AND CC-BY-NC-SA-4.0.

Metadata

Release files for sw-dev-agent-framework 2.0.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 sw-dev-agent-framework 2.0.0
File Size Uploaded Provenance Actions
sw_dev_agent_framework-2.0.0.tar.gz 50.0 kB With provenance Details for sw_dev_agent_framework-2.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sw-dev-agent-framework 2.0.0
File Interpreter ABI Platform Actions
sw_dev_agent_framework-2.0.0-py3-none-any.whl Python 3 none any Details for sw_dev_agent_framework-2.0.0-py3-none-any.whl

Total release size: 91.0 kB

Release files / sw_dev_agent_framework-2.0.0.tar.gz

Download URL sw_dev_agent_framework-2.0.0.tar.gz
Size 50.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c59adbd7a6c6e625b92d31a9aa0d849ce40d89d0f2d11359f378e92e56f63bdb
BLAKE2b-256 checksum
How to use checksums
b91f2547465a3f83ee920a9e305078042b620473b3686d08c83fbfa44edad648
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 17, 2026.

Transparency log

Release files / sw_dev_agent_framework-2.0.0-py3-none-any.whl

Download URL sw_dev_agent_framework-2.0.0-py3-none-any.whl
Size 41.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3cdb0c296c81c5dfed326be10f1c9bc65bf1cc34f991f1f74a2f1cbe7486439e
BLAKE2b-256 checksum
How to use checksums
eb4d237396f9cbd9d2b38af9de9888a8aa63786d4534cac1efe41b92ffb3cf4f
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 17, 2026.

Transparency log

Security for sw-dev-agent-framework 2.0.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 sw_dev_agent_framework-2.0.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 17, 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.

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