Skip to main content

No project description provided

Project description

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.

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 a capacity 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

vexp_sdk-0.1.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (252.3 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

File details

Details for the file vexp_sdk-0.1.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for vexp_sdk-0.1.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 ac0444e2835b341c0a7e60637a7ef6878ce9f65af6c5a5681acd6faa753f6008
MD5 b89afbdae30eb18a0b92949ba469b9ea
BLAKE2b-256 5173e9713f0a30da449424ab774de935d37a39f2f6ba9f09ceb3d50b38263a67

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