Everything you need to integrate Sealed for AI into your pipeline. Five minutes to first seal.
# Install
pip install sealed-for-ai # Python 3.11+
# or
npm install @epochquant/sealed-for-ai # Node 18+ / Bun / Workers
# Get a free key at https://ai.epochpay.today
export SEALED_AI_KEY=sk-ai-...
# Seal your first artifact
python -c "
from sealed_for_ai import SealedAIClient
import hashlib
c = SealedAIClient()
r = c.seal(
artifact_kind='llm_output',
subject='my first sealed AI output',
payload_sha256=hashlib.sha256(b'hello').hexdigest(),
)
print('Verifier:', r.verifier_url)
"
Seal every text completion. Most common attach point.
artifact_kind="llm_output"
Bind the (question, retrieved doc IDs, answer) tuple. Auditor can re-verify citations.
artifact_kind="rag_response"
Seal the decision BEFORE executing the tool. Survives execution failures.
artifact_kind="agent_action"
Freeze the slice manifest + hyperparameters before training starts. Strongest "what trained this model" defense.
artifact_kind="training_slice"
Seal the (eval suite, model, scores) tuple. Re-verifiable months later.
artifact_kind="eval_run"
Multi-step? Use chain_prev to bind each seal to the previous one's hash.
chain_prev=prior.full_hash
| Method | Path | Purpose |
|---|---|---|
| POST | /api/seal | Mint a sealed receipt |
| GET | /api/verify/{seal_id} | Look up a seal by ID |
| GET | /api/healthz | Liveness probe |
| GET | /api/openapi.json | OpenAPI 3.0.3 spec |
Auth: Authorization: Bearer sk-ai-.... CORS enabled on all /api/* paths.
POST /api/seal HTTP/1.1
Authorization: Bearer sk-ai-...
Content-Type: application/json
{
"artifact_kind": "llm_output",
"subject": "Generated for customer 42",
"payload_sha256": "9f3c...e1",
"metadata": { "model": "claude-opus-4-7" },
"retention_years": 7,
"chain_prev": null
}
Response:
{
"ok": true,
"seal_id": "EP-DKAP-A5C2F07B...",
"full_hash": "a5c2f07b...8983",
"verifier_url": "https://chain.epochcoreqcs.com/v1/verify?hash=...&full=1",
"qr_target": "https://seal.epochpay.today/v/...",
"sealed_at": "2026-05-17T03:06:44.774Z",
"retention_until": "2033-05-17T03:06:44.774Z",
"watermark": "EPOCHCORE™_DKAP_CEO_...",
"seal_algorithm": "SHA-256",
"signature_algorithm": "Ed25519+ML-DSA-87",
"authentication_basis": "SEC-17a-4"
}
| Status | Meaning |
|---|---|
| 400 | Validation error |
| 401 | Missing/invalid bearer token |
| 429 | Plan limit or rate limit exceeded |
| 502 | Upstream broker unavailable (retryable) |
pip install sealed-for-ai
Python 3.11+. Sync + async clients.
npm install @epochquant/sealed-for-ai
Node 18+, Bun, Cloudflare Workers, Deno, browsers.
POST /api/seal
No SDK needed — see the OpenAPI spec.
Sealed for AI is engineered to satisfy provenance, retention, and tamper-evidence requirements across four regimes:
For procurement / vendor security questionnaires: lead with the verifier URL on a real seal. The math is the evidence.
→ Try the interactive verifier
→ See pricing tiers
→ Talk to us about Enterprise