DEVELOPER DOCUMENTATION

Integrate with rules.

KAVRYN routes agent proposals through versioned policies, simulation, and onchain authorization. The current testnet build fails closed until a verified account session and execution path exist.

1. Connect a wallet

Sign a one-time challenge in the app. Create a scoped API key under Developers. Raw keys are shown once and stored only as keyed hashes.

2. Create a policy

Use the policy builder to save a deterministic draft. The rule hash identifies the exact version. Drafts do not alter onchain permission.

3. Propose an action

Submit target, value in wei, calldata, and a unique nonce. Unknown targets, missing sessions, and unavailable simulation are rejected.

POST /api/v1/proposals
Authorization: Bearer kav_…
Content-Type: application/json

{
  "agentId": "uuid",
  "target": "0x…",
  "value": "0",
  "calldata": "0x",
  "nonce": "1"
}

API resources

/api/v1/agents · /api/v1/accounts · /api/v1/policies · /api/v1/proposals · /api/v1/activity · /api/v1/keys

All chain amounts are decimal strings. Do not convert wei or token base units through JavaScript floating-point arithmetic.

Open developer panel