Official Client SDK for the VVUQ Verification API
Project description
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>"
}
}
}
}
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vvuq_client-0.2.0.tar.gz.
File metadata
- Download URL: vvuq_client-0.2.0.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
82db534397497fff16bd027e333d9ff7ea7a3f8898f10bfbdf9f621730883b90
|
|
| MD5 |
3544ae416bce3d7917ef8daa2357feee
|
|
| BLAKE2b-256 |
cf8f3d5b60c5dfd20839c796e876ba4a61c82cacfe6e8d2ba6f6d14dc3612dd8
|
File details
Details for the file vvuq_client-0.2.0-py3-none-any.whl.
File metadata
- Download URL: vvuq_client-0.2.0-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
053876c20ebaaf80350e8d04244991af7cc6e5fff5bd9ba02550f600e2472bbc
|
|
| MD5 |
9d4977cbfa3d993ef3619ace3a7bd2ae
|
|
| BLAKE2b-256 |
a74a516655916edad68b384a28e31cd04b5122197f980e470a4c645f442e3355
|