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.1
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.

When a tester needs help, create a local privacy-minimized support archive:

runeconomy support-bundle experiment/ --output runeconomy-support.zip

RunEconomy does not upload the archive or copy raw traces, prompts, results, credentials, endpoints, or arbitrary workspace files. Inspect every file before sharing it.

Read the privacy and support-bundle contract before attaching an archive to an issue.

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 plan experiment/
runeconomy experiment run experiment/ --output results/
runeconomy experiment report results/result.json --output report.html --open

For real agents, the official coding-agent skill integrates the existing entry point with runeconomy.agent.Attempt. The helper implements only the status contract. It does not replace the application's tracing or agent framework.

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.1

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.1
File Size Uploaded Provenance Actions
runeconomy-0.2.1.tar.gz 191.2 kB With provenance Details for runeconomy-0.2.1.tar.gz

Built distribution (wheel)

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

Total release size: 331.2 kB

Release files / runeconomy-0.2.1.tar.gz

Download URL runeconomy-0.2.1.tar.gz
Size 191.2 kB
Tags Source
SHA-256 checksum
How to use checksums
c0e67ed14afbf4bb6a6f11538cac72688789b5c6b217adc43b24fac2317e7dfc
BLAKE2b-256 checksum
How to use checksums
b7bfb114da7ed4c4ba574692c869f3159ca379633beb1f71086b7464d3181da0
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 23, 2026.

Transparency log

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

Download URL runeconomy-0.2.1-py3-none-any.whl
Size 140.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5f7d4e15fb458cafc937088bd0a5a771de2c465dfa47568e8e40bfecabd9982b
BLAKE2b-256 checksum
How to use checksums
b2f8e775eddfc73b6f59f4cddf15c4737cec1b90b27a6c7b2d6ce33cbf1d9d09
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 23, 2026.

Transparency log

Security for runeconomy 0.2.1

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.1.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 23, 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