AI Provenance recipes
Copy-pasteable code for signing AI outputs across real integration patterns. Every recipe produces FRE 902(13)/(14)-framed receipts. Start with a Quickstart if you haven't signed your first output yet.
Sign Claude tool-call outputs
Sign individual tool responses inside a Claude agent loop. Each tool call gets its own receipt.
Sign streaming AI responses
Buffer streaming chunks and sign the final assembled output. Stream-aware patterns for OpenAI + Anthropic SDKs.
Sign RAG-augmented outputs with source attribution
Include retrieved document hashes in receipt metadata. Prove which sources informed which output.
Sign user-submitted prompts with privacy-preserving hashes
Hash the prompt before signing so sensitive content never reaches CertNode. Litigation-ready without privacy exposure.
Verify a receipt server-side before serving content
Gate content delivery on cryptographic verification. Catch tampered receipts before the client sees them.
Backfill historical AI outputs with signed receipts
Migration pattern for systems that already have AI logs. Batch-sign in idempotent chunks.
Don't see your pattern?
CertNode signs any string-based AI output via the Sign API. Common patterns are documented here; uncommon ones work the same way under the hood. If you're integrating a pattern you'd like written up, email contact@certnode.io.