Skip to main content

Zero-knowledge, server-blind audit logging for Python and autonomous AI agentic workflows.

Project description

Volidator Python SDK

Zero-knowledge, server-blind audit logging for Python and autonomous AI agentic workflows.

Volidator encrypts every log entry locally — on your server — before sending it. The Volidator backend stores only ciphertext and blind indexes. Your plaintext data never leaves your infrastructure unencrypted.


Installation

pip install volidator-python

Environment Setup

Generate a secure 32-byte encryption key (64 hex characters) with the vol-dek- prefix:

python -c "import os; print('vol-dek-' + os.urandom(32).hex())"

Add secrets to your environment:

VOLIDATOR_API_KEY="val_live_xxxxxxxx..."
VOLIDATOR_ENCRYPTION_KEY="vol-dek-xxxxxxxx..."

Quick Start

import os
from volidator import VolidatorClient

volidator = VolidatorClient(
    api_key=os.environ["VOLIDATOR_API_KEY"],
    encryption_key=os.environ["VOLIDATOR_ENCRYPTION_KEY"]
)

# Log a system event
volidator.log({
    "actor": "usr_12345",
    "action": "user.login.success",
    "target": "workspace_abc789",
    "metadata": {
        "device": "Workstation",
        "auth_provider": "Okta"
    }
})

AI Agent Auditing (VolidatorAgent)

For auditing LLM chains, agent reasoning loops, and multi-agent handoffs, use the volidator.agent namespace:

# Log a decision made autonomously by the model
volidator.agent.decision({
    "actor": "writer-agent-v1",
    "traceId": "run-xyz-456",
    "decision": "publish_article",
    "rationale": "grammar check and safety alignments passed verification checks",
    "confidenceScore": 0.98,
    "modelId": "gpt-4o"
})

# Log a tool execution call
volidator.agent.tool_call({
    "actor": "search-agent-v1",
    "traceId": "run-xyz-456",
    "toolName": "web_search",
    "toolInput": {"query": "AI regulation"},
    "toolOutput": {"results": [...]},
    "success": True,
    "latencyMs": 245
})

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

volidator_python-0.1.1.tar.gz (17.6 kB view details)

Uploaded Source

Built Distribution

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

volidator_python-0.1.1-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

Details for the file volidator_python-0.1.1.tar.gz.

File metadata

  • Download URL: volidator_python-0.1.1.tar.gz
  • Upload date:
  • Size: 17.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for volidator_python-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f671ca2a4b44c84294f86f9aea2af684ec3d01ec64da34c9b373a1b4aac46a45
MD5 730a74693985a797115612c14da8dcab
BLAKE2b-256 358a3a02ca1481dbd8514cc91095d81f2463493613dcc48b357bccdcbe79284f

See more details on using hashes here.

File details

Details for the file volidator_python-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for volidator_python-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7d7e0124e1497fe6fb1a66a3f8701e95e1b216a99b7001e7fd9c1c6ddd701e63
MD5 c6b7fa7e2afd9e7802d7269e83377db8
BLAKE2b-256 cc87f16c4ea026a4a21e170ddebeb3f66563e24ad48ec778359982ebc738eb10

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