VVUQ Client SDK
The official Python client for the VVUQ (Verification, Validation & Uncertainty Quantification) API.
Installation
pip install vvuq-client
Usage
from vvuq import VVUQClient
# Initialize with your API Key
client = VVUQClient(api_key="your_api_key_here")
# 1. Create a Contract
receipt = client.create_contract(
title="Mathlib Verification",
description="Verify algebraic identity",
claims=[{
"theorem": "theorem test : 1 + 1 = 2",
"allowed_imports": ["Mathlib.Data.Nat.Basic"]
}],
issuer_id="my_agent"
)
print(f"Contract Created: {receipt.contract_id}")
# 2. Submit a Proof
result = client.submit_proof(
contract_id=receipt.contract_id,
proof_code="theorem test : 1 + 1 = 2 := by rfl",
prover_id="my_prover"
)
if result.verdict == "ACCEPTED":
print("✅ Proof Verified!")
else:
print(f"❌ Failed: {result.errors}")
🔑 Getting Access
VVUQ is currently in Private Beta. To obtain an API key, please contact: englund@mit.edu
Configuration
To use the production API, set your environment variables:
export VVUQ_API_KEY="your_received_key"
export VVUQ_API_URL="https://vvuq.dirkenglund.org"
MCP Access (Thin Proxy)
This SDK includes an MCP Server proxy (vvuq-access) that allows AI agents (like Claude) to verify proofs on a remote VVUQ node without needing the server source code.
Usage with Claude Desktop
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"vvuq": {
"command": "uvx",
"args": ["vvuq-access"],
"env": {
"VVUQ_API_URL": "https://vvuq.dirkenglund.org",
"VVUQ_API_KEY": "<YOUR_API_KEY>"
}
}
}
}
Metadata
Release files for vvuq-client 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| vvuq_client-0.2.0.tar.gz | 5.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| vvuq_client-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.8 kB
Release files / vvuq_client-0.2.0.tar.gz
| Download URL | vvuq_client-0.2.0.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
82db534397497fff16bd027e333d9ff7ea7a3f8898f10bfbdf9f621730883b90
|
|
BLAKE2b-256 checksum How to use checksums |
cf8f3d5b60c5dfd20839c796e876ba4a61c82cacfe6e8d2ba6f6d14dc3612dd8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / vvuq_client-0.2.0-py3-none-any.whl
| Download URL | vvuq_client-0.2.0-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
053876c20ebaaf80350e8d04244991af7cc6e5fff5bd9ba02550f600e2472bbc
|
|
BLAKE2b-256 checksum How to use checksums |
a74a516655916edad68b384a28e31cd04b5122197f980e470a4c645f442e3355
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Security for vvuq-client 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.