Skip to main content

Zero-knowledge, server-blind audit logging for Python and 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.0.tar.gz (17.4 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.0-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: volidator_python-0.1.0.tar.gz
  • Upload date:
  • Size: 17.4 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.0.tar.gz
Algorithm Hash digest
SHA256 6789830e876c85b3dca29a920a885c1c0054610703de8927d0e4749356c060aa
MD5 99746e0ab15b620e0fdb5d3e9d819aa5
BLAKE2b-256 497600b70fe43fc060650a4f6c964452371ccabb98c3b859cc7ead45fa4474b5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for volidator_python-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b3237b0d8f37c692597d0477535d08a5c3bb16df88dba32b7139609b7a44c00e
MD5 a4f7bb8b2c0b191e785975f1c1417a84
BLAKE2b-256 97aecea151628d93bae58a50b95d0e8fc137cb25057ccf6ece85da6ded78aff1

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