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.5.0.tar.gz (73.8 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.5.0-py3-none-any.whl (64.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for provekit-0.5.0.tar.gz
Algorithm Hash digest
SHA256 39de3bef8f3f3c78873826e512769c0716220968b4806411d0af485de6df713d
MD5 a39f646823c2416ca53ef65ee6b44f61
BLAKE2b-256 477555e1fd3df6be63b0f6bb2e39e1718a4d391fe855bb2d8f5729f70929ced7

See more details on using hashes here.

Provenance

The following attestation bundles were made for provekit-0.5.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.5.0-py3-none-any.whl.

File metadata

  • Download URL: provekit-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 64.1 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.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bacc3e07508522b13ff190da7f82600f3c564d7b84f066412cf14283b57c97a3
MD5 d31ea3a426d17db9155e4f29257a965d
BLAKE2b-256 6fbdc4018a3180093e3c2e8125b7df371b5a9c34a74f06d336ea8c99443af811

See more details on using hashes here.

Provenance

The following attestation bundles were made for provekit-0.5.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