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.1.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.1-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: versyn-0.2.1.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.1.tar.gz
Algorithm Hash digest
SHA256 806586c94eb1408018446db622cda0d62b3a4fdda1642bd83967b73b4fa017c4
MD5 368dcebc490e17b47aadbd452c169639
BLAKE2b-256 ea9629a6aa311656e43527dfaa97b73588bdeeba77c8670404a38b97aa7f318f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: versyn-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 12.0 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e188b6be36ac04f42f9598dab96ae6b94f1ea654f7ec87aa65c400edc6766177
MD5 6caebe85136bd38f2e0c69489712b443
BLAKE2b-256 49c0383261c3099d726110c4ea2bb525e7fdfc20b24a37d1bb21c308e34443a3

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