Skip to main content

Cryptographic attestation for AI interactions — tamper-evident proofs with Merkle-batched Solana commitments and zero-knowledge privacy

Project description

ioproof

Cryptographic attestation for AI interactions — tamper-evident proofs with Merkle-batched Solana commitments and zero-knowledge privacy.

Status

Python SDK is under active development. For now, use the REST API directly.

Quick start (REST API)

import requests

response = requests.post(
    "https://ioproof.com/v1/proxy/openai/v1/chat/completions",
    headers={
        "Content-Type": "application/json",
        "X-IOProof-Key": "iop_live_your_key",
        "X-Provider-Key": "sk-your-openai-key",
    },
    json={
        "model": "gpt-4o",
        "messages": [{"role": "user", "content": "Hello"}],
    },
)

data = response.json()
print(data["provider_response"])       # Original AI response
print(data["verification"]["secret"])  # Your proof secret

Planned API

from ioproof import IOProofClient

client = IOProofClient(api_key="iop_live_...")

result = client.proxy(
    provider="openai",
    path="/v1/chat/completions",
    provider_key="sk-...",
    body={"model": "gpt-4o", "messages": [{"role": "user", "content": "Hello"}]},
)

print(result.provider_response)
print(result.verification.secret)

Links

License

MIT — Alexiuz AS

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

ioproof-0.1.0.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

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

ioproof-0.1.0-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file ioproof-0.1.0.tar.gz.

File metadata

  • Download URL: ioproof-0.1.0.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ioproof-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6d2f3949c9d7f60d54098b302f260580b17f0911f4669a84822dde440b826cf3
MD5 5bb4dd8483020bc6a0306e668fc5f99f
BLAKE2b-256 37b28389ba60a13748e01d27c6c628b922b5cb695475ccc3fce0831e2d088a99

See more details on using hashes here.

Provenance

The following attestation bundles were made for ioproof-0.1.0.tar.gz:

Publisher: pypi-publish.yml on alekblom/ioproof

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ioproof-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ioproof-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ioproof-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9c2125bf78d90f9dee69847eea94f27c8446d0fcd1df4922c21f8428be144f23
MD5 3427a70e9fa1ae68d0d03261d3ab9b66
BLAKE2b-256 5384fb9f65f9910609db805624b27e0106943fa03e0c36766cca9638ac63c6c6

See more details on using hashes here.

Provenance

The following attestation bundles were made for ioproof-0.1.0-py3-none-any.whl:

Publisher: pypi-publish.yml on alekblom/ioproof

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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