Skip to main content

tuff-sdk

The Tuff SDK for Python. Install, update, and remove agent capability packs (skills, MCP servers, and hooks for Claude Code, Codex, Cursor, OpenCode, Pi, and Open Agents) from a Python application, with a plan you can show before anything is written.

pip install tuff-sdk
import tuff_sdk as tuff

workspace = tuff.Workspace.open("my-project")
pack = tuff.Pack.checkout("https://github.com/example/review-pack", targets=["claude"])

plan = workspace.plan_install(pack, ["claude"])
for file in plan.files:
    print(file.change, file.path)

workspace.apply(plan)

The module runs the same Rust code as the tuff command, in process. It never prints: notes and warnings are lists on the results. Errors are tuff_sdk.TuffError subclasses with kind and hint.

The API is 0.x and can change in a minor release. Guide: Tuff from Python. The command-line tool is the separate tuffcli package.

Metadata

Release files for tuff-sdk 0.21.1

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

Built distributions (wheels)

Table of built distributions (wheels) for tuff-sdk 0.21.1
File Actions
tuff_sdk-0.21.1-cp39-abi3-manylinux_2_28_x86_64.whl CPython 3.9 abi3 Linux glibc 2.28+ x86-64 Details for tuff_sdk-0.21.1-cp39-abi3-manylinux_2_28_x86_64.whl
tuff_sdk-0.21.1-cp39-abi3-manylinux_2_28_aarch64.whl CPython 3.9 abi3 Linux glibc 2.28+ ARM64 Details for tuff_sdk-0.21.1-cp39-abi3-manylinux_2_28_aarch64.whl
tuff_sdk-0.21.1-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details for tuff_sdk-0.21.1-cp39-abi3-macosx_11_0_arm64.whl
tuff_sdk-0.21.1-cp39-abi3-macosx_10_12_x86_64.whl CPython 3.9 abi3 macOS 10.12+ x86-64 Details for tuff_sdk-0.21.1-cp39-abi3-macosx_10_12_x86_64.whl

Total release size: 8.2 MB

Release files / tuff_sdk-0.21.1-cp39-abi3-manylinux_2_28_x86_64.whl

Download URL tuff_sdk-0.21.1-cp39-abi3-manylinux_2_28_x86_64.whl
Size 2.2 MB
Tags CPython 3.9 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
0347db532a9d17c9f257067f285fc5f37e92b5babe07610ef110ed047ebfe8d1
BLAKE2b-256 checksum
How to use checksums
bb3cdc6719a3541e8a731cfcc187656d053744783f35f6f8604924d3ed4ec6ec
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 28, 2026.

Transparency log

Release files / tuff_sdk-0.21.1-cp39-abi3-manylinux_2_28_aarch64.whl

Download URL tuff_sdk-0.21.1-cp39-abi3-manylinux_2_28_aarch64.whl
Size 2.1 MB
Tags CPython 3.9 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
e6a077b0e51a72a7c99b85ad591ab7018756a65ae5ec82e5d3212c1d20a41739
BLAKE2b-256 checksum
How to use checksums
ef01b06d28b56ae2d0c8fbd00b22c3033301a35c402b7a35d3e40c04936c34f9
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 28, 2026.

Transparency log

Release files / tuff_sdk-0.21.1-cp39-abi3-macosx_11_0_arm64.whl

Download URL tuff_sdk-0.21.1-cp39-abi3-macosx_11_0_arm64.whl
Size 1.9 MB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
d2021b340ae0fedefe345e97467f0ede27ad3ccea425e563dc525cc6158ba402
BLAKE2b-256 checksum
How to use checksums
e7830762cc532498b240ec19afdc9af03353b7c3b7cd522c295ed14ecd386533
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 28, 2026.

Transparency log

Release files / tuff_sdk-0.21.1-cp39-abi3-macosx_10_12_x86_64.whl

Download URL tuff_sdk-0.21.1-cp39-abi3-macosx_10_12_x86_64.whl
Size 2.0 MB
Tags CPython 3.9 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
925710bee3cc3de787e592aaaf0b3b7a31a0aa1d64747eb99e1f45331dd0058d
BLAKE2b-256 checksum
How to use checksums
4df40e3383c687b5fd86b350837154a557d9133b9dae78cfbd679e0b60734df1
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 28, 2026.

Transparency log

Security for tuff-sdk 0.21.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

All 4 files in this release have been uploaded with provenance metadata.

Select from 4 files

Attestation for tuff_sdk-0.21.1-cp39-abi3-manylinux_2_28_x86_64.whl

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 28, 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.21.1 This release

4 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