Metadata-Version: 2.5
Name: bot-use
Version: 0.1.0
Summary: Let AI agents use robots: set a robot up once, then Claude, Codex, ChatGPT or your code drive it safely with live feedback.
Project-URL: Homepage, https://bot-use.com
Project-URL: Documentation, https://bot-use.com/docs
Author: Dheeraj Pai
License-Expression: MIT
License-File: LICENSE
Keywords: agents,ai,bot-use,claude,lerobot,llm,mcp,robotics,robots,so-101
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: System :: Hardware
Classifier: Typing :: Typed
Requires-Python: >=3.10
Requires-Dist: feetech-servo-sdk>=1.0.0
Requires-Dist: numpy>=2.0.2
Requires-Dist: pyserial>=3.5
Requires-Dist: pyyaml>=6.0.3
Provides-Extra: agents
Requires-Dist: anthropic>=2.12.0; extra == 'agents'
Requires-Dist: mcp>=2.3.0; extra == 'agents'
Requires-Dist: openai>=3.57.0; extra == 'agents'
Provides-Extra: all
Requires-Dist: anthropic>=2.12.0; extra == 'all'
Requires-Dist: mcp>=2.3.0; extra == 'all'
Requires-Dist: mujoco>=4.0.1; (python_version >= '3.11') and extra == 'all'
Requires-Dist: openai>=3.57.0; extra == 'all'
Requires-Dist: opencv-python>=5.1.0.95; extra == 'all'
Requires-Dist: segno>=1.6.6; extra == 'all'
Requires-Dist: starlette>=1.7.0; extra == 'all'
Requires-Dist: uvicorn>=0.54.0; extra == 'all'
Requires-Dist: websockets>=16.1.1; extra == 'all'
Provides-Extra: anthropic
Requires-Dist: anthropic>=2.12.0; extra == 'anthropic'
Provides-Extra: camera
Requires-Dist: opencv-python>=5.1.0.95; extra == 'camera'
Provides-Extra: mcp
Requires-Dist: mcp>=2.3.0; extra == 'mcp'
Provides-Extra: mujoco
Requires-Dist: mujoco>=4.0.1; (python_version >= '3.11') and extra == 'mujoco'
Provides-Extra: openai
Requires-Dist: openai>=3.57.0; extra == 'openai'
Provides-Extra: teleop
Requires-Dist: segno>=1.6.6; extra == 'teleop'
Requires-Dist: starlette>=1.7.0; extra == 'teleop'
Requires-Dist: uvicorn>=0.54.0; extra == 'teleop'
Requires-Dist: websockets>=16.1.1; extra == 'teleop'
Description-Content-Type: text/markdown

# bot-use

**Let AI agents use robots.** Set a robot up once, then Claude Code, Codex, Cursor, ChatGPT or your own code can
drive it safely, see what happens, and correct course, without writing scripts.

