Quickstart
Get up and running with Checkrd in under 5 minutes.
Quickstart
Get up and running with Checkrd in under 5 minutes.
Installation
Install the Checkrd SDK for your language:
bash
pip install checkrdBasic Usage
Wrap your HTTP client with Checkrd to enforce policies on every outbound request:
python
from checkrd import wrap
import httpx
client = wrap(
httpx.Client(),
agent_id="my-agent",
policy="policy.yaml",
)
response = client.get("https://api.salesforce.com/data")No code changes required
Checkrd wraps your existing HTTP client. Your agent code does not need to change.
Create a Policy
Create a policy.yaml file to define which APIs your agent can access:
yaml
version: "1"
default_action: deny
rules:
- action: allow
hosts:
- "api.salesforce.com"
methods:
- GET
- POSTNext Steps
- Policy Engine -- learn how policy evaluation works
- Python SDK Reference -- full API documentation