Documentation

Where are the KHEPRA docs?

Protocol reference, SDK guides, and API docs. Written for the engineer who has to make it work by Monday.

By Yao Nouchi, Founder & Principal Engineer, SecRed Knowledge Inc.U.S. Army veteran · Active DoD Secret clearance · CMMC & STIG practitionerLast updated August 2026
Short answer

KHEPRA's documentation covers get-started guides, the full protocol spec, identity and key management, policy authoring, agent runtime, and connectors — all on this page. Search below or jump straight into the API reference in TypeScript, Python, Go, or REST.

Last updated August 2026

API reference

Prove one action in any language.

import { Khepra } from "@khepra/sdk";

const kh = new Khepra({ apiKey: process.env.KHEPRA_KEY! });
const session = await kh.session.start({
  actor: "did:khepra:agent/finance#v3",
  policyBundle: "cmmc.l2@2026.07",
});

const d = await session.authorize({
  type: "tool.invoke",
  target: "conn:snowflake/warehouse.reports",
});

if (d.allow) {
  const out = await snowflake.query(d.obligations);
  await session.attest({ inputs: d.inputs, outputs: out });
}
Have questions?

Join the developer community on Discord or open an issue in the reference code.

Enterprise support

Get a named architect, fast SLA-backed support, and hands-on help for regulated deployments.

See enterprise plans

Questions people ask before they buy

Where are the KHEPRA docs?

Right here. Use the search bar above or browse by topic — get started, protocol, identity, policy, runtime, and connectors — to find the guide or API reference you need.

How do I sign my first action?

Follow the Quickstart guide. It walks you through signing and proving your first action in under 10 minutes using the TypeScript, Python, or Go SDK.

What is did:khepra?

It's KHEPRA's DID method — a way to identify and link agents and users so every signed record ties back to a real actor, not an anonymous process.

Can I test policy rules before they go live?

Yes. The Policy section covers authoring bundles, adding obligations like masking or human review, and simulating new rules against real past evidence first.

How do I get help if the docs don't answer my question?

Join the developer community on Discord, open an issue in the reference code on GitHub, or contact enterprise support for a named architect and SLA-backed help.