Embodify

io.github.YidaYangv0.1.0a2更新於 Oct 2, 2026

Give your agent a body: observe and control simulated robots (LIBERO, RoboDojo) over MCP.

概覽

AI 產生的概覽

讓助理透過 MCP 工具呼叫觀察並控制模擬機器人(LIBERO、RoboDojo)。

功能
Embodify 是一個代理外掛,其 MCP 伺服器提供機器人觀察與控制工具:列出任務、重設任務並取得相機影像、觀察相機與機器人狀態、移動末端執行器、開合夾爪、協調雙臂,以及結束回合。它內建 fake 運動學後端,並支援 LIBERO 與 RoboDojo 模擬器,也可透過 SSH 或可信 TCP 在遠端機器上執行模擬器。本機監看工具可即時觀看執行中的回合,並逐格重播過去的回合。
適用情境
適合讓既有的支援 MCP 的代理在模擬環境中嘗試機器人操作任務,或在標準操作基準上比較不同模型與代理框架。除錯代理控制迴圈時,也可用它即時觀看與重播回合。
執行需求
以 stdio 在本機執行,透過 uvx 從 PyPI 套件 embodify-mcp 啟動,需要先安裝 uv。設定存放於 ~/.embodify/config.json。fake 後端不需要模擬器、GPU 或模型;LIBERO 與 RoboDojo 需要各自的模擬環境,遠端後端需要對執行模擬器機器的 SSH 或可信 TCP 存取。
安裝前請注意
此伺服器可移動模擬機器人並寫入回合紀錄,代理的工具呼叫會改變模擬狀態並產生已儲存的執行資料。遠端後端會對另一台機器建立 SSH 或可信 TCP 連線,選用的監看埠僅監聽本機。任務成功結果只記錄給評估者,不會暴露給代理。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Embodify,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Embodify

Give your agent a body.

Your best embodied agent is your favorite agent.

Embodify lets the agent you use every day — Claude Code, Codex or any other MCP-capable agent — see and control robots directly, and keeps everything else that makes it yours. Bring in frontier models with embodied manipulation skills, such as GPT-6 Astra and Claude Opus 5.5, and let your AI companion step into the physical world.

中文 · One-line setup · Backends · For research · Skills · Roadmap

First release (0.1.0a1). Supports LIBERO and RoboDojo today; support for RoboTwin and the LeRobot SO-101 arm is coming soon.

Why Embodify

Most embodied agents are built from scratch: a dedicated harness wraps a model, hands it a fixed set of robot actions, and nothing else. The agent you use every day already has what those harnesses lack:

  • Context and memory. It manages long sessions and remembers across them.
  • It knows you. Your preferences, your projects, your lab setup.
  • It talks with you in the terminal, IDE, desktop app or chat you already use. You can ask how it is going, step in, correct it, or teach it mid-task.
  • It has a computer. It writes and runs code, uses its tools, searches the web and reads papers.

Embodify keeps all of that and adds a body. Install the plugin and your agent gets robot observation and control tools over MCP — a protocol it already uses for everything else — plus skills that teach it how to operate robots and how to achieve recursive self-improvement (RSI) from its own experience.

Why "best"

A general agent with a body is stronger than a harness that can only move a robot:

  1. It can think with tools, not only act. When a task needs geometry it can write a script; when it needs a fact it can search; when it needs perception it can run a model.
  2. It keeps track. Long-horizon manipulation fails when the agent forgets what it already tried. Mature agents manage context and memory well.
  3. It works with you. It asks you when a task is ambiguous, takes your guidance when it gets stuck, and remembers your corrections next time.
  4. It controls robots in its native language. Robot control arrives as ordinary MCP tool calls, the same shape as every other tool the agent uses.
  5. It builds on frontier embodied models. Your agent runs on models with frontier embodied manipulation skills, such as GPT-6 Astra and Claude Opus 5.5, and every model upgrade makes your robot better, with no retraining.
  6. It improves itself recursively. It turns every episode into lessons, lessons into rules and rules into new skills, and gets better the more it works.
  7. Zero-shot, few-shot and in-context learning come easily. A general agent takes on new tasks without training: describe a task in plain language (zero-shot), show it a few examples (few-shot), or put instructions, demonstrations and past experience in its context (in-context learning, ICL).

