Docs

Docs

Quickstarts, concepts, API reference and SDK guides for integrating Knowledge into your stack.

Everything you need to consult Knowledge from your stack, wrap a business tool with signed authorization, or wire an MCP host to Knowledge tools.

Getting started

PageDescription
What is Knowledge ?Two minutes on the mental model and vocabulary.
Quickstart : create your first policyFrom empty tenant to first /resolve returning a real verdict, in about 30 minutes. The author path.
Quickstart : governed tool in PythonTwo patterns for signed-verdict enforcement on a Python tool : verify a verdict you receive, or let a decorator self-consult.
Quickstart : Knowledge as an MCP serverWire the Knowledge MCP server into Claude Desktop / Cursor / any MCP host so the agent can query, check, and request approvals as tool calls.

Concepts

Deeper explanations of the core abstractions.

PageDescription
Policies, rules and targetsThe three core aggregates.
Verdicts and decisionsSeverity ladder, precedence, Consultation record.
Signed verdicts and PEPThe JWS envelope, binding checks, spent-verdicts.
Progressive context resolutionThe /resolve loop and dependency inversion.
Overrides, approvals, pausesThe three governed exception mechanisms.
Four-actor trust modelWho signs, who verifies, what each edge guarantees.

API reference

EndpointDescription
AuthenticationAPI keys, session cookies, principal binding.
POST /v1/checkDeterministic verdict, strict context.
POST /v1/resolveProgressive verdict, tolerant context.
GET /v1/tenants/{slug}/jwksJWKS for signature verification.
GET /v1/consultations/{id}Retrieve a Consultation record.
/v1/approvalsCreate, poll, decide.

Full OpenAPI spec at docs/api/openapi-v3.json in the monorepo. Postman collection : docs/api/postman/knowledge-v3.postman_collection.json.

SDK reference

PageDescription
knowledge-runtime (Python)@governed_tool, verify_verdict, JWKS cache, guard-rails.
TypeScript SDK [Roadmap]Feature parity with Python planned for Q4-2026.

MCP server

PageDescription
Tools referenceThe eight tools the Knowledge MCP server exposes, with parameters and return format.

Guides

PageDescription
Wrap your own MCP server with enforcementThe pattern for gating an MCP server's tool calls with Knowledge signed verdicts. Reference example in the monorepo.
Rotate signing keysScheduled + emergency rotation.
Multi-tenant setupRun multiple tenants on one deployment.
Migrate from advisory to enforcementThe three-stage playbook.
Emergency responseKill switch, key rotation, downgrade.

Security + compliance

PageDescription
Trust model deep diveFour-actor chain, edge-by-edge threats.
Keys inventoryAll four cryptographic keys, storage, rotation.
Deployment shapesSaaS, VPC, on-prem trade-offs.
Compliance postureCertifications, residency, retention, threat model.

Send feedback to contact@asplenz.com.