Skip to main content

LLM agent policy for Inspect Robots: frontier LLMs (Claude, GPT, anything OpenAI-compatible) drive any registered embodiment through tool calls.

Project description

inspect-robots-agent

LLM agent policy for Inspect Robots: frontier LLMs (Claude, GPT, anything behind an OpenAI-compatible API) drive any registered embodiment through tool calls, as a first-class Policy named agent. The same policy runs ad-hoc instructions and scores on registered tasks next to fine-tuned VLAs.

Install

pip install inspect-robots inspect-robots-agent

Quickstart (no hardware)

export ANTHROPIC_API_KEY=sk-ant-...

inspect-robots "pick up the cube" --policy agent \
    -P model=anthropic/claude-fable-5 --embodiment cubepick

Model strings are OpenRouter-style provider/model, resolved from -P model=... or $INSPECT_ROBOTS_MODEL. API keys come from the environment:

  1. -P base_url=... (with -P api_key_env=NAME): any OpenAI-compatible endpoint
  2. anthropic/* model with ANTHROPIC_API_KEY: the Anthropic compat endpoint
  3. openai/* model with OPENAI_API_KEY: OpenAI
  4. OPENROUTER_API_KEY: OpenRouter, any model string

How it works

Each LLM tool call becomes one smooth, open-loop action chunk: named partial joint targets are interpolated at the embodiment's control rate (move_joints), displacements are split across steps (move_by), and done/give_up end the trial through the core's policy-stop channel. Every action still passes the CLI's default safety approvers (bounds clamp plus per-step delta limit); the plugin contains no safety-critical code path of its own.

Warning: Guardrails are on by default at the CLI. Never pass --disable-guardrails on real hardware unless you fully trust the policy and the rig.

Configuration knobs (all -P key=value): model, base_url, api_key_env, max_llm_calls, temperature.

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

inspect_robots_agent-0.1.0.tar.gz (19.7 kB view details)

Uploaded Source

Built Distribution

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

inspect_robots_agent-0.1.0-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: inspect_robots_agent-0.1.0.tar.gz
  • Upload date:
  • Size: 19.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for inspect_robots_agent-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3ff52fe178d8ef094ceb3f346d12236f0508629a41565abf8ef57311cc387200
MD5 14ecc3f15272fe12bd3533ac70bfc443
BLAKE2b-256 a5b9cd91a36fcaa0d4b0d2a637dbef3b90d57fcafa847c76471a469ebbf8cd67

See more details on using hashes here.

Provenance

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

Publisher: release.yml on robocurve/inspect-robots

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

File details

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

File metadata

File hashes

Hashes for inspect_robots_agent-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 92e62bc4e86952355c81da9dcb96e7dda2ec4c33e4d1d4891681acd081cfe4d2
MD5 903cb5b6a0d6a4b5fac85f29a6c391fa
BLAKE2b-256 a2f8165da4b9ac46a2e32deb200483a6f6a549700c00c1ac82ea2e4e4eab070b

See more details on using hashes here.

Provenance

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

Publisher: release.yml on robocurve/inspect-robots

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