Documentation

Integration guide.

Install v0.5.0, establish mediated executor boundaries, and verify action traces and checkpoints.

01 / Install

Install the verified PyPI release.

Python 3.10+ is required. Tempus DDB is published to PyPI with Trusted Publishing and Sigstore attestation on every artifact — verify the provenance before you trust the binary, not just the package name.

python -m pip install tempus-ddb

For development, or to inspect the attested source before installing:

git clone https://github.com/elbuilder77/tempus-ddb.git cd tempus-ddb python -m pip install -e ".[dev]"

View verified package on PyPI · Platform-specific wheels & SBOM are available as GitHub Release assets.

02 / Basic flow

Request and execution flow

  1. The agent signs an exact tempus.action-intent.v1 request.
  2. Tempus verifies identity and deterministic policy, then returns ALLOWED or BLOCKED.
  3. An executor with the downstream credential consumes an allowed permit once.
  4. The executor signs an outcome; Tempus records a linked receipt and a reader can verify the trace.

The requesting agent must not hold the executor's environment, credential or signing key. That separation—not a human approval click—is the security boundary.

03 / Stable contracts

Stable schemas

EvidenceSchema
Agent intenttempus.action-intent.v1
Signed permittempus.authorization-receipt.v1
Executor outcometempus.action-outcome.v1
Execution receipttempus.execution-receipt.v1
Complete tracetempus.action-trace.v1
Verification resulttempus.trace-verification.v1
Event stream itemtempus.event-stream-event.v1
Signed checkpointtempus.checkpoint.v1
Checkpoint verificationtempus.checkpoint-verification.v1

Read the compatibility policy before changing a deployed integration.

04 / Integration

Executor integration

The unified ExecutorRuntime and packaged adapters (GitHub, HTTP/Webhooks, Slack, and Pluggable Payments) verify permit binding, tenant, expiry and single consumption, keeping downstream credentials outside the agent's payload.

tempus init tempus keygen --output agent.keys.json tempus keygen --output executor.keys.json tempus doctor --json tempus conformance --signer

Run examples/commercial_demo.py to test direct bypass rejection, single-use consumption, replay protection, and trace verification locally:

python examples/commercial_demo.py

Explore framework recipes in cookbooks/ for LangChain, CrewAI, and Claude/Cursor MCP.

05 / Trace inspection

Inspect and verify records

tempus trace --action-id <action-id> tempus verify-trace --action-id <action-id> tempus list-agents tempus list-policies tempus identity-events

The interactive trace demo verifies a synthetic browser fixture. It is not connected to a Tempus database, and it does not replace tempus verify-trace for a real action.

06 / Durability & DR

Checkpoints & Disaster Recovery

Generate signed external checkpoints and export hash-linked event streams without database downtime to detect rollbacks and whole-database tampering:

# 1. Create a signed monotonic checkpoint for a tenant tempus checkpoint create --tenant-id acme --out checkpoint-acme.json # 2. Export incremental event stream tempus checkpoint export --tenant-id acme --from-seq 1 --out stream-acme.json # 3. Verify stream integrity and rollback absence offline tempus checkpoint verify --checkpoint checkpoint-acme.json --stream stream-acme.json

See docs/BACKUP_AND_DISASTER_RECOVERY.md for full procedures.

07 / Security boundary

Current limits

v0.5.0 features durable local operations with external checkpoints. Distributed multi-container gate deployment with OpenTelemetry metrics and tenant quotas is targeted for Milestone 0.6.

Review the threat model before high-impact use, report issues through the security policy, and use the contribution guide to participate.