If your app already uses OpenAI direct, OpenAI Agents SDK, Anthropic direct, Claude Agent SDK, LangGraph, LangChain, or MCP, prefer that native adapter page instead of the raw runtime.
Install
Net-new VerifiedX code
This is the real VerifiedX delta in a custom Python harness.That is the important part. You keep your existing harness and declare which business methods should be treated as LLM calls, retrievals, memories, tools, or actions.
Two-step binding
If you want to install the Python runtime once and bind harnesses later, use the two-step path:What the runtime already captures by default
When you callinstall_runtime(), VerifiedX already turns on lower-seam capture for common real-world side effects, including:
- File writes through
builtins.open - Async file writes through
aiofiles - HTTP and network calls through
urllib,requests, andhttpx - Provider and runtime capture for
OpenAI,Anthropic, andLiteLLM - AWS runtime client calls through
botocore - Database mutations through
sqlite3,psycopg,psycopg2, andSQLAlchemy - Queue publishes through
kombu - Browser client actions through Playwright
When to bind methods explicitly
Explicit binding is how you promote your own harness methods into first-class VerifiedX boundaries. That lets you choose exactly which methods you want to name and preflight under:llmretrievalsactionsmemoriestools
- A business-level boundary like
set_workflow_statusinstead of only the lower-seamrequests.patch - A memory boundary like
remember_customer_preferenceinstead of only the underlying storage write - Better receipts with your own
tool_name - Optional
schemaanddocstringmetadata on the boundary - Protection for custom in-process methods that might not otherwise hit an auto-patched lower seam
Binding categories
Use the smallest surface that matches what the method really does.llm
Declare model-call methods here. You can use a dict or the string shorthand.
retrievals
Declare reads and lookups that provide context to the model here.
Internal reads can use the string shorthand:
object_type to external_retrieval:
actions
Declare high-impact side effects here, such as record mutations, system changes, internal or external messages, webhooks, and other writes.
action_execute preflight before it runs.
memories
Declare durable memory writes here.
memory_write preflight before it runs.
tools
tools is still supported for general tool wrapping and tool history.
memories or actions. Use tools for general helper wrapping when the real protected boundary may still be caught lower in the runtime.
Optional metadata
You can attachschema and docstring metadata to actions, memories, and tools bindings for better boundary context and better receipts.
Composed systems
If this node is part of a larger multi-agent or agent+human workflow, pass upstream context into VerifiedX so the current node has better system and situational awareness before it takes a high-impact action. This is useful when a supervisor agent, parent workflow, or human reviewer already has context that the current node should use before taking action. VerifiedX does not require a fixed schema for this. Pass the upstream context you already have in any JSON-serializable shape.Upstream context is supporting workflow context from outside the current node. It is not proof that this node already executed any local action.
What to expect at runtime
Protected boundaries in the raw Python runtime can return:allowallow_with_warningreplan_requiredgoal_fail_terminal
allowfor grounded memory writes and internal handoff writesallow_with_warningwhen public-web context is supplementary but still relevant to a safe internal next stepreplan_requiredwhen an unsafe external email is blocked and the same goal continues through a safer internal Slack update