[![bot-use: Claude, ChatGPT, Codex or Praxis-1 for robotics. SO-101 arms putting a banana on a plate, cleaning up and wiping a table.](https://bot-use.com/media/readme/hero.gif)](https://bot-use.com)

> **Status: 0.1.0 alpha.** Works with the SO-101 arm (Feetech STS3215 servos) and a built-in simulator.
> Tested in simulation and on a real SO-101 (calibration, motion, skills, teleop). Read the safety notes first.

```bash
uv add "bot-use[all]"        # or: pip install "bot-use[all]"

bot-use --sim demo           # no hardware: physics simulator (MuJoCo), SO-101 on a kitchen counter
bot-use setup                # real arm: find it, check it, auto-calibrate its motors, pick the camera
bot-use install claude       # register the MCP server + skill with Claude Code (also: codex, cursor, claude-desktop, chatgpt)
bu teleop                    # drive it from your iPhone or Mac: scan the QR, drag the gripper in 3D   (`bu` = `bot-use`)
```

Then ask Claude Code: *"Look at the table, pick up the red block and put it next to the blue one."*

## See it work

<!-- Video placeholders. PyPI can't play video in a README, so each poster is an image linking to the video.
     To swap one in: replace the PNG at https://bot-use.com/media/readme/<name>.png with a real frame from the clip
     and point the link at the clip. Posters live in site/media/readme/. -->

[![Demo: Claude Code drives a real SO-101 arm](https://bot-use.com/media/readme/demo.png)](https://bot-use.com/#demo)

| | |
|---|---|
| [![No robot? Start in the simulator](https://bot-use.com/media/readme/sim.png)](https://bot-use.com/#can-do)<br>**No robot? Start in the simulator.** `bot-use --sim demo` | [![Drive the arm from your phone](https://bot-use.com/media/readme/teleop.png)](https://bot-use.com/#can-do)<br>**Drive it from your phone.** `bu teleop` |
| [![Codex picks and places a block](https://bot-use.com/media/readme/codex.png)](https://bot-use.com/#can-do)<br>**Codex picks and places a block.** `bot-use install codex` | [![Praxis-1 puts the knife in the basket](https://bot-use.com/media/readme/praxis-kitchen.png)](https://bot-use.com/#can-do)<br>**Praxis-1 in the kitchen.** Run from the teleop page |

More clips: https://bot-use.com

## Why

LeRobot trains robot skills. bot-use is the runtime in between: it lets a general model drive the robot directly,
with a fast safety loop underneath and a feedback digest after every action, and it can run trained policies
(ACT, SmolVLA, ...) as skills.

- **Set up once:** `bot-use setup` finds the arm, runs health checks, auto-calibrates every joint by gently homing
  to its hard stops (or imports your LeRobot calibration), and picks the camera that sees the arm. The camera is never calibrated.
- **Two loops:** the agent decides *what* (seconds per decision); a 50-100 Hz control loop does *how*, safely.
- **Safety in code:** clamped limits, speed caps, overload / temperature / voltage watchdog, heartbeat, `stop()`.
- **Feedback for LLMs:** every action returns a short digest: where joints ended, events (contact, stalled,
  grasped, missed), health, plus a fresh camera picture that says whether the arm is visible in it.
- **Steerable:** `wait=False`, then `watch()`, `nudge()`, `set_speed()`, `pause()`, `stop()` mid-motion.
- **Skills:** `bot_use.skills` (`pick_at`, `place_at`, `go_to`, `go_back`, `rest`, `wave`, `nod`, ...), community ones in
  `bot_use.contrib` (`trace`, `press`, shapes), your own (`@skill`) and trained LeRobot policies.
- **Teleop:** `bu teleop` serves a page for iPhone, iPad or Mac: live 3D from the robot's URDF, drag the gripper or
  any joint ring, live camera, keyboard and gamepad. Dragging is the deadman.

## Python SDK

```python
from bot_use import Robot

with Robot(sim=True) as arm:                   # Robot() uses your default real robot
    print(arm.move_to_pose("ready"))           # ActionResult: a digest you can print or hand to a model
    print(arm.grip(load_pct=30))               # "grasped" or "missed"
    frame = arm.look()                         # annotated JPEG + detections
    print(arm.run_skill("pick_at"))            # straight below the gripper (or x=, y= in cm)
```

## Agents

| Agent | How |
|---|---|
| Claude Code / Codex / Cursor / Claude Desktop | `bot-use install <agent>` (stdio MCP) |
| ChatGPT | `bot-use install chatgpt` prints the HTTPS tunnel recipe (`bot-use mcp --http`) |
| Headless Claude or OpenAI loop | `bot-use agent "task"` / `bot-use agent --provider openai --model <m> "task"` |
| Robot models: Praxis-1 (Runway), Dream-1, SmolVLA | Pick one in the teleop page's Agent panel: `bu teleop --praxis DIR` (also `--dream DIR`, `--smolvla DIR`) |
| Anything else | `bot-use serve` (JSON over HTTP) or the npm `bot-use` client |

Full docs: https://bot-use.com/docs

## Usage data

bot-use collects usage data so we can see what breaks and on which robots and computers. It is on by default; the
first `bu` run in a terminal prints a short notice.
- **Collected:**
  - commands and their outcome;
  - prompts and tasks;
  - robot tool calls and teleop clicks;
  - errors with their messages;
  - bot-use, OS, Python and robot and camera versions;
  - the IP address.
- **Cleaned before sending:** API keys, tokens and emails are masked.
- **Never collected:** camera images.

Full list: https://bot-use.com/docs.html#14_usage_data. Turn it off with `bu telemetry off`, `DO_NOT_TRACK=1` or
`BOT_USE_TELEMETRY=0`. Turning it off is recorded once, then nothing more is sent.

## License

MIT
