Skip to main content

Vequil Python SDK

Reliability and observability for AI agent operators.

pip install vequil

Quickstart

from vequil import VequilClient

vq = VequilClient(workspace_key="vk_ws_...")

# Log any agent event
vq.ingest(
    source="openclaw",
    event_type="tool_call",
    event_status="success",
    agent_id="main-agent",
    tool_name="bash",
    cost_usd=0.012,
)

# Auto-log success or failure with a context manager
with vq.watch(source="openclaw", agent_id="main", tool_name="bash"):
    run_the_thing()

Framework integrations

LangChain

from vequil.integrations.langchain import VequilCallbackHandler
handler = VequilCallbackHandler(vq, agent_id="my-chain")
chain.invoke({"input": "..."}, config={"callbacks": [handler]})

CrewAI

from vequil.integrations.crewai import VequilCrewObserver
observer = VequilCrewObserver(vq, agent_id="my-crew")
observer.on_task_start("research", agent_name="researcher")

AutoGen

from vequil.integrations.autogen import patch_agent
patch_agent(assistant, vq, session_id="session-1")

LangGraph

from vequil.integrations.langgraph import vequil_node

@vequil_node(vq, agent_id="my-graph", tool_name="search")
def search_node(state):
    ...

Environment variables

Variable Description
VEQUIL_WORKSPACE_KEY Your workspace ingest key
VEQUIL_URL Custom Vequil instance URL (default: https://vequil.com)

Get your workspace key at vequil.com/quickstart.

Metadata

Release files for vequil 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 vequil 0.1.0
File Size Uploaded
vequil-0.1.0.tar.gz 4.9 kB Details

Built distribution (wheel)

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

Total release size: 12.8 kB

Release files / vequil-0.1.0.tar.gz

Download URL vequil-0.1.0.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
444a34de553baf6b4a788a2c46d2ea435642d7b921faab3f3dfb3e4a00c6e5e4
BLAKE2b-256 checksum
How to use checksums
cb59dcdab34669e371ca5316496370d938bb52abad2a1cfb26c6e333401f95b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.11

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

Download URL vequil-0.1.0-py3-none-any.whl
Size 7.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
026e84913b7219a43fbc9a7794321bd77a6554da305051649613748474edac7e
BLAKE2b-256 checksum
How to use checksums
1be2171e7bc1e1f127c0ae4512e8a73434a019102b2c45d69e0c98e14477b659
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.11

Release history Release notifications | RSS feed

This release

0.1.0 This release

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