Skip to main content

trayce

Python SDK for Trayce, open-source observability and evals for LLM agents. It traces agent runs into a Trayce server and provides the trayce CLI (trayce eval, trayce replay).

from trayce import instrument_anthropic, trace

instrument_anthropic()  # each Anthropic model call becomes an LLM span


@trace(name="support_agent", kind="agent")
def run(question: str) -> str: ...

The SDK reads TRAYCE_API_KEY and TRAYCE_ENDPOINT. Extras: trayce[eval] for trayce eval, trayce[otel] for the OpenTelemetry bridge. The llm_judge scorer currently uses Anthropic models only.

To run a Trayce server on this machine (needs Docker):

trayce up     # prints the web UI address, a setup token, and the settings for your agent
trayce down   # stops it; --delete-data also deletes its data

See the repository README for more.

Metadata

Release files for trayce 0.1.1

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

Source distribution (sdist)

Source distribution for trayce 0.1.1
File Size Uploaded Provenance Actions
trayce-0.1.1.tar.gz 89.6 kB With provenance Details for trayce-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for trayce 0.1.1
File Interpreter ABI Platform Actions
trayce-0.1.1-py3-none-any.whl Python 3 none any Details for trayce-0.1.1-py3-none-any.whl

Total release size: 159.2 kB

Release files / trayce-0.1.1.tar.gz

Download URL trayce-0.1.1.tar.gz
Size 89.6 kB
Tags Source
SHA-256 checksum
How to use checksums
b21a781dd7a91831b6647cac8b649e70fa05b7d4d0bd3a14b93682aad4bad702
BLAKE2b-256 checksum
How to use checksums
306ce7e318b79495ce02a950099111ee2098528b3d7bf7cce8383ae61066f750
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.

Transparency log

Release files / trayce-0.1.1-py3-none-any.whl

Download URL trayce-0.1.1-py3-none-any.whl
Size 69.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8d86b2c033fac5ecc495b051b05a2170ad00f5e14ecb48e757ffe644ec3cd64f
BLAKE2b-256 checksum
How to use checksums
e53f0e88568f7e2fe6bef69e63b05b02d0451dbf6968adeeed9cbc3f754d6508
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.

Transparency log

Security for trayce 0.1.1

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for trayce-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.

Transparency log

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.1 This release

2 release files Full 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