Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

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.