One call before every payment. Budgets, approvals, anomaly detection and a tamper-proof ledger, decided at the edge.
Create a workspace. Each agent gets its own scoped key.
Before paying: allowed, denied or pending, with the reason and an anomaly score.
After paying: chained into the ledger, signed receipt returned.
Korval sits in the payment path of your agent's code and answers in milliseconds.
Budgets, allowlists, caps and human approvals.
IF/THEN rules on spend, balance and anomalies.
z-scores on amount and velocity, per vendor.
Backtest policy.json on real history.
Verify the full history in one click.
Proof a spend was authorized.
Denials, approvals, anomalies, pushed to you.
Stream, ledger, request log, playground.
Plain HTTP, verifiable cryptography, no SDK required.
HTTPS + JSON. Any language, any agent framework.
Workspace keys, plus scoped agent keys (ak_…) that can only act as one agent.
Idempotency keys. A retry never charges twice.
Budgets, allowlists, daily caps, approvals, anomaly holds.
SHA-256 hash chain. Any edit breaks the chain.
HMAC-SHA256 signed. Public verify endpoint.
Signed with t= / v1= HMAC headers.
Edge workers + SQLite. Global, always on.
None held. Your agents pay. Korval decides and records.
Hold to unlock more agents and automations. Part of protocol fees buys back $KORVAL.