Skip to main content

Ghost Trace

Professional observability for your AI agent.

Ghost Trace is a lightweight, local-first CLI that intercepts your agent's tool calls and logs them to a SQLite database. No cloud accounts, no API keys, no heavy infrastructure. Just a beautiful trace of what your agent is doing.

Why use it?

Debugging AI agents with print() statements is painful. When an agent fails on step 4 of a 10-step task, you need to know exactly which tool failed, what arguments it received, and how long it took.

Ghost Trace gives you a clean, color-coded table of every tool call.

Installation

pip install ghost-trace

Usage

  1. Wrap your tools:

from ghost_trace.tracer import GhostTracer tracer = GhostTracer()

@tracer.trace def get_weather(city: str): return f"Sunny in {city}"

  1. View the trace:

ghost-trace view

This will print a table of all recent tool calls, including errors and execution times.

License

MIT

Metadata

Release files for ghost-tracer 0.1.0

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

Source distribution (sdist)

Source distribution for ghost-tracer 0.1.0
File Size Uploaded Provenance Actions
ghost_tracer-0.1.0.tar.gz 2.9 kB Without provenance Details for ghost_tracer-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ghost-tracer 0.1.0
File Interpreter ABI Platform Actions
ghost_tracer-0.1.0-py3-none-any.whl Python 3 none any Details for ghost_tracer-0.1.0-py3-none-any.whl

Total release size: 6.4 kB

Release files / ghost_tracer-0.1.0.tar.gz

Download URL ghost_tracer-0.1.0.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
3f6e08736f95bdcebd01a6a24e2d474c50f267bc6ac6e8f9f247ad11b516feff
BLAKE2b-256 checksum
How to use checksums
6777119236d4c59fcfdbe8393e398d6424a57f2111decb0c77981877c8f1ef07
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

Release files / ghost_tracer-0.1.0-py3-none-any.whl

Download URL ghost_tracer-0.1.0-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c204e3342aa5a62c19a7d04585faa6081bbd744ab7d710215bfd8fd315287a51
BLAKE2b-256 checksum
How to use checksums
47c70e04854edc0af064c6d6a984252268b563dcdcf64140bad9a00b4d51b3da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

Security for ghost-tracer 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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