Skip to main content

Cryptographic proof for AI actions — sign AI decisions with Ed25519, verify offline with hash binding.

Project description

versyn

Cryptographic proof for AI decisions. Sign every AI decision with Ed25519, verify it offline against a pinned public key. 100% coverage, zero per-check cost. Trust the math, not a server.

pip install versyn

The problem: the "trust tax"

Most AI-monitoring tools audit decisions by sending each one to another large model to judge it. That costs money per check, so teams sample — they audit 1% and hope the other 99% was fine. Every un-audited decision is a blind spot a regulator or a lawsuit can walk into.

versyn removes that tax. Each decision gets an Ed25519-signed certificate computed locally. Verification is a signature check on your own machine — no external model call, no per-check fee. You can certify 100% of decisions instead of a sample, at effectively zero marginal cost.

Verify a decision offline

from versyn import VersynClient

client = VersynClient(api_key="vk_...")

event = {
    "kind": "agent.decision",
    "payload": {"agent": "underwriter", "action": "decline", "reason": "DTI_too_high"},
}

cert = client.certify(event)
print(client.verify(cert, original_event=event))   # True — local, no network

verify() runs entirely on your machine. It checks that the signature is valid against the pinned public key, and that the certificate hash binds to your event. Change one field and verification refuses it.

Get a free key

import versyn
key = versyn.register("you@company.com")   # 500 certifications/month, free

It survives outages

If the API is unreachable or credits run out, certify() queues the event to a durable local file (atomic writes, thread-safe) instead of losing it. On restart the client reloads the queue; flush_queue() settles it later. No silent gaps.

Verify against the published key yourself

The pinned key ships in the package and is also published at:

https://versyn.dev/.well-known/versyn-pubkey.txt

What this is — and isn't

A versyn certificate proves a specific decision was signed at a specific time and has not been altered since. It is tamper-evident, independently verifiable evidence.

It does not, by itself, prove the decision was correct or lawful, and it is not regulatory compliance certification. It is the verifiable evidence layer your governance and auditors build on top of.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

versyn-0.2.0.tar.gz (17.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

versyn-0.2.0-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

Details for the file versyn-0.2.0.tar.gz.

File metadata

  • Download URL: versyn-0.2.0.tar.gz
  • Upload date:
  • Size: 17.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for versyn-0.2.0.tar.gz
Algorithm Hash digest
SHA256 5c47b38f3cdf43689b4f755dab3acc1de2bdd4756f85c434afabd6e59f997571
MD5 39a3c38f37d379c26256e7b5b26db5f7
BLAKE2b-256 1fb32cba3dfaf150341d96116db18194c7664ffd814f1fa8bcbbb839d5ac50fc

See more details on using hashes here.

File details

Details for the file versyn-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: versyn-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 12.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for versyn-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fb846d11ef9c8b894a4469c026344b41f0a006b52d85a7c5c65b2f8a1c00936a
MD5 6246d091baf55dbc7c7c107bcdb61a3b
BLAKE2b-256 ba9ac44fa7f7b47bd5c8646ca3a21278c469bdf56d9bca37a2d0b178125f25cb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page