Skip to main content

swarmkit-runtime

Python runtime for SwarmKit. Interprets topology files, compiles them into LangGraph StateGraphs, enforces governance via the GovernanceProvider abstraction (AGT-backed in v1.0), and exposes the swarmkit CLI plus a persistent HTTP server.

Layout

src/swarmkit_runtime/
├── cli/                 # Typer-based CLI: init, author, run, serve
├── topology/            # Topology loader, validator, resolver (archetype + skill refs)
├── skills/              # Skill registry, category-specific semantics, composition
├── archetypes/          # Archetype registry and instantiation
├── governance/          # GovernanceProvider interface + AGTGovernanceProvider impl
├── langgraph_compiler/  # Topology → StateGraph compilation (design §14.3)
├── mcp/                 # MCP client, server lifecycle, sandbox supervision
└── audit/               # Append-only audit log adapters, skill gap log surfacing

Design references

  • §7 Architectural Principles — topology as data, portability, never lock-in
  • §8 Separation of Powers — governance/ module is the SwarmKit side; AGT is the implementation
  • §9 System Architecture — this package is component #1 of 3
  • §14 Runtime Architecture — three execution modes (one-shot, persistent, scheduled)

Entry points (design §14.2)

Command What it does
swarmkit init Launch Workspace Authoring Swarm in terminal chat mode
swarmkit author topology [name] Launch Topology Authoring variant
swarmkit author skill [name] Launch Skill Authoring Swarm
swarmkit author archetype [name] Launch Archetype Authoring variant
swarmkit run topology.yaml One-shot execution
swarmkit serve workspace/ Persistent / scheduled mode

Development

uv sync --package swarmkit-runtime
uv run pytest packages/runtime/tests
uv run swarmkit --help

Metadata

Release files for swarmkit-runtime 1.265.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 swarmkit-runtime 1.265.0
File Size Uploaded Provenance Actions
swarmkit_runtime-1.265.0.tar.gz 1.3 MB Without provenance Details for swarmkit_runtime-1.265.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for swarmkit-runtime 1.265.0
File Interpreter ABI Platform Actions
swarmkit_runtime-1.265.0-py3-none-any.whl Python 3 none any Details for swarmkit_runtime-1.265.0-py3-none-any.whl

Total release size: 2.2 MB

Release files / swarmkit_runtime-1.265.0.tar.gz

Download URL swarmkit_runtime-1.265.0.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
ff6cd3317a5154698621734d22528e779d062c53a3ce9fd2f59c5418e97cb4e4
BLAKE2b-256 checksum
How to use checksums
5858ed368df3085f99b4ccdfb1aa3339bad9cda746f57541f493b0045f93bbb8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / swarmkit_runtime-1.265.0-py3-none-any.whl

Download URL swarmkit_runtime-1.265.0-py3-none-any.whl
Size 896.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bb42b01e6156c9002d93bfde39d9b66411bdeb6f55aaf38a4a6f2e315b3fd812
BLAKE2b-256 checksum
How to use checksums
6d0d96e96ae4510c4c93ad0cff56b1118336afc3e762d7ee4d83f6f94280bbd0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for swarmkit-runtime 1.265.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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

1.265.0 This release

2 release files No 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