Metadata-Version: 2.4
Name: carapace-sdk
Version: 0.4.0
Summary: Carapace Protocol SDK — trust enforcement, provenance, compliance profiles, and escalation workflows for AI agents
Author-email: Ryan Anderson <ryan@relayforge.tools>
License-Expression: Apache-2.0
Project-URL: Homepage, https://relayforge.tools
Project-URL: Documentation, https://relayforge.tools/docs/carapace
Project-URL: Repository, https://github.com/relayforge-ai/carapace-protocol
Project-URL: Issues, https://github.com/relayforge-ai/carapace-protocol/issues
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: cryptography>=41.0.0
Requires-Dist: canonicaljson>=2.0.0
Requires-Dist: httpx>=0.25.0
Requires-Dist: pydantic>=2.0.0
Provides-Extra: dev
Requires-Dist: pytest>=7.0; extra == "dev"
Requires-Dist: pytest-asyncio>=0.21; extra == "dev"

# carapace-sdk Python package

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

```bash
pip install carapace-sdk
```

```python
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.
