Reference implementation of DF-VERIFY/1 — an open, vendor-neutral standard for cryptographically signing, publishing, and independently verifying exactly what an AI system was told the moment it acted.
When an AI acts — moves a robot, places a trade, files a claim — "trust me" is not an audit trail. DF-VERIFY attaches an Ed25519 signature to any JSON response, publishes the verifying key openly, and lets anyone check it with no account and no dependency on the issuer. You can verify, even against the issuer.
| Path | What |
|---|---|
clients/python |
dynamicfeed-verify — Python reference verifier (library + CLI) |
clients/js |
@dynamicfeed/verify — JavaScript/TypeScript verifier (Node, Deno, Bun, browser) |
clients/csharp |
C# reference verifier |
examples/verified-agent |
a runnable agent that verifies a signature before it acts |
tests/vectors |
language-agnostic conformance vectors + Python & JS harnesses |
Python
git clone https://github.com/dynamicfeed/df-verify && cd df-verify
pip install cryptography
python examples/verified-agent/agent.py # verify a live verdict, then act
python examples/verified-agent/agent.py --tamper # altered after signing → the agent refuses to actJavaScript
import { verifyLive } from '@dynamicfeed/verify';
const { result } = await verifyLive();
if (!result.ok) throw new Error(`unverified world-state: ${result.error}`);- Drop the
signatureblock; keep the rest as the payload. - Canonicalize — JSON, keys sorted recursively, compact separators, non-ASCII escaped
\uXXXX, UTF-8. - Fetch the public key from
https://dynamicfeed.ai/.well-known/keys, look upsignature.key_id. - Verify the Ed25519 signature over the canonical bytes. Change one byte → it fails.
python3 tests/verify_vectors.py # Python harness → "✓ ALL 10 VECTORS PASS"
node tests/verify_vectors.mjs # JS harness (run: npm install --prefix clients/js first)Both reference verifiers reproduce every vector — same canonical bytes, same signature verdicts — so you can confirm a new implementation in any language byte-for-byte.
- Spec: https://dynamicfeed.ai/standard
- Verify in your browser: https://dynamicfeed.ai/proof
- Public keys (JWKS): https://dynamicfeed.ai/.well-known/keys
- Discovery manifest: https://dynamicfeed.ai/.well-known/df-verify.json
MIT.