Skip to main content

RayTrace

See what your coding agent did: traces, tool calls, cost and step-by-step evidence for Claude Code and Codex, and sandboxes (cloud or local) to run them in.

This is the RayTrace CLI from npm (@raytrace-cli/cli), packaged for pip with its own Node.js, so you don't need Node installed. The command is raytrace.

pip install raytrace-cli    # or: uv tool install raytrace-cli / pipx install raytrace-cli

Local sandbox (your project stays on this machine)

No account needed. From a Git repository:

raytrace sandbox create --local              # a copy of this repo in a gVisor sandbox in a Linux VM
raytrace connect <name> --claude             # a terminal in it, with Claude Code running (or --codex)
raytrace open                                # the local dashboard: what the agent ran, read and connected to

The first one sets up the VM, which takes several minutes. Local sandboxes need Lima; raytrace sandbox create --local offers to download it. macOS and Linux; Windows is experimental. raytrace doctor shows what is missing.

Cloud sandbox

raytrace auth login                          # sign in, or create your account, in the browser
raytrace sandbox create                      # upload this Git repository to a new sandbox
raytrace connect <sandbox-id> --claude       # a terminal in it, with Claude Code running (or --codex)

Sessions show up at https://app.raytracer.si.

In your editor (MCP)

Your agent can create, open, list, start, stop and destroy local and cloud sandboxes for you. Claude Code:

claude mcp add --scope user raytrace -- uvx --from raytrace-cli raytrace mcp

Codex (~/.codex/config.toml), Cursor and others take the same command:

[mcp_servers.raytrace]
command = "uvx"
args = ["--from", "raytrace-cli", "raytrace", "mcp"]

Then ask your agent, for example, "put this repo in a local sandbox and open it".

Commands

Command What it does
raytrace sandbox create [--local] [--name <name>] copy this Git repository into a new sandbox, in the cloud or (--local) on this machine
raytrace connect [id or name] [--claude | --codex] open a terminal in a sandbox, optionally with an agent running in it
raytrace sandbox list [--local] your sandboxes
raytrace sandbox start|stop <id or name> start or stop one; stopping keeps its files
raytrace sandbox destroy <id or name> delete one. Cloud: --keep-traces (paid plans). Local: --delete-logs or --keep-logs
raytrace open open the local dashboard
raytrace mcp the MCP server for your editor (above)
raytrace auth login|status|logout your RayTrace sign-in, for cloud sandboxes
raytrace upload logs [--sandbox <name>] send a local sandbox's recorded logs to the cloud dashboard; raytrace upload status shows your storage
raytrace share <trace-id> [--fork] a time-limited link to one recorded prompt; --list, --revoke <share-id>
raytrace report <trace-id> [--pr <number>] a pull-request comment for one run: commands and exit codes, files changed, cost. Prints it, or posts it with gh; --sandbox <rtp-id> for a cloud run, --link, --dry-run
raytrace export <trace-id> [--format json|markdown] [--output <file>] export a recorded prompt to the terminal or a file
raytrace --code <code> redeem a beta invite code
raytrace key [openrouter|typesafe] [--remove] your keys for the dashboard's AI features
raytrace doctor what this machine has and lacks

raytrace help lists everything.

Uninstall

raytrace sandbox destroy <id or name>        # any sandboxes you no longer need
raytrace uninstall --purge                   # local sandboxes: deletes the VM and ~/.raytrace
raytrace auth logout
pip uninstall raytrace-cli
claude mcp remove raytrace -s user           # if you added the MCP server to Claude Code

Wheels are built for macOS 13.5+ (Apple Silicon and Intel), Linux with glibc 2.28+ (x86-64 and ARM64) and Windows (x64 and ARM64).

Full documentation: https://github.com/Godcreatebugs/raytrace-cli

Metadata

Release files for raytrace-cli 0.20.1

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

Built distributions (wheels)

