Skip to main content

VerifiedX Python SDK

Minimal Python SDK for framework-native VerifiedX capture and boundary preflight.

Install

pip install verifiedx

Protect one action free: verifiedx.me

Docs: docs.verifiedx.me/sdks/python

Doctor: verifiedx doctor

Create a project and runtime key in the VerifiedX dashboard, then set VERIFIEDX_API_KEY in the app environment. VERIFIEDX_BASE_URL is optional and only needed for self-hosting or non-default environments.

Quickstart

from verifiedx import init_verifiedx

vx = init_verifiedx()


class AgentHarness:
    def call_model(self, messages):
        return {"messages": messages}

    def send_email(self, to, body):
        return {"to": to, "body": body, "status": "sent"}


harness = AgentHarness()
vx.install_runtime(
    harness,
    llm={"call_model": {"model_name": "gpt-5.4-mini"}},
    tools={"send_email": {}},
)

init_verifiedx() stays stable. The default integration path is now a single install_runtime(...) bind that auto-instruments supported Python runtime surfaces, captures conversation windows, and routes boundary decisions through the V4 raw-capture lane without builder-authored semantic callbacks.

Minimal launch env:

export VERIFIEDX_API_KEY="vxpk_..."

LangGraph: from verifiedx.langgraph import compile

LangGraph native adapter, few LOC:

from verifiedx import init_verifiedx, install_langgraph
from langgraph.graph import StateGraph

vx = init_verifiedx()
install_langgraph(verifiedx=vx)

builder = StateGraph(MyState)
# add nodes / edges as usual
graph = builder.compile(checkpointer=my_checkpointer, store=my_store)

That path keeps LangGraph-native capture and trigger naming for Command(update=...), graph.update_state, store.get/search/put/delete, checkpointer.put/put_writes, LangGraph tool execution through BaseTool.invoke/ainvoke, AIMessage.tool_calls, and ToolMessage.tool_call_id.

LangChain: from verifiedx.langchain import create_agent

OpenAI direct: from verifiedx import install_openai_direct

OpenAI Agents: from verifiedx import install_openai_agents

Anthropic direct: from verifiedx import install_anthropic_direct

Claude Agent SDK: from verifiedx import install_claude_agent

Doctor: verifiedx doctor

Repo detection / install planning:

verifiedx verify --json
verifiedx init --write --json

verify reports the recommended VerifiedX seam plus the repo's detected capture/trigger layers:

  • adapter seams
  • lower seams
  • explicit wrappers

Metadata

Release files for verifiedx 0.1.20

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

Source distribution (sdist)

Source distribution for verifiedx 0.1.20
File Size Uploaded
verifiedx-0.1.20.tar.gz 160.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for verifiedx 0.1.20
File Interpreter ABI Platform
verifiedx-0.1.20-py3-none-any.whl Python 3 none any Details

Total release size: 330.1 kB

Release files / verifiedx-0.1.20.tar.gz

Download URL verifiedx-0.1.20.tar.gz
Size 160.7 kB
Tags Source
SHA-256 checksum
How to use checksums
01c4d121c84c769ac9ca646bb5a921a9a55dc73b4c579ae8d86c1bf2d0dcd7c3
BLAKE2b-256 checksum
How to use checksums
88d808ebdb38ba343cc36edeb28191d703502b09304d1d2eb35fb254869c2d2f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.8

Release files / verifiedx-0.1.20-py3-none-any.whl

Download URL verifiedx-0.1.20-py3-none-any.whl
Size 169.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a14c6cc2b01c88ce035914d256bc0ee0aceccf3a09a5adba10dc315652f8d9ed
BLAKE2b-256 checksum
How to use checksums
7bed569fde218f44bff45bb1b2c6529f0ddd7db3167d82d00e5b431261f1451a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.8

Release history Release notifications | RSS feed

This release

0.1.20 This release

2 release files

0.1.19

2 release files

0.1.18

2 release files

0.1.17

2 release files

0.1.16

2 release files

0.1.15

2 release files

0.1.14

2 release files

0.1.13

2 release files

0.1.12

2 release files

0.1.11

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

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