Skip to main content

Origami Trace

origami-trace ships the public otrace client for recording experiment runs in a hosted Trace project and reading those hosted runs back from the command line or MCP.

Use it when a training, evaluation, or data-processing run should upload its command, setup, logs, metrics, tables, and artifacts so the results are inspectable later.

Install

pip install origami-trace

Authenticate

Create a Trace project API key in the Trace dashboard, then initialize a workspace:

export TRACE_API_KEY="trc_your_key_here"
otrace init
otrace whoami

Run An Experiment

otrace run \
  --intent "Evaluate baseline on validation split" \
  --setup "Baseline config with validation data" \
  --expect-artifact outputs/metrics.json \
  --expect-log outputs/eval.log \
  -- python eval.py --config configs/baseline.yaml

If the project does not already write queryable outputs, create starter output files:

otrace scaffold outputs

Public Commands

otrace init
otrace login
otrace whoami
otrace scaffold outputs
otrace run
otrace import
otrace runs
otrace show
otrace artifacts
otrace download
otrace mcp

The published package is intentionally a client: it captures/uploads run evidence and queries/downloads hosted run data through the Trace API. The hosted backend and app implementation are not part of this package.

Query Hosted Runs

otrace runs --query baseline
otrace show run_123 --json
otrace artifacts run_123
otrace download artifact_123 --output outputs/metrics.json

MCP

Run the stdio MCP server:

otrace mcp

The public MCP tools expose hosted run listing, run detail lookup, artifact listing/download, and RunSpec validation.

Metadata

Release files for origami-trace 0.1.4

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

Source distribution (sdist)

Source distribution for origami-trace 0.1.4
File Size Uploaded
origami_trace-0.1.4.tar.gz 29.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for origami-trace 0.1.4
File Interpreter ABI Platform
origami_trace-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 65.1 kB

Release files / origami_trace-0.1.4.tar.gz

Download URL origami_trace-0.1.4.tar.gz
Size 29.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9d585ac3aad2b45bfc77a8005aab555d09efd2898a4ea276d0899e8f17a4d79c
BLAKE2b-256 checksum
How to use checksums
56f0028672717b69de8f22316dd642de1aa389eba8c383cc070f44efe424f757
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.11 {"installer":{"name":"uv","version":"0.10.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / origami_trace-0.1.4-py3-none-any.whl

Download URL origami_trace-0.1.4-py3-none-any.whl
Size 35.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2c2b43bab98fd1896b666ad0a35935467752bd17ee0154293c675710978e4df1
BLAKE2b-256 checksum
How to use checksums
e9d4046ed32d07a46ff55c2aa7f5630ce0f0ddc076ce835da18196c11cbc988f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.11 {"installer":{"name":"uv","version":"0.10.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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