Table of built distributions (wheels) for raytrace-cli 0.20.1
File Actions
raytrace_cli-0.20.1-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details for raytrace_cli-0.20.1-py3-none-win_arm64.whl
raytrace_cli-0.20.1-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for raytrace_cli-0.20.1-py3-none-win_amd64.whl
raytrace_cli-0.20.1-py3-none-manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64 Details for raytrace_cli-0.20.1-py3-none-manylinux_2_28_x86_64.whl
raytrace_cli-0.20.1-py3-none-manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.28+ ARM64 Details for raytrace_cli-0.20.1-py3-none-manylinux_2_28_aarch64.whl
raytrace_cli-0.20.1-py3-none-macosx_13_0_x86_64.whl Python 3 none macOS 13.0+ x86-64 Details for raytrace_cli-0.20.1-py3-none-macosx_13_0_x86_64.whl
raytrace_cli-0.20.1-py3-none-macosx_13_0_arm64.whl Python 3 none macOS 13.0+ ARM64 Details for raytrace_cli-0.20.1-py3-none-macosx_13_0_arm64.whl

Total release size: 243.4 MB

Release files / raytrace_cli-0.20.1-py3-none-win_arm64.whl

Download URL raytrace_cli-0.20.1-py3-none-win_arm64.whl
Size 32.3 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
deb303e9d6edca85d33b5dbf1cfebda1d20847843b76a9d53594736e52496171
BLAKE2b-256 checksum
How to use checksums
3b8a9f455241c6c9fb6ad5f40e49473eac8217c85e483373230bfd8a48ee2f13
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 Nov 25, 2026.

Transparency log

Release files / raytrace_cli-0.20.1-py3-none-win_amd64.whl

Download URL raytrace_cli-0.20.1-py3-none-win_amd64.whl
Size 36.4 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
b91239933b2d147e0e7a881eea66e459802d7b268a090573b3df0b0fea14698e
BLAKE2b-256 checksum
How to use checksums
c26d92281f1ab22af5545a7b0a0254e29eac523e24069a125069a06d222f42b8
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 Nov 25, 2026.

Transparency log

Release files / raytrace_cli-0.20.1-py3-none-manylinux_2_28_x86_64.whl

Download URL raytrace_cli-0.20.1-py3-none-manylinux_2_28_x86_64.whl
Size 46.1 MB
Tags Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
e30afcedfeca8f6b296ee8ea71ee14d146a92ac2433131f4a8233398af35fef7
BLAKE2b-256 checksum
How to use checksums
45ae898631acc8bc5b6c33a498ef04ed97e878facb6a57b5fe6f4542c54ffa7d
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 Nov 25, 2026.

Transparency log

Release files / raytrace_cli-0.20.1-py3-none-manylinux_2_28_aarch64.whl

Download URL raytrace_cli-0.20.1-py3-none-manylinux_2_28_aarch64.whl
Size 45.8 MB
Tags Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
af25e755e630c680ba85b933aafd6c4c2d50eb3bbd7ab3dc2571f1365efc3702
BLAKE2b-256 checksum
How to use checksums
e28e7fe81c014b30a5b1ed57a9c8c174381377c8e0b0ef8ea7a2a05a1a39ff85
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 Nov 25, 2026.

Transparency log

Release files / raytrace_cli-0.20.1-py3-none-macosx_13_0_x86_64.whl

Download URL raytrace_cli-0.20.1-py3-none-macosx_13_0_x86_64.whl
Size 42.1 MB
Tags Python 3 macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
055e799efabf217281e0c691c805049a308263efb9e33a70ea0c321de950c674
BLAKE2b-256 checksum
How to use checksums
87624a736ee53f32a0e62a6fbfd4a1840a43f4eb791d770493ae5f8a21c64196
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 Nov 25, 2026.

Transparency log

Release files / raytrace_cli-0.20.1-py3-none-macosx_13_0_arm64.whl

Download URL raytrace_cli-0.20.1-py3-none-macosx_13_0_arm64.whl
Size 40.8 MB
Tags Python 3 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
b6f7807796ad3988a23863216c36918d8c568d284ec4e75a97a35e9c82f237d9
BLAKE2b-256 checksum
How to use checksums
c93a151a4abf8bdbba9969040021dcda2ddcd24510371caa9d6343c8927450fa
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 Nov 25, 2026.

Transparency log

Security for raytrace-cli 0.20.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 6 files in this release have been uploaded with provenance metadata.

Select from 6 files

Attestation for raytrace_cli-0.20.1-py3-none-win_arm64.whl

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 Nov 25, 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.20.1 This release

6 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