Skip to main content

runtimeai-ide

RuntimeAI check-rides from your editor — forecast eval cost, suggest scenarios, generate drafts, and run local rubrics via MCP or CLI.

No Vantage monorepo required. This package talks to the hosted RuntimeAI API at vantageai.cc.

Install

pip install runtimeai-ide

From GitHub:

pip install "git+https://github.com/simonbright/vantage.git#subdirectory=runtimeai-ide"

Editable install (Vantage repo contributors):

pip install -e ./runtimeai-ide

What works without OPENROUTER_API_KEY

Tool / command What it does
suggest Local file/brief → library scenario id
forecast Hosted cost estimate (no client key)
generate Hosted scenario draft (no client key; server credits required)
doctor API check + capability summary

Requires OPENROUTER_API_KEY + vantage-core: run / runtimeai_run_checkride — live eval with pass/fail rubric.

Cursor MCP

Add to ~/.cursor/mcp.json or your project's .cursor/mcp.json:

{
  "mcpServers": {
    "runtimeai": {
      "command": "python3",
      "args": ["-m", "runtimeai_ide", "mcp"],
      "env": {
        "RUNTIMEAI_BASE_URL": "https://www.vantageai.cc",
        "OPENROUTER_API_KEY": "${env:OPENROUTER_API_KEY}"
      }
    }
  }
}

Or run ./scripts/install-mcp.sh from this package directory.

Restart Cursor. No PYTHONPATH needed.

CLI

runtimeai-ide doctor
runtimeai-ide suggest --file models/orders.sql
runtimeai-ide forecast --scenario de_sql_optimization_v1 --turns 8
runtimeai-ide generate --file schema.sql --brief "Fix partition filter"
runtimeai-ide run --scenario de_sql_optimization_v1 --turns 1   # needs vantage-core + OPENROUTER_API_KEY

Environment

Variable Default Purpose
RUNTIMEAI_BASE_URL https://www.vantageai.cc RuntimeAI API host
OPENROUTER_API_KEY — Live check-rides only
RUNTIMEAI_DEFAULT_SCENARIO de_sql_optimization_v1 Default library scenario
RUNTIMEAI_DEFAULT_MODEL openai/gpt-4o-mini Default model for runs

MCP tools

  • runtimeai_suggest_scenario — map a file or brief to a library scenario (no key)
  • runtimeai_forecast_cost — estimate per-run eval cost (no key)
  • runtimeai_generate_scenario — draft a custom check-ride (no client key)
  • runtimeai_run_checkride — run vantage-core locally (key + CLI required)
  • runtimeai_doctor — verify API + explain key requirements

Develop

cd runtimeai-ide
pip install -e ".[dev]"
pytest -q

Publish (maintainers)

chmod +x scripts/publish-pypi.sh
export TWINE_USERNAME=__token__
export TWINE_PASSWORD=pypi-…
./scripts/publish-pypi.sh

Or tag a GitHub release — CI publishes via trusted publishing.

Metadata

Release files for runtimeai-ide 0.1.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 runtimeai-ide 0.1.0
File Size Uploaded
runtimeai_ide-0.1.0.tar.gz 14.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for runtimeai-ide 0.1.0
File Interpreter ABI Platform
runtimeai_ide-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 29.2 kB

Release files / runtimeai_ide-0.1.0.tar.gz

Download URL runtimeai_ide-0.1.0.tar.gz
Size 14.1 kB
Tags Source
SHA-256 checksum
How to use checksums
c74ec72d4c5dccfe1ba9f523d8e3a865c61e8188b83553206f1f4436e74fd120
BLAKE2b-256 checksum
How to use checksums
91a606e26a8875fce6e499c366d61b1cfad199355fd946ff0c8d08cdf2123f73
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / runtimeai_ide-0.1.0-py3-none-any.whl

Download URL runtimeai_ide-0.1.0-py3-none-any.whl
Size 15.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aa08b58d52672d81d709c1cca465c50ef0e4e74cb3c66b1a5d1611f17c454b06
BLAKE2b-256 checksum
How to use checksums
2c88379bba40d99d501b33eb60245738c7a840408b7125f144a4aac15045188e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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