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:
- Phase model (phases.py)
- Orchestrator + HandoverState (orchestrator.py)
- Skill spec compliance (all six skills)
- 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.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sw_dev_agent_framework-2.0.1.tar.gz | 50.6 kB | With provenance | Details for sw_dev_agent_framework-2.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sw_dev_agent_framework-2.0.1-py3-none-any.whl | Python 3 | none | any | Details for sw_dev_agent_framework-2.0.1-py3-none-any.whl |
Total release size: 91.7 kB
Release files / sw_dev_agent_framework-2.0.1.tar.gz
| Download URL | sw_dev_agent_framework-2.0.1.tar.gz |
|---|---|
| Size | 50.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f75308d30a6d439882f9b11fe6ad351bb2f8517f6bf51b2de834927bd39353ba
|
|
BLAKE2b-256 checksum How to use checksums |
88c6727c299b75e79012775e8bf4683597a85645f5b1b2c4c97a56babf3ba53a
|
| 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 logRelease files / sw_dev_agent_framework-2.0.1-py3-none-any.whl
| Download URL | sw_dev_agent_framework-2.0.1-py3-none-any.whl |
|---|---|
| Size | 41.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4107458a3dcbae70e67a3f7db6ec302274c818c577ba4139160cc3fe31d5959d
|
|
BLAKE2b-256 checksum How to use checksums |
e9930c15776d92dc17b26862fd3d8f00e4df9e510957deba74e609604d00196d
|
| 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 logSecurity for sw-dev-agent-framework 2.0.1
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.
Attestation for sw_dev_agent_framework-2.0.1.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 logA 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.