Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

JARVIS Runtime

This repo contains the Jarvis Agent Runtime: a Python runtime for executing Agent Runtime Protocol-style agent flows using the 3-role loop:

Planner → Tool Executor (arg-gen + invoke) → Chat

It is designed to run against an ARP Tool Registry service and share contracts via the ARP Standard Python SDK (arp-standard-py / arp_sdk).

Quickstart

See:

Install

# CLI installs (recommended)
pipx install arp-jarvis-runtime

# or, in a virtualenv
python3 -m pip install arp-jarvis-runtime

Run against a real Tool Registry service

Terminal A (Tool Registry):

arp-jarvis-tool-registry

Terminal B (Runtime):

arp-jarvis-runtime demo --tool-registry-url http://127.0.0.1:8000

Or configure via env var (preferred when launched by a daemon):

export ARP_TOOL_REGISTRY_URL=http://127.0.0.1:8000
arp-jarvis-runtime demo

Back-compat env var: JARVIS_TOOL_REGISTRY_URL.

Run as a Runtime HTTP server (v1)

arp-jarvis-runtime serve --host 127.0.0.1 --port 8081 --tool-registry-url http://127.0.0.1:8000

If --port is omitted and 8081 is already in use, the runtime binds to a free port and prints it (or use --port 0 to always pick a free port). Use --auto-port to fall back when an explicit --port is in use.

Runtime API endpoints (selected):

  • GET /v1/health
  • GET /v1/version
  • POST /v1/runs
  • GET /v1/runs/{run_id}
  • GET /v1/runs/{run_id}/result

OpenAI mode (optional)

This runtime uses the OpenAI Python SDK for Responses parsing + structured outputs. To enable it:

python3 -m pip install "arp-jarvis-runtime[openai]"
export OPENAI_API_KEY=...
arp-jarvis-runtime demo --mode openai --tool-registry-url http://127.0.0.1:8000

Optional model overrides:

  • JARVIS_MODEL_PLANNER
  • JARVIS_MODEL_TOOL_ARGS
  • JARVIS_MODEL_CHAT
  • JARVIS_MODEL_DEFAULT

Validation

Unit tests:

python3 -m unittest discover -v

Or (if you have pytest installed):

pytest -q

Typecheck (pyright):

pyright -p pyrightconfig.json

Design docs

Repo boundaries

  • This repo: flow execution, LLM role orchestration, runtime packaging.
  • Tool_Registry (separate repo): tool discovery + schemas + invocation routing (+ MCP aggregation).
  • ARP_Standard (separate repo): spec + schemas + SDKs (published as arp-standard-py).

MVP capabilities + known gaps

Capabilities:

  • Stub-mode 3-role loop (Planner → Tool → Chat) with trace JSONL.
  • Tool Registry integration via HTTP (ARP Standard v1).
  • Trace replay: rerun Chat from recorded tool results.

Known gaps:

  • No production hardening (auth, multi-tenancy, concurrency controls, streaming, persistence).
  • Prompt packs and planning heuristics are MVP-grade; no memory/scheduler/control plane yet.

Release files for arp-jarvis-runtime 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 arp-jarvis-runtime 0.1.0
File Size Uploaded
arp_jarvis_runtime-0.1.0.tar.gz 24.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for arp-jarvis-runtime 0.1.0
File Interpreter ABI Platform
arp_jarvis_runtime-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size:51.6 kB

Release files / arp_jarvis_runtime-0.1.0.tar.gz

Download URL arp_jarvis_runtime-0.1.0.tar.gz
Size 24.1 kB
Tags Source
SHA-256 checksum
How to use checksums
832c692bcc02dc5036b54499fa3a1c0831dbe89c961f90a2810e65a118336a87
BLAKE2b-256 checksum
How to use checksums
892cc5e1b46dc7d446e2525e56d0791815434919fd7db056c99f846fd4958a5a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Dec 18, 2025.

Transparency log

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

Download URL arp_jarvis_runtime-0.1.0-py3-none-any.whl
Size 27.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
83f7c4a64bebc668cca081529e05e943f1e0e388ce04533625aa807507916fc7
BLAKE2b-256 checksum
How to use checksums
f78cec25e7e1d379b3624cd1f094a541160a66df572aa91202a9d90ab72c8373
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Dec 18, 2025.

Transparency log

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