What's inside

Embodify is an agent plugin with two parts, and installing the plugin gives your agent both:

PartWhat it gives your agent
MCP server (embodify-mcp, registered as embodify)Tools to list tasks, start an episode, observe cameras and robot state, move end effectors, open and close grippers, and coordinate two arms.
SkillsKnow-how: running a careful observe–act loop, keeping a profile of the robot body and cameras, and learning from past episodes. More perception skills are coming soon.
mermaid
flowchart LR  A["Your agent<br/>Claude Code · Codex · …"] -- "MCP (stdio)" --> B["embodify-mcp<br/>episodes · budgets · logs"]  K["Embodify skills"] -. "loaded by" .-> A  B --> I["Backend interface"]  I --> L["LIBERO"]  I --> R["RoboDojo"]  I --> T["RoboTwin (WIP)"]  I --> H["SO-101 and other real robots (WIP)"]  I -. "SSH / TCP" .-> G["Remote server"]

The MCP server is the front end. Each simulator, benchmark or robot is a backend behind one small interface, so adding a new one does not change what the agent sees. Highlights:

  • Works with any MCP host. No LLM calls inside; your agent keeps its own model, memory, skills and tools.
  • One call, one motion. The control loop runs next to the simulator. Each action returns the actual displacement, remaining error, a stop reason and fresh camera images.
  • Remote simulation. Run the simulator on your lab's GPU server over SSH while the agent stays on your laptop. Heartbeats keep high-latency links alive; if the link drops, the episode aborts cleanly and reset_task reconnects.
  • Fair evaluation. When you use Embodify to evaluate an agent's manipulation skills, task success is recorded for humans and never exposed to the agent.
  • Live monitor and replay. Watch running episodes live in a browser, or replay past ones frame by frame.

Backends

BackendRobotStatus
fake, fake-two-armKinematic diagnostic, one or two arms✅ Included, no simulator needed
liberoFranka Panda, 130 tasks in 5 suites✅ Included
robodojoDual ARX X5, all 54 simulation tasks✅ Included
RoboTwinDual-arm manipulation benchmark🚧 Coming soon
LeRobot SO-101Real robot: 5-DoF arm with gripper🚧 Coming soon
remoteAny backend above, on another machine✅ SSH or trusted TCP

Coming soon: robot arms such as xArm, mobile manipulators, humanoids and dexterous hands. If there is a simulator or robot you would like us to support, open a GitHub issue with details about it. We welcome contributions of new backends.

For research

Embodify doubles as a testbed for the embodied manipulation abilities of language models and agent frameworks. Run GPT, Claude, Gemini, Qwen and other models, through Claude Code, Codex or your own agent framework, on the same simulated benchmarks with the same tools, and compare them directly.

  • Standard benchmarks: LIBERO (130 tasks in 5 suites) and RoboDojo (54 tasks), with RoboTwin coming soon.
  • Fair by design: task success is recorded for evaluators and never shown to the agent, and --lock-task fixes the scene.
  • Controlled budgets: episode budgets and per-call step limits are configurable and logged.
  • Complete records: tool calls, robot states and camera frames are saved for replay and analysis.

Typical studies include zero-shot robot manipulation by frontier models, comparisons of agent frameworks on the same model, the effect of skills and memory, and recursive self-improvement across episodes. See citation for how to cite Embodify and what to report.

Quick start

One-line setup

Paste this into Claude Code, Codex or any other agent you use:

