Tracevity CLI
A trace tells you what was recorded. Tracevity tells you what you can reconstruct from it.
This is the release README for the authorized 0.5.7 Public Beta distribution. Its presence in the
source tree does not establish that PyPI or the canonical documentation domain currently serves the
release; the install and documentation links below become observed release facts only after exact
package and provider readbacks.
Tracevity is a deterministic, local tool for evaluating the evidentiary sufficiency of AI-agent activity traces. Inspect evaluates one selected execution against named reconstruction requirements. Gate compares an accepted baseline with a release or migration candidate and reports requirement-level reconstruction regressions.
Tracevity is not a telemetry collector, hosted trace viewer, generic semantic-convention checker, or certification service. Your trace and correlated evidence remain on the machine or CI runner where the command executes.
Install
Use an isolated tool environment when possible:
pipx install tracevity==0.5.7
or:
uv tool install tracevity==0.5.7
Conventional installation is also supported:
python -m pip install tracevity==0.5.7
Tracevity 0.5.7 supports CPython 3.11, 3.12, 3.13, and 3.14. Its operational dependency closure is limited to pinned OTLP protobuf definitions and protobuf itself.
tracevity --version, the current Inspector engine, and the current Gate engine all identify
version 0.5.7. Current reports use additive Reconstruction Report v0.2 and Gate Report v0.2
contracts. Historical v0.1 reports remain readable; their historical engine identities are not
rewritten. Exact packaged engine and resource bytes contribute to report build identity, so changes
remain visible and sealed reports are never treated as interchangeable without an exact
compatibility check.
Quickstart
Download, verify, and extract the safe synthetic example bundle from tracevity.com/cli, then run these commands from the extracted bundle directory. No production trace is needed.
tracevity --version
tracevity traces list --manifest inspect/manifest.json
tracevity inspect \
--manifest inspect/manifest.json \
--requirements inspect/requirements.json \
--out reconstruction-report.json
tracevity gate \
--suite gate/tracevity-gate.json \
--out tracevity-gate-report.json
traces list returns bounded structural information for explicit target selection. It does not
print prompts, outputs, tool arguments, tool results, or arbitrary captured attributes.
Capture and destination evidence
Start the bounded loopback receiver before running an OTLP HTTP/protobuf exporter:
tracevity capture otlp \
--listen 127.0.0.1:4318 \
--out trace.otlp.pb \
--receipt capture-receipt.json
The receiver accepts only /v1/traces on IPv4 loopback, enforces request, byte, span, and idle-time
bounds, combines valid batches, and never uploads or prints captured values.
Tracevity ships one deliberately narrow, read-only destination adapter:
tracevity evidence github issue-comment \
--repo OWNER/REPOSITORY \
--comment-id COMMENT_ID \
--out github-evidence.json
It reads exactly one existing issue or pull-request comment from api.github.com. Public comments
can be read without authentication. For private repositories or higher rate limits, set
TRACEVITY_GITHUB_TOKEN in the environment; command-line tokens and custom API origins are not
accepted. The envelope stores a body SHA-256, not the comment body. Provider API retrieval is
external-system evidence with unverified record authenticity; HTTPS, ETags, and request IDs are not
cryptographic proof.
Render either report locally as inert HTML and/or Markdown:
tracevity report render reconstruction-report.json \
--html reconstruction-report.html \
--markdown reconstruction-report.md
Supported trace declarations
The Inspector accepts OTLP trace protobuf for four exact declared representations:
| Declaration | Supported version | Evidence binding |
|---|---|---|
| OpenTelemetry GenAI | 67dff024110be5bd9f318006e733f4078e0f4c97 |
binding-otel-genai-to-otlp |
| OpenInference | 0.1.33 |
binding-openinference-to-otlp |
| MLflow native tracing | 3.15.2 |
binding-mlflow-native-to-otlp |
| MLflow GenAI-transformed tracing | 3.15.2 |
binding-mlflow-native-to-genai |
OTLP logs and metrics are recognized but unsupported as primary trace inputs. A structurally valid OTLP payload does not prove producer identity, complete capture, or semantic sufficiency.
Gate exits
| Exit | Meaning |
|---|---|
0 |
No policy-blocking reconstruction regression |
2 |
Blocking reconstruction regression |
3 |
Required result became indeterminate, or a sealed baseline is incomparable |
4 |
Invalid suite, policy, baseline, manifest, evidence, or input |
5 |
Unsupported signal, dialect, version, or representation |
70 |
Internal invariant or prohibited-network failure |
Gate compares reconstruction consequences for named requirements, not raw span counts or field
sets. Replayable baseline and candidate inputs run through the same current Inspector. An
incompatible sealed report yields INCOMPARABLE_REQUIRES_REBASE; it is never silently accepted.
Privacy, network, and semantic limits
inspect, gate, traces list, and report render make no network requests. capture otlp opens
only the loopback listener the operator requests. The GitHub evidence adapter makes one explicit,
bounded outbound read to the official GitHub REST API. No command contacts a Tracevity service,
emits Tracevity analytics, calls a model, uploads a trace, creates an account, performs an update
check, sends a crash report, or keeps a hidden input cache. Trace contents remain local and are
never executed.
Keep these boundaries explicit:
tool success != external settlement
agent identity != initiating principal
valid OTLP != sufficient reconstruction
recorded rationale != hidden reasoning
Gate pass != certification
Tracevity reports what supplied evidence establishes for a named use case. An exactly correlated provider record can corroborate destination state without becoming cryptographically authenticated. Tracevity does not reveal true latent motivation, prove omitted evidence never existed, certify an arbitrary producer, or turn a tool-reported result into independently verified external state.
Documentation and feedback
Never post production traces, prompts, outputs, credentials, secrets, customer data, or private logs to a public issue.
License
Files included in the public Python distribution and its bundled public runtime resources are
licensed under Apache-2.0. See LICENSE-CLI in the distribution. That scoped license does not
relicense the private Tracevity monorepo or material not included in the wheel/source distribution.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tracevity-0.5.7.tar.gz.
File metadata
- Download URL: tracevity-0.5.7.tar.gz
- Upload date:
- Size: 85.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a5cdba54ae59dcaffe8dd71767d47635b41427307580ac9df8832d021428a02
|
|
| MD5 |
3753d6be04d3ed353fd100dd7ef1d4a4
|
|
| BLAKE2b-256 |
6853bb8fb85aa34bb9b03117476f0b4a705897e75060ce0fcab590969569c8e3
|
Provenance
The following attestation bundles were made for tracevity-0.5.7.tar.gz:
Publisher:
release.yml on independent-product-lab/tracevity
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tracevity-0.5.7.tar.gz -
Subject digest:
5a5cdba54ae59dcaffe8dd71767d47635b41427307580ac9df8832d021428a02 - Sigstore transparency entry: 2673209144
- Sigstore integration time:
-
Permalink:
independent-product-lab/tracevity@566473be16af810e5d29a784277c4a24f38c502d -
Branch / Tag:
refs/heads/main - Owner: https://github.com/independent-product-lab
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@566473be16af810e5d29a784277c4a24f38c502d -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file tracevity-0.5.7-py3-none-any.whl.
File metadata
- Download URL: tracevity-0.5.7-py3-none-any.whl
- Upload date:
- Size: 104.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
535736ab64191911b7af1cea982807d16fda54eb921fef8023625569e744892d
|
|
| MD5 |
421f338143d02455ecf0720fca52fce8
|
|
| BLAKE2b-256 |
5821249ea10665e71bae8cd19596305264030e7252825a43b61b28890dbb252c
|
Provenance
The following attestation bundles were made for tracevity-0.5.7-py3-none-any.whl:
Publisher:
release.yml on independent-product-lab/tracevity
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tracevity-0.5.7-py3-none-any.whl -
Subject digest:
535736ab64191911b7af1cea982807d16fda54eb921fef8023625569e744892d - Sigstore transparency entry: 2673209227
- Sigstore integration time:
-
Permalink:
independent-product-lab/tracevity@566473be16af810e5d29a784277c4a24f38c502d -
Branch / Tag:
refs/heads/main - Owner: https://github.com/independent-product-lab
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@566473be16af810e5d29a784277c4a24f38c502d -
Trigger Event:
workflow_dispatch
-
Statement type: