Skip to main content

Carapace Protocol SDK — trust enforcement, provenance, compliance profiles, and escalation workflows for AI agents

Project description

carapace-sdk Python package

Python package for the Carapace Protocol v0.4.0 trust stack.

pip install carapace-sdk
from carapace import enforce, make_expires_at

card = {
    "id": "agent-1",
    "capabilities": [{"id": "carapace:read:calendar"}],
    "expires_at": make_expires_at(ttl_hours=24),
}

enforce(card, "carapace:read:calendar")

The package source lives in python/carapace; the project source of truth is https://github.com/relayforge-ai/carapace-protocol.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

carapace_sdk-0.5.0.tar.gz (53.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

carapace_sdk-0.5.0-py3-none-any.whl (39.9 kB view details)

Uploaded Python 3

File details

Details for the file carapace_sdk-0.5.0.tar.gz.

File metadata

  • Download URL: carapace_sdk-0.5.0.tar.gz
  • Upload date:
  • Size: 53.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for carapace_sdk-0.5.0.tar.gz
Algorithm Hash digest
SHA256 8d429df22842e3ae66eaf5a66321c1baa398b02bec89483d3b5e6c3f925e20ba
MD5 8f0e2d36285ad9d5b71e5e358df0b795
BLAKE2b-256 d16abb14a803bb2681e74b450f02adac2b58c81067fd5fd96dda1aa56da41e5d

See more details on using hashes here.

Provenance

The following attestation bundles were made for carapace_sdk-0.5.0.tar.gz:

Publisher: publish.yml on relayforge-ai/carapace-protocol

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file carapace_sdk-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: carapace_sdk-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 39.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for carapace_sdk-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5b6cf7a6d76db38626c6ea8d526b9ead045f260433b328ed5974b303cf71f1cf
MD5 d7f7b6e5768e44189a54ef2a83d80e1a
BLAKE2b-256 21c573b41de1a0e6d8397e5bc425545d9b8ee1e9afd370aef01c6d82fba42358

See more details on using hashes here.

Provenance

The following attestation bundles were made for carapace_sdk-0.5.0-py3-none-any.whl:

Publisher: publish.yml on relayforge-ai/carapace-protocol

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page