Skip to main content

Reliability and observability SDK for AI agent operators

Project description

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.

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

vequil-0.1.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vequil-0.1.0-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vequil-0.1.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for vequil-0.1.0.tar.gz
Algorithm Hash digest
SHA256 444a34de553baf6b4a788a2c46d2ea435642d7b921faab3f3dfb3e4a00c6e5e4
MD5 fae9f034659e73936e786010b156ec1d
BLAKE2b-256 cb59dcdab34669e371ca5316496370d938bb52abad2a1cfb26c6e333401f95b2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vequil-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for vequil-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 026e84913b7219a43fbc9a7794321bd77a6554da305051649613748474edac7e
MD5 4be06c81c273c9ff7c62341de660809e
BLAKE2b-256 1be2171e7bc1e1f127c0ae4512e8a73434a019102b2c45d69e0c98e14477b659

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