Skip to main content

vexp

vexp-sdk (Python)

Thin client for the vexp SDK — a self-hosted, machine-to-machine code-intelligence engine. It gives your agents, PR bots, and pipelines type-accurate context and cross-repo blast-radius over hundreds of repositories, on your own infrastructure. Your code never leaves your network.

It is the same engine that powers vexp for AI coding agents — where, measured on full paired agent sessions, it resolves more tasks while cutting context replay by double digits — packaged for fleet-scale, machine-to-machine use.

This package is only the client. It talks to a vexp gateway you run yourself (see the docs); it needs the gateway's URL and a bearer token. It is dependency-free (standard library only), so it installs and runs anywhere, including air-gapped CI.

Install

pip install vexp-sdk

Quickstart

from vexp_sdk import VexpClient

vx = VexpClient("https://vexp.your-company.internal", token="...")

# Context + impact for a task
res = vx.run_pipeline("why does checkout fail", repos=["payments-gateway"])
for p in res["pivots"]:
    print(p["repo"], p["file_path"], p["score"])

# Cross-repo blast-radius of a symbol
impact = vx.impact_graph("payments.Checkout.create_session")

# Drive a re-index after a deploy
vx.index_incremental(repo="payments-gateway", mode="incremental")

API

VexpClient(base_url: str, token: str | None = None, timeout: float = 60.0)

health() -> dict                                       # gateway liveness + shard count
run_pipeline(task: str, **kwargs) -> dict              # context + impact + memory
context_capsule(query: str, **kwargs) -> dict          # retrieval only
impact_graph(symbol_fqn: str, **kwargs) -> dict        # cross-repo blast-radius
index_incremental(repo=None, files=None, mode="incremental") -> dict
index_status() -> dict
call(tool: str, **params)                              # generic tool call

run_pipeline returns a dict with pivots (ranked code locations) and an optional compressed output. Non-2xx responses raise VexpError.

Requirements

  • A running vexp gateway (self-hosted) reachable at base_url.
  • A bearer token for the gateway, and an SDK license.jwt mounted in the gateway (issued with your plan).

Full deployment and API reference: https://vexp.dev/docs/sdk

License

Proprietary. The client is free to install and use against a licensed gateway; the engine itself is license-gated. See https://vexp.dev/sdk.


Keywords: code intelligence SDK · self-hosted code context · cross-repo impact analysis · blast radius API · monorepo dependency graph · AI agent context · PR review automation · on-premise code graph · Python client

Metadata

Release files for vexp-sdk 3.3.2

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

Built distribution (wheel)

Table of built distributions (wheels) for vexp-sdk 3.3.2
File Interpreter ABI Platform
vexp_sdk-3.3.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64 Details

Release files / vexp_sdk-3.3.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL vexp_sdk-3.3.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 268.4 kB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
54e45b4324d0ee1c21f81ba236f9edf7c086d169950535443ec0f2a1858423aa
BLAKE2b-256 checksum
How to use checksums
9052b4f4f6d854065861762009c90da7104b09cb6042e5b953ee2c8ee317422e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Security for vexp-sdk 3.3.2

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.

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