Skip to main content
This walks you from zero to a live BLOCK decision returned by the Akhara PDP.

Prerequisites

  • Node.js 18+ (for the CLI and the TypeScript PEP)
  • An Akhara workspace and API key from console.akhara.dev
  • An agent you can put a thin gate in front of

1. Install the CLI & SDK

2. Authenticate

Grab a workspace key from the console and point the SDK at the managed PDP:
https://api.akhara.dev is the managed PDP. Enterprises running a dedicated or VPC deployment set AKHARA_URL to their own workspace endpoint.

3. Onboard an agent

4. Latch policies onto it

Attach two domain policies on top of the always-on baseline:

5. Enforce a verdict

Embed the PEP and gate a proposed model output:
Or hit the API directly:

6. Confirm it landed in the evidence feed

Open the console at console.akhara.devHome → Live Enforcement Feed. Your BLOCK appears with the rule, matching policy, and the original output that was withheld.

Next: understand the model

See how the PDP, PEP, latching, and the five enforcement stages fit together.