text
Install Embodify (https://github.com/YidaYang/embodify) for yourself, then set up a LIBERO environment or connect to my existing simulator.

That's it. Your agent installs the Embodify plugin, sets up the simulator and tells you when to restart the session. (Agents: follow the agent setup guide.)

Manual install

Embodify starts its MCP server with uv, straight from PyPI. If you do not have uv yet, install it with python -m pip install uv or the official installer.

Claude Code

sh
claude plugin marketplace add YidaYang/embodifyclaude plugin install embodify@embodify

Codex

sh
codex plugin marketplace add YidaYang/embodifycodex plugin add embodify@embodify

The plugin brings both the MCP server, registered as embodify, and the skills. The server starts on the Fake backend, so you can try the tools right away; connect a real simulator next. It reads its settings from ~/.embodify/config.json (see backend setup). To check the package on its own, without an agent:

sh
uvx --from embodify-mcp embodify-mcp-smoke   # end-to-end check: no simulator, GPU or model needed

Other agents

  1. Register the server in your agent's MCP configuration using examples/mcp.json.
  2. If your agent supports Agent Skills (SKILL.md folders), copy or link the folders in plugin/skills/ into its skills directory.

Restart the session, then ask your agent something like "Reset the task, describe what the cameras show, then raise the gripper 5 cm."

Connect a real simulator

Let your agent do this step. Paste:

text
Connect Embodify to a real simulator for me: set up LIBERO on this machine, or connect to my existing simulator. Follow https://github.com/YidaYang/embodify/blob/main/docs/agent-setup.md.

Your agent installs the simulator or connects to yours over SSH, writes the server settings to ~/.embodify/config.json and asks you to restart the session. To do it by hand, see backend setup.

Watch robots live and replay episodes

Add "monitor-port": 8765 to ~/.embodify/config.json and open http://127.0.0.1:8765 to watch the robot work live, with every camera view, the robot state and each tool call your agent makes, or to replay any past episode frame by frame. To browse saved runs without a running server:

sh
uvx --from embodify-mcp embodify-mcp-monitor   # reads ~/.embodify/runs

The monitor listens on localhost only.

MCP tools

ToolPurpose
get_session_infoCurrent run, task, step budget and robot state; no images
list_tasksBrowse the backend's task catalogue
reset_taskStart an episode and return the first camera images
observeCamera images and robot state, without moving
move_relativeMove one end effector by a translation and optional rotation
set_gripperOpen or close a gripper
control_armsMove several arms together with common progress (two-arm backends)
stop_episodeEnd the episode and write its record

Translations are in meters, rotations in radians, quaternions in xyzw order. Frames and stop reasons are defined in the action contract.

Skills

The plugin contains these skills:

SkillStatusWhat it does
embodied-controlv0The observe–act loop: small moves, reading stop reasons, verifying grasps, releasing in a separate call
robot-profilev0Keep a profile of the robot: arms, cameras, frames, calibration and measured behavior
task-experiencev0Write a lesson after every episode, read relevant lessons before the next, promote repeated lessons to rules
object-segmentationComing soonOpen-vocabulary segmentation of camera images
depth-rangingComing soonPixel to 3D position from depth and calibration

Skills are grouped into three families that will keep growing:

  1. Embodiment knowledge: how this particular robot is built, where its cameras are and how it actually moves.
  2. Manipulation tools: perception, measurement and planning tools, including ideas from work such as Code as Policies.
  3. Recursive self-improvement: turning experience into lessons, lessons into rules and eventually into new skills, improving recursively.

Roadmap

  • Backends: RoboTwin; LeRobot SO-101 as the first real robot, with workspace limits, human-judged success and an emergency stop; more real robots and simulators.
  • Embodiments: mobile manipulators, humanoids, dexterous hands.
  • Observations: depth images, camera calibration and more through the tools.
  • Skills: segmentation, depth ranging and other perception tools; code-as-policy style tools; a stronger recursive self-improvement loop, and more.

Development

sh
python -m pip install -e ".[dev]"python -m pytest -qpython tools/check_release.py

See contributing, writing a backend, backend setup, action contract and security.

License and citation

Original code is licensed under Apache-2.0. Bundled third-party code keeps its original notices. See citation for how to cite Embodify.

來源:README.md,提交 6be1544

工具

0
工具後設資料尚未被收錄。

版本歷史

1
  1. v0.1.0a2最新Oct 2, 2026