Python package for the Carapace Protocol v0.4.0 trust stack.
pip install carapace-sdkfrom 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.