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.269.4

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.269.4
File Size Uploaded Provenance Actions
swarmkit_runtime-1.269.4.tar.gz 1.3 MB Without provenance Details for swarmkit_runtime-1.269.4.tar.gz

Built distribution (wheel)

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

Total release size: 2.2 MB

Release files / swarmkit_runtime-1.269.4.tar.gz

Download URL swarmkit_runtime-1.269.4.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
44dbb6d49c423f03816ffadc1dab48f2717f4946147115f7a3753c667a8735f5
BLAKE2b-256 checksum
How to use checksums
a4450d3350cbd2bdcf1b651eb92fb219423a9c3cc08fd55d399e09e64ae44e74
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","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.269.4-py3-none-any.whl

Download URL swarmkit_runtime-1.269.4-py3-none-any.whl
Size 920.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
09d63e50629a3a5423be378c708a7923ace5409cf2754fbc98e10b071e6ec1ba
BLAKE2b-256 checksum
How to use checksums
c17aedae354d7e18a455ae451c1399c7258612927fe5800e0bd95c5d10ebe78e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","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.269.4

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.269.4 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