Sentinel AI — client SDK for AI agent governance & identity. Sign agent actions with Ed25519 and enforce them through the Sentinel authorization gateway. Private beta: cosimo@plannest.net
Project description
sentinel-agent-trust
Python client SDK for Sentinel AI — the identity & governance layer for AI agents: control, authorize, and audit autonomous agents before they touch your production APIs.
Sentinel is in private beta. For source access, a hosted sandbox organization key, or to collaborate: cosimo@plannest.net
Install
pip install sentinel-agent-trust
Usage
import os
from agent_trust_sdk import AgentTrustClient, AgentPermissionDeniedException
client = AgentTrustClient(
agent_id="agt_...",
private_key=os.environ["SENTINEL_AGENT_PRIVATE_KEY"], # base64 Ed25519 seed
gateway_url="https://your-gateway.example.com",
)
try:
client.enforce_action("crm.refund.create", "crm://refunds", {"amount": 90})
crm.create_refund(amount=90) # authorized → do the real thing
except AgentPermissionDeniedException as exc:
# final denial: do NOT retry — branch (degrade, escalate to a human, give up)
escalate_to_human(exc.reason, exc.request_id)
Every request is signed with the agent's private Ed25519 key (never sent to
the server) and carries a timestamp + nonce, so requests cannot be replayed.
Denials carry a machine-readable code (permission_denied,
behavioral_limit_exceeded, rate_limited, …) so your agent can branch
instead of looping.
Generate a keypair
python -m agent_trust_sdk.keygen
Register the public key with your Sentinel gateway (POST /v1/agents); keep
the private seed in a secret store.
License
Apache 2.0 — see LICENSE and NOTICE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sentinel_agent_trust-0.1.0.tar.gz.
File metadata
- Download URL: sentinel_agent_trust-0.1.0.tar.gz
- Upload date:
- Size: 10.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
26efc8d57227bcbc6e59776c7dbcfafc7214d7cd12a357987d508e2ff1e73f49
|
|
| MD5 |
fbbbff87b42f295e55887d5300ef92d4
|
|
| BLAKE2b-256 |
61b829df62f03ce7b19a1bb01389c64859a5600a3eabb38a8bc3e3119027c9e2
|
File details
Details for the file sentinel_agent_trust-0.1.0-py3-none-any.whl.
File metadata
- Download URL: sentinel_agent_trust-0.1.0-py3-none-any.whl
- Upload date:
- Size: 12.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e837de9eb19f92843abf7f1f0f569fdf5ffc281fb038e48582b4b4018743005
|
|
| MD5 |
f2a52cb8146f2a3548e2816d7b3176a9
|
|
| BLAKE2b-256 |
58ebfa354f63e86242eb089bfd2534e2913628cea506239036c26b85b1923be0
|