Skip to main content

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

origami_trace-0.1.4.tar.gz (29.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

origami_trace-0.1.4-py3-none-any.whl (35.3 kB view details)

Uploaded Python 3

File details

Details for the file origami_trace-0.1.4.tar.gz.

File metadata

  • Download URL: origami_trace-0.1.4.tar.gz
  • Upload date:
  • Size: 29.8 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

Hashes for origami_trace-0.1.4.tar.gz
Algorithm Hash digest
SHA256 9d585ac3aad2b45bfc77a8005aab555d09efd2898a4ea276d0899e8f17a4d79c
MD5 bc03ece66107abb5ab2f97b5e0b23ed2
BLAKE2b-256 56f0028672717b69de8f22316dd642de1aa389eba8c383cc070f44efe424f757

See more details on using hashes here.

File details

Details for the file origami_trace-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: origami_trace-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 35.3 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

Hashes for origami_trace-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2c2b43bab98fd1896b666ad0a35935467752bd17ee0154293c675710978e4df1
MD5 f6545df5dc437d0fbc6265cc2e7d5bef
BLAKE2b-256 e9d4046ed32d07a46ff55c2aa7f5630ce0f0ddc076ce835da18196c11cbc988f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page