Skip to main content

Local-first experiment history CLI.

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.2.tar.gz (29.6 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.2-py3-none-any.whl (35.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: origami_trace-0.1.2.tar.gz
  • Upload date:
  • Size: 29.6 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.2.tar.gz
Algorithm Hash digest
SHA256 1a37acfeb586b93a3f8920ac4acdea3137c99c17b43b70c04dfd5c56e4ed76ba
MD5 a08b663a4205c53546ebd059956ab26c
BLAKE2b-256 7d1fec71161c962d02c5df7ef8a7debbadc83efb02da585561f17e021f790345

See more details on using hashes here.

File details

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

File metadata

  • Download URL: origami_trace-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 35.1 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b4a168e12c81d589f0d27d919d9233b877fe610db9fdfe858fd167a54b13c128
MD5 a005af3fb92b9a8572eb8c4907573046
BLAKE2b-256 76feb495df0c5dfcf9cfe93b7c68149dae578c076cfef332b62b95047bb3297c

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