Skip to main content

RunEconomy

RunEconomy identifies inference waste on the critical path of an agent workflow and tests whether a change improves successful-task performance. It is an alpha CLI for engineers running multi-step agents on self-hosted vLLM.

RunEconomy sits between agent observability and inference infrastructure:

import evidence → initialize → validate → run → report

It reports verified, regression, inconclusive, or invalid. Favorable cache, token, TTFT, or latency measurements are not called improvements unless the declared task-quality and performance gates pass.

The flagship result is an honest rejection

In the frozen 40-task proof, the candidate gained about 105 cached tokens, reduced server TTFT by about 9.08 ms, and reduced workflow latency by about 62.43 ms among the 36 pairs where both variants succeeded. RunEconomy still returned invalid: the baseline task-success lower bound was 79.61%, below the frozen 80% gate, and paired success non-inferiority also failed.

All 80 attempts completed with valid traces. The quality gate, not infrastructure, rejected the apparent speedup. The workload is consumed and cannot be reused or retuned as fresh held-out evidence.

Read the complete public proof · Inspect the aggregate evidence

Install and see it in five minutes

RunEconomy requires Python 3.11 or newer. The tutorial is CPU-only and makes no network or GPU calls.

python -m pip install runeconomy==0.2.0
runeconomy tutorial init ./runeconomy-tutorial
runeconomy tutorial serve

Follow the generated README in another terminal. The tutorial is deterministic and local. It validates product plumbing, not real model performance. It uses RunEconomy-enriched OpenInference evidence. Ordinary traces may support diagnosis while still producing an unresolved workspace.

Inspect the frozen public proof separately with runeconomy demo --open.

Then diagnose a vLLM deployment without generating text or resetting caches:

runeconomy doctor \
  --base-url "$VLLM_BASE_URL" \
  --api-key-env VLLM_API_KEY

doctor reports supported, unsupported, and unknown capabilities, safe experiment modes, and an exact next action. Use --json for automation.

Follow the complete quickstart · Read the compatibility guide · CLI reference · Troubleshoot setup

Move from evidence to a verdict

runeconomy import otlp.json --output evidence.json
runeconomy experiment init --from-evidence evidence.json --output experiment/
runeconomy experiment validate experiment/
runeconomy experiment run experiment/ --output results/
runeconomy experiment report results/result.json --output report.html --open

The importer explains which diagnoses, replay modes, and claims the evidence can support. An incomplete import creates an unresolved workspace with corrective actions instead of invented prompts, tokens, dependencies, or evaluators.

experiment supports both static request comparisons and complete baseline and candidate agent processes. compare remains a compatibility wrapper for older agent-process integrations.

Evidence formats · Experiment contract · Connector support · How RunEconomy works

Give your coding agent the same contract

The canonical RunEconomy agent skill teaches an agent how to inspect compatibility, acquire evidence, prepare an experiment, preserve workflow state, interpret verdicts, protect private material, and stop before destructive or external operations.

npx skills add ShreyanshMisra/runeconomy --skill runeconomy --all

Install the skill for Codex, Claude Code, or adapt it for Cursor

Alpha boundaries

RunEconomy is ready for narrow private testing, not unattended production use. It does not provide a hosted dashboard, managed OTLP collector, framework-specific SDK, automatic resume, SGLang runner, or broad diagnosis catalog. Raw prompts, traces, evaluator data, and experiment artifacts remain the operator's responsibility.

Alpha and migration notes · Development and validation · Documentation · PyPI · GitHub

The documentation site is generated from these version-controlled sources under site/.

Metadata

Release files for runeconomy 0.2.0

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

Source distribution (sdist)

Source distribution for runeconomy 0.2.0
File Size Uploaded Provenance Actions
runeconomy-0.2.0.tar.gz 165.9 kB With provenance Details for runeconomy-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for runeconomy 0.2.0
File Interpreter ABI Platform Actions
runeconomy-0.2.0-py3-none-any.whl Python 3 none any Details for runeconomy-0.2.0-py3-none-any.whl

Total release size: 284.9 kB

Release files / runeconomy-0.2.0.tar.gz

Download URL runeconomy-0.2.0.tar.gz
Size 165.9 kB
Tags Source
SHA-256 checksum
How to use checksums
ab1bfd030c1491bbe9715a36a243ef79f926378cfdc80028c54a8ca8e65ce43e
BLAKE2b-256 checksum
How to use checksums
9dd3ca3a801bc6439930886abe456e4eea324be822129c35cc82fc89ea1754a4
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 17, 2026.

Transparency log

Release files / runeconomy-0.2.0-py3-none-any.whl

Download URL runeconomy-0.2.0-py3-none-any.whl
Size 119.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ff8c4a023b59216fdf4de3e3fc8c82a1243c37ea272232a754f3c2905668080d
BLAKE2b-256 checksum
How to use checksums
5390e2d2032fb37908c506dc8b1010fbb221b4cfc52b3d2149e6b9cddb26d649
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 17, 2026.

Transparency log

Security for runeconomy 0.2.0

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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for runeconomy-0.2.0.tar.gz

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 17, 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.

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