Skip to main content

ragleap-physical

Status: pre-alpha. Simulation only. Nothing here controls real hardware.

A small library that connects RagLeap AI employees to open-source simulators, so people can build and test safely. Observing comes first. Every action goes through a proposal, an approval and a safety envelope that lives in the bridge, in one place. The model cannot change the limits.

What works today (and what does not)

  • Observation and proposal formats (v0), the four capability levels, the safety envelope, approvals bound to the exact proposal, dry run, outcome check, and a stop that needs no approval. Tested with a tiny built-in one-joint simulator (standard library only).
  • Exactly four tools for an AI agent: list sources, get an observation, get the envelope, propose an action. None of them can approve, apply, stop or change a limit. A small MCP server (standard library, loopback by default, optional bearer token) serves them. Tested against the official MCP Python SDK (mcp>=1.28,<2). RagLeap's own MCP client was not read or tested: it may need changes (for example HTTPS).
  • MuJoCo adapters as an optional extra: one observe-only, and one servo adapter that follows set_position_target in simulation, only through the bridge.
  • Workspace limits: a box in x, y, z that every tracked point must stay inside, checked on the starting state, on the dry run, and again on the real motion in short slices. If a workspace is set and the adapter cannot report positions, everything is refused. A two-link arm model (built-in stand-in and MuJoCo) exercises it.
  • A simulated machine tool (tool wear): the AI can only adjust a tool offset, in micrometres, inside an envelope (range, step size, minimum gap between changes). Changing the tool is a human action and is not a command. It is a model with invented numbers and says nothing about a real machine.
  • Hardened after independent review by two other AI sessions (see the CHANGELOG): stricter input and prediction checks, no self-approval.
  • A three-joint arm model (MuJoCo XML in examples/robots/, plus a built-in stand-in), an offline ROS 2 observe-only mock that needs no ROS install, and a repeatability experiment in benchmarks/ (exact replay within one installed environment; cross-machine repeatability is not claimed).
  • An operator console (ragleap_physical.console): the human side of the bridge. A named person sees the pending proposals, approves the exact digest, applies, and can stop. Loopback only, one token per person, and the approver's name comes from the token, never from the request. It is not a tool: the AI cannot reach it.
  • Two observe-only industrial mocks, with no network and no real meter or machine: a simulated energy site and an MTConnect document reader with strict limits (it refuses DTDs and entities, and caps size). These adapters are observe-only: they only read the documents you give them and send nothing. See docs/industry/observe-only-adapters.md and the first-hour guide docs/first-hour.md.
  • Not built: a second simulator, real hardware, Java and npm clients.
  • Simulation is not reality. Do not read a passing simulation test as proof for a real machine.

Out of scope, always

Life-safety systems, medical devices, vehicles on public roads, weapons, and anything that could hurt people without an independent hardware safety stop.

Docs

Try it

pip install -e ".[test]"          # core only, standard library
pip install -e ".[mujoco,test]"   # with the optional MuJoCo adapter
pip install -e ".[test,interop]"  # also runs the MCP SDK interop test
pytest
python examples/demo_fake.py
python examples/two_link_workspace_demo.py

Report vulnerabilities privately through the repository's Security tab (see SECURITY.md).

Other languages (drafts, not reviewed by native speakers)

Hindi · Tamil

Metadata

Release files for ragleap-physical 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ragleap-physical 0.0.5
File Size Uploaded Provenance Actions
ragleap_physical-0.0.5.tar.gz 117.3 kB With provenance Details for ragleap_physical-0.0.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ragleap-physical 0.0.5
File Interpreter ABI Platform Actions
ragleap_physical-0.0.5-py3-none-any.whl Python 3 none any Details for ragleap_physical-0.0.5-py3-none-any.whl

Total release size: 164.8 kB

Release files / ragleap_physical-0.0.5.tar.gz

Download URL ragleap_physical-0.0.5.tar.gz
Size 117.3 kB
Tags Source
SHA-256 checksum
How to use checksums
815ea0a39151d0e5aa4191a5527c1e01ea00de633806fafff8cbefcd393ef1a3
BLAKE2b-256 checksum
How to use checksums
3d87c0799dfa4312124f28f8ef0f83adc6ac30afd624d666821f3fb10a32fbd6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 8, 2026.

Transparency log

Release files / ragleap_physical-0.0.5-py3-none-any.whl

Download URL ragleap_physical-0.0.5-py3-none-any.whl
Size 47.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3f41e24a2a0bb34d36913eb2530f3f491c756593e36892c3f95dd4f103342c77
BLAKE2b-256 checksum
How to use checksums
33687efba6d70dbe29398d46864725764c7b843d08039e00f1718f23f988e563
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 8, 2026.

Transparency log

Security for ragleap-physical 0.0.5

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ragleap_physical-0.0.5.tar.gz

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 Nov 8, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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