Skip to main content

Drop-in agent tracing — add one decorator, get a project key, review every run your agent makes.

Project description

ProveKit

One decorator. The whole agent flow. Add one @pk.trace at your agent's entrypoint and review every run — the model calls, tools, and steps — as a nested flow in your ProveKit portal. OpenAI/Anthropic calls capture themselves. Open source, self-hostable, no framework lock-in.

Install

pip install "provekit[trace]"

Use

import provekit.trace as pk

# .env
#   PROVEKIT_API_KEY=pk_...        (create a project + key in the portal)
#   PROVEKIT_ENDPOINT=https://your-provekit-host

@pk.trace(name="support-agent")
def run_agent(question: str) -> str:
    docs = retrieve(question)          # wrap sub-steps with `with pk.span("retrieve"):`
    return chat(question, docs)        # the OpenAI/Anthropic call captures itself

Run your agent, open Traces in the portal, and every run shows up as a nested waterfall with per-span input, output, and token usage.

It's OpenTelemetry under the hood, so your data is portable and nothing is locked in — but you never have to touch OTel. Fail-open by design: if the key/endpoint are unset or the portal is unreachable, your app runs completely unaffected.

Run the portal (self-host)

The web app + ingest server ship in the same package:

pip install "provekit[server]"
uvicorn provekit.main:app --port 8100

See the repo for Docker/compose and the full tracing guide.

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

provekit-0.6.0.tar.gz (75.5 kB view details)

Uploaded Source

Built Distribution

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

provekit-0.6.0-py3-none-any.whl (66.3 kB view details)

Uploaded Python 3

File details

Details for the file provekit-0.6.0.tar.gz.

File metadata

  • Download URL: provekit-0.6.0.tar.gz
  • Upload date:
  • Size: 75.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for provekit-0.6.0.tar.gz
Algorithm Hash digest
SHA256 18fdcbc805b6f35ab007470eba348168ee1cbcb7cbb0afb0c86542add804e6ae
MD5 ba38dc698a852665659b62e0446d8963
BLAKE2b-256 b43e64ce0851a68fcc528316e5565dae916ac855bd1e54743f3eb065d9c9bf37

See more details on using hashes here.

Provenance

The following attestation bundles were made for provekit-0.6.0.tar.gz:

Publisher: publish.yml on MobirizerServices/ProveKit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file provekit-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: provekit-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 66.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for provekit-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0a5b2994e78db64f325ea86880ff5d12b603dced81748a55b659f067fd7d996b
MD5 413a2e8cf11e7d78821d8af7ff0d6d3b
BLAKE2b-256 1f509c198e7693620209fd25c89e4b1c214c40e8fcbd22f6c2432b9c78438dd2

See more details on using hashes here.

Provenance

The following attestation bundles were made for provekit-0.6.0-py3-none-any.whl:

Publisher: publish.yml on MobirizerServices/ProveKit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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