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).
  • 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

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

Metadata

Release files for ragleap-physical 0.0.1

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.1
File Size Uploaded Provenance Actions
ragleap_physical-0.0.1.tar.gz 71.4 kB With provenance Details for ragleap_physical-0.0.1.tar.gz

Built distribution (wheel)

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

Total release size: 105.0 kB

Release files / ragleap_physical-0.0.1.tar.gz

Download URL ragleap_physical-0.0.1.tar.gz
Size 71.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f7199977906306de5d0cb3ea06bb7b0fced08f13a89eacc8d4ca236ccd1714c6
BLAKE2b-256 checksum
How to use checksums
81637b7c3629561e7681886d8e241fa5522bb3f60c2db61264921152ef93fe5e
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 2, 2026.

Transparency log

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

Download URL ragleap_physical-0.0.1-py3-none-any.whl
Size 33.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
92114f9eece0a5ea1ce14eec165baf9ddb3931a38c85d51adf365bcdc2e631b7
BLAKE2b-256 checksum
How to use checksums
158de65d45bf4d4cfeb1b04bf52f4ae8369b3f2dd54ef52145cabf7a2cc05fff
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 2, 2026.

Transparency log

Security for ragleap-physical 0.0.1

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.1.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 2, 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