Trace experiment capture, hosted query, artifact download, and MCP client.
Project description
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.
Project details
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 origami_trace-0.1.3.tar.gz.
File metadata
- Download URL: origami_trace-0.1.3.tar.gz
- Upload date:
- Size: 29.5 kB
- Tags: Source
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c964f46fea94c3beac71b8124784aba6437cc7b17842e5f3410f90e9c117a52
|
|
| MD5 |
267321de72b8ab0bc2995d35f9675291
|
|
| BLAKE2b-256 |
9c4c4e5e047c7097b014ddf7e0ff5ef4c7e7593d282df74dfbc5ae802c6f677a
|
File details
Details for the file origami_trace-0.1.3-py3-none-any.whl.
File metadata
- Download URL: origami_trace-0.1.3-py3-none-any.whl
- Upload date:
- Size: 35.0 kB
- Tags: Python 3
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ebc02fd487d04b3211991b0d01dc940b4561499c45cb9355e032db60d47f50aa
|
|
| MD5 |
60b8c2e4ee9b7251c4682025fdb4f29d
|
|
| BLAKE2b-256 |
19a91cddc95a5e029bfd70e35486cf9ab34f35e50097b82e7076d54cff13cbe3
|