Skip to main content

Jarvis Agent Runtime for executing ARP-style flows with planning support.

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

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 the Tool_Registry service and share contracts via jarvis-model.

Quickstart

See:

  • docs/quickstart.md
  • docs/trace.md

Install

From PyPI (once published):

pipx install jarvis-runtime

Pre-release (e.g. 0.1.0a1):

pipx install --pip-args="--pre" jarvis-runtime

Or in a virtualenv:

pip install jarvis-runtime

For --tool-registry inproc, install Tool Registry too:

pip install jarvis-tool-registry

Or install the extra:

pip install "jarvis-runtime[inproc]"

Run against a real Tool Registry service

Terminal A (Tool Registry):

tool-registry

Terminal B (Runtime):

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

OpenAI mode (optional)

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

pip install -e ".[openai]"
export OPENAI_API_KEY=...
jarvis-runtime demo --mode openai --tool-registry inproc

Optional model overrides:

  • JARVIS_MODEL_PLANNER
  • JARVIS_MODEL_TOOL_ARGS
  • JARVIS_MODEL_CHAT
  • JARVIS_MODEL_DEFAULT

Validation

Unit tests:

python -m unittest discover -v

Or (if you have pytest installed):

pytest -q

Typecheck (pyright):

pyright -p pyrightconfig.json

Design docs

  • docs/intro.md
  • docs/design/overview.md

Repo boundaries

  • This repo: flow execution, LLM role orchestration, runtime packaging.
  • Tool_Registry (separate repo): tool discovery + schemas + invocation routing (+ MCP aggregation).
  • JARVIS/Model (separate repo): shared schemas / data model (and eventually the ARP wire protocol spec).

MVP capabilities + known gaps

Capabilities:

  • Stub-mode 3-role loop (Planner → Tool → Chat) with trace JSONL.
  • Tool Registry integration via HTTP (and inproc for tests/sandboxed environments).
  • 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.

Project details


Download files

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

Source Distribution

jarvis_runtime-0.1.0a5.tar.gz (20.1 kB view details)

Uploaded Source

Built Distribution

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

jarvis_runtime-0.1.0a5-py3-none-any.whl (22.3 kB view details)

Uploaded Python 3

File details

Details for the file jarvis_runtime-0.1.0a5.tar.gz.

File metadata

  • Download URL: jarvis_runtime-0.1.0a5.tar.gz
  • Upload date:
  • Size: 20.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for jarvis_runtime-0.1.0a5.tar.gz
Algorithm Hash digest
SHA256 167b17056d0c969a646c6b665b8ac060c9901286a3f1b53b7d530e87e8b39472
MD5 bc2fe2144123e2346123e29a88e2b182
BLAKE2b-256 da947d39c0c0738badb914d89cfe80a9d2897cd86135013d94f81d7bbee54463

See more details on using hashes here.

Provenance

The following attestation bundles were made for jarvis_runtime-0.1.0a5.tar.gz:

Publisher: publish.yml on AgentRuntimeProtocol/JARVIS_Runtime

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file jarvis_runtime-0.1.0a5-py3-none-any.whl.

File metadata

File hashes

Hashes for jarvis_runtime-0.1.0a5-py3-none-any.whl
Algorithm Hash digest
SHA256 e45dee900a63f9887193e554a33dcab3e098d31e30b5c309e0af6da635763705
MD5 ca18e0a977731005293cd109a67f8a06
BLAKE2b-256 185b1f4ce6cd2572a56a72fd045b8b75e0ab7540e2d8e43d17ba36896eb0e4d2

See more details on using hashes here.

Provenance

The following attestation bundles were made for jarvis_runtime-0.1.0a5-py3-none-any.whl:

Publisher: publish.yml on AgentRuntimeProtocol/JARVIS_Runtime

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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