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.2.0.tar.gz (43.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.2.0-py3-none-any.whl (39.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for provekit-0.2.0.tar.gz
Algorithm Hash digest
SHA256 7647a4b6cd685fbf1eecab7768a10e56b1fff643b159ccfd78c59c63c5a601f4
MD5 d0cdc768ce275623a837a690d74a06be
BLAKE2b-256 bd7ea2117d1cb0787d17ed4e9e9f6d6b7fad8cb90d43ef9a6c241306c404c800

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for provekit-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 383fded94dde928d5e5d987c132e84b3724ff83ebc4c3a0474bb2b17c60a7d4e
MD5 45e85206af6d4a985fa7db70f8df241d
BLAKE2b-256 d3aecc8d121428eb8d77790c1f4b7afc9c3a796c9080b07514ddf01b2f4f2c46

See more details on using hashes here.

Provenance

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