How do I build on KHEPRA? SDKs, connectors, and docs.
SDKs, signed connector kits, and policy bundles. Everything you need to plug your stack into the KHEPRA Trust Network and start proving what your agents do.
Install the KHEPRA SDK in TypeScript, Python, or Go, sign every agent action with quantum-safe crypto, and check it against a tamper-proof record chain. Request early access below and you can prove your first action in under 20 lines of code.
Last updated August 2026
TypeScript, Python, Go. Sign every action, check every record, control every tool.
Build signed connectors that only reach what you say they can.
Write and test your rules against real past evidence before you trust them.
How records are built, checked, and locked so they hold up in an audit.
Prove one action in under 20 lines of code.
import { Khepra } from "@khepra/sdk";
const kh = new Khepra({
actor: "did:khepra:agent/finance-copilot#v3",
policyBundle: "cmmc.l2@2026.07",
});
const session = await kh.session.start({ onBehalfOf: "did:khepra:user/j.okafor" });
const decision = await session.authorize({
type: "tool.invoke",
target: "conn:snowflake/warehouse.reports",
intent: "generate_q3_ap_summary",
});
if (decision.allow) {
const output = await tools.snowflake.query(decision.obligations);
await session.attest({ inputs: decision.inputs, outputs: output });
}Get early access to the SDKs.
Questions people ask before they buy
How do I start building on KHEPRA?
Request early access below, then install the TypeScript, Python, or Go SDK. You can sign and prove your first action against the KHEPRA Trust Network in under 20 lines of code.
What languages does the KHEPRA SDK support?
TypeScript, Python, and Go today, plus a plain REST API for anything else. Every release ships signed and checksum-verified so you know the code you're running is real.
What is a connector kit?
A signed package that limits exactly what an agent or tool can reach. You build it once, sign it, and it only touches what you say it can — nothing more.
Can I test my policy rules before going live?
Yes. Policy Studio lets you write rules and run them against real past evidence first, so you catch a bad rule before it blocks — or allows — the wrong thing in production.
Is the KHEPRA protocol documented anywhere?
Yes. Protocol docs cover exactly how records get built, signed, and checked so the evidence holds up in a real audit — not just in a demo.