Skip to main content

VeritasAgent SDK

Tamper-proof audit telemetry for AI agents.

Install

pip install veritasagent-sdk

Quick Start

from veritasagent import VeritasClient

client = VeritasClient(
    endpoint="http://localhost:8000",
    agent_id="my-research-bot",
)

# Track an LLM call
client.track_llm(
    model="gpt-4o",
    prompt="What is quantum computing?",
    response="Quantum computing uses...",
    token_count=1500,
)

# Track a tool invocation
client.track_tool(tool_name="web_search", tool_input={"query": "AI safety"})

# Track an MCP tool call
client.track_mcp(server_name="filesystem", tool_name="read_file", arguments={"path": "/data/input.csv"})

# Multi-agent tracing
child = client.child_client("sub-agent-analyzer")
child.track_llm(model="claude-3.5-sonnet", prompt="Analyze this data...")

Environment Variables

Variable Description
VERITAS_ENDPOINT VeritasAgent API URL (default: http://localhost:8000)
VERITAS_AGENT_ID Agent identifier
VERITAS_API_KEY API key for authentication
VERITAS_PARENT_AGENT_ID Parent agent ID for multi-agent tracing
VERITAS_IMAGE_HASH Container image hash for version tracking

LangChain Integration

from veritasagent import VeritasClient, VeritasLangChainCallback
from langchain_openai import ChatOpenAI

client = VeritasClient(agent_id="langchain-agent")
llm = ChatOpenAI(model="gpt-4o", callbacks=[VeritasLangChainCallback(client)])

OpenAI Wrapper

from openai import OpenAI
from veritasagent import VeritasClient, VeritasOpenAIWrapper

client = VeritasClient(agent_id="openai-agent")
ai = VeritasOpenAIWrapper(OpenAI(), client)
response = ai.chat("gpt-4o", [{"role": "user", "content": "Hello"}])

Metadata

Release files for veritasagent-sdk 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for veritasagent-sdk 0.1.0
File Size Uploaded Provenance Actions
veritasagent_sdk-0.1.0.tar.gz 7.8 kB Without provenance Details for veritasagent_sdk-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for veritasagent-sdk 0.1.0
File Interpreter ABI Platform Actions
veritasagent_sdk-0.1.0-py3-none-any.whl Python 3 none any Details for veritasagent_sdk-0.1.0-py3-none-any.whl

Total release size: 16.3 kB

Release files / veritasagent_sdk-0.1.0.tar.gz

Download URL veritasagent_sdk-0.1.0.tar.gz
Size 7.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b1eb1431fbaafb6dc766b6d177b7f1dae0cc749bbb4e1861b71f52301bb72c9e
BLAKE2b-256 checksum
How to use checksums
ad862a6b54730c4b68ea9ba329442c4b2deed45309497f654a5696936ba6b327
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.3

Release files / veritasagent_sdk-0.1.0-py3-none-any.whl

Download URL veritasagent_sdk-0.1.0-py3-none-any.whl
Size 8.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7a659c47791eb6291c4cf62617202e60d5b66c94819c4de61a738daacbb563c2
BLAKE2b-256 checksum
How to use checksums
9c6e1d00fcab843929705e30f946520200fb447c097e26873b852823a8dffaf9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.3

Security for veritasagent-sdk 0.1.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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page