Skip to content

docs(observability): add TTTPS Proof-of-Time provenance recipe - #760

Open
axcpeter wants to merge 1 commit into
BerriAI:mainfrom
axcpeter:docs/tttps-provenance-callback-recipe
Open

docs(observability): add TTTPS Proof-of-Time provenance recipe#760
axcpeter wants to merge 1 commit into
BerriAI:mainfrom
axcpeter:docs/tttps-provenance-callback-recipe

Conversation

@axcpeter

@axcpeter axcpeter commented Aug 4, 2026

Copy link
Copy Markdown

What

Adds a community CustomLogger recipe under Observability > Callbacks and customization: docs/observability/tttps_provenance.md, wired into sidebars.js next to custom_callback and generic_api.

Why

TTTPS / OpenTTT (Helm-Protocol) is a small open project that seals a completion response's content hash against a public, self-serve Provenance API at kpp.kenosian.com and returns an HMAC receipt that can be re-verified independently later. The recipe uses the documented CustomLogger extension point (litellm.callbacks = [...]), so it needs no core code changes, no new pip package, and no proxy callback registration; pip install litellm httpx is enough.

The doc is explicit that a receipt is a cryptographic audit-trail timestamp, not a compliance or regulatory certification.

Verification this session

Live round trip against the public API before writing the doc:

  • POST /v1/keys with an email minted a real key (api_key, 1000 free seals)
  • POST /v1/anchor with that key returned a receipt (receipt_id, receipt, time, verify_url)
  • POST /v1/verify with that receipt_id returned verified: true

The exact code block in the doc was run locally against litellm.completion(mock_response=...): the callback fired and attached response.tttps_receipt with status: "ok" and a real receipt_id from the live API.

node --check sidebars.js passes and the added entry follows the existing category shape.

Scope

Docs-only change: one new markdown file plus one line in sidebars.js. No changes outside this repo.

Community CustomLogger recipe that seals a completion response against
the public self-serve KPP Provenance API (kpp.kenosian.com), returning
a receipt_id plus HMAC signature that can be independently re-verified.
No new package or proxy registration needed; works with litellm+httpx.

Verified this session: end-to-end mint-key/anchor/verify round trip
against the live API, and the exact code sample in the doc run against
litellm.completion(mock_response=...) with the callback attaching
response.tttps_receipt.
@vercel

vercel Bot commented Aug 4, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
litellm Ready Ready Preview Aug 4, 2026 8:46am

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant