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.2
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.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| runeconomy-0.2.2.tar.gz | 224.7 kB | With provenance | Details for runeconomy-0.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| runeconomy-0.2.2-py3-none-any.whl | Python 3 | none | any | Details for runeconomy-0.2.2-py3-none-any.whl |
Total release size: 377.8 kB
Release files / runeconomy-0.2.2.tar.gz
| Download URL | runeconomy-0.2.2.tar.gz |
|---|---|
| Size | 224.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
72c38e1523240546c4907dd5f12bbf703316868717a22ad9a4f5b92c235cd14d
|
|
BLAKE2b-256 checksum How to use checksums |
a6dd396aa4b0e6899c7105f040d14da93a7057825f8685afa87479e1b302e4d6
|
| 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 logRelease files / runeconomy-0.2.2-py3-none-any.whl
| Download URL | runeconomy-0.2.2-py3-none-any.whl |
|---|---|
| Size | 153.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c4fc015d02f287ee5480dd56f78b70b6606c77e6a897564416ec405eb6292add
|
|
BLAKE2b-256 checksum How to use checksums |
cc504326374482495c4c1e56a9f03619719ec50cc8d8bfb89b83c951991691e4
|
| 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 logSecurity for runeconomy 0.2.2
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.
Attestation for runeconomy-0.2.2.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 logA 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.