Skip to main content

vantage-core

Standalone RuntimeAI check-ride CLI. Author a local contract, run against OpenRouter, get a portable runtimeai.decision/v1 artifact — no monorepo server/ required.

Partner authoring: marketing/growth/AUTHORING_CHECKLIST.md

Install

When PyPI is live:

pip install vantage-core

Until then (clone):

pip install -e ./vantage-core
# or: ./scripts/install_vantage_core_local.sh

Requires OPENROUTER_API_KEY.

Stranger path (60 seconds)

export OPENROUTER_API_KEY=sk-or-...
vantage-core run --scenario de_sql_optimization_v1 \
  --model amazon/nova-micro-v1 --fail-under 7.0 --json

Or author a local contract (see checklist):

vantage-core validate examples/contracts/custom_policy_refuse.yaml
vantage-core run --contract examples/contracts/custom_policy_refuse.yaml --json
echo $?   # 0 iff pass_gate.passed

Contract format (runtimeai.contract/v1)

Mode A — library replay (reuse a bundled scorer + optional your fixture):

schema: runtimeai.contract/v1
id: my_team.sql_path_v1
mode: library_replay
fail_under: 7.0
turns: 1
library:
  scenario_id: de_sql_optimization_v1
  fixture: |
    SELECT * FROM orders o, order_items oi WHERE ...

Mode B — custom (your system + opening + hard checks):

schema: runtimeai.contract/v1
id: my_team.policy_refuse_v1
mode: custom
agent:
  system: |
    You are a policy agent…
  opening: |
    User: …
scorer:
  kind: hard_checks
  checks:
    - id: refuses
      any_of: ["cannot", "refuse"]
      points: 5

See examples/contracts/.

Decision artifact

vantage-core schema
vantage-core validate scorecard.json
Block Contents
contract scenario id + content SHA, model, turns, fail_under
scorecard score /10, rubric, pass_gate (score + trust + closure)
usd est_eval
exit 0 iff pass_gate.passed
integrity SHA-256 of the payload

Bundled library

Id What
de_sql_optimization_v1 Slow Snowflake query → rewrite + heuristic rubric

Publish (maintainers)

Preferred — GitHub trusted publishing

  1. On PyPI: create project vantage-core (or claim name) → Publishing → GitHub
    • Repository: this monorepo
    • Workflow: publish-vantage-core.yml
    • Environment: pypi (match the Actions environment)
  2. Bump version in pyproject.toml
  3. Tag and release:
git tag vantage-core-v0.1.0
git push origin vantage-core-v0.1.0
# Create a GitHub Release for that tag → workflow publishes

Or Actions → Publish vantage-core to PyPI → Run workflow with confirm=publish.

Manual / token fallback

cd vantage-core
./scripts/publish-pypi.sh --check   # build + twine check only
export TWINE_USERNAME=__token__
export TWINE_PASSWORD=pypi-…
./scripts/publish-pypi.sh

Dev monorepo parity

VANTAGE_USE_MONOREPO=1 vantage-core run --scenario de_sql_optimization_v1 # or: vantage-core run --monorepo --scenario …

Related

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vantage_core-0.1.0.tar.gz (27.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vantage_core-0.1.0-py3-none-any.whl (31.3 kB view details)

Uploaded Python 3

File details

Details for the file vantage_core-0.1.0.tar.gz.

File metadata

  • Download URL: vantage_core-0.1.0.tar.gz
  • Upload date:
  • Size: 27.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.3

File hashes

Hashes for vantage_core-0.1.0.tar.gz
Algorithm Hash digest
SHA256 235221f3b4645de9b9d2da60b4c22a3f9e628263b316ccc986f6365d82254099
MD5 5c47f7dbbaebe6eaeb52651f7f16301e
BLAKE2b-256 0fd94b6694375b4f20cc1e0b200aaa2452218c08c58d1815ed6ab5df34e57a9c

See more details on using hashes here.

File details

Details for the file vantage_core-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: vantage_core-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 31.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.3

File hashes

Hashes for vantage_core-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d1a69251245e312674acef789860ea25cc5d317e843d30f87759c106983e1d4a
MD5 12f0066044850a2fa690ff55bd6aaafe
BLAKE2b-256 00a22e5870cb8bf8a944111f51bc220234016bc14ef2e1c643b1fe78ac29d0a3

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.8

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

This release

0.1.0 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page