Docs navigation

SDKs

Two official SDKs with identical semantics. Hash chains and Ed25519 signatures are byte-compatible across both — an event signed in Python verifies in TypeScript, and both verify in the dashboard.

Install

# TypeScript / JavaScript — Node 18+, ESM + CJS, zero runtime dependencies
npm install @proofledger/sdk

# Python — 3.9+, stdlib-only core
pip install proofledger
pip install 'proofledger[signing]'   # optional: Ed25519 signed events

One API surface

CapabilityTypeScriptPython
InitializeProofLedger.enable({...})enable(...)
Register identityregisterAgent()register_agent()
Attach identityidentifyAgent(id, key)identify_agent(id, key)
Log a decisionlogDecision({...})log_decision(...)
Log a tool/MCP calllogToolCall({...})log_tool_call(name, ...)
Log an API calllogApiCall({...})log_api_call(endpoint, ...)
Workflow stepslogWorkflowStep({...})log_workflow_step(id, ...)
Policy pre-checkevaluatePolicy({...})evaluate_policy(...)
Sign / verify eventssignEvent / verifyEventsign_event / verify_event
Trust scoregetTrustScore()get_trust_score()
Flush before exitflush()flush()
LLM run tracingtrack / withRun / wrapOpenAItrack / with_run / wrap_openai

Dive in