Supported runtimes
Android dependencies
The reference Kotlin client depends on:Configuration
Network posture
Egress
Outbound HTTPS from the agent runtime to the PDP only. The PDP does not
call back into your runtime or tools.
Latency budget
Each gated step blocks on one round-trip. Budget for it; a slow PDP degrades
to blocked, never to unguarded.
Host allowlist
Sandbox boundaries restrict egress to the workspace domain
(e.g.
*.internal.akhara.dev) plus the PDP.Secrets
Agent
baseUrl/API keys are held server-side by the PDP and never returned
in reads (only a masked key).What the PEP guarantees
- Synchronous: resolves to a verdict before your side effect runs.
- Fail-closed: any error, timeout, or unrecognized verdict →
BLOCK(reliability-4·Fail-Closed Defaults). See Fail-closed. - Stateless: no local policy cache to go stale; the PDP is the single source of truth.
- Evidence-emitting: every call is logged by the PDP without extra work in your code.
Pick your language
TypeScript
@akhara/pep for Node runtimes.Kotlin / Android
The shipped
AkharaPolicyClient + PolicyEnforcementPoint.