# RPent **Repository Path**: yjunxvan/RPent ## Basic Information - **Project Name**: RPent - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-08-19 - **Last Updated**: 2026-08-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README
RPent-logo
Hugging Face
[![English](https://img.shields.io/badge/lang-English-blue.svg)](README.md) [![简体中文](https://img.shields.io/badge/语言-简体中文-red.svg)](README.zh-CN.md)

RPent: 面向物理世界的智能体基础设施

**RPent (Recursive Physical Agent)** 是一个用于构建具身智能体的开放框架,使智能体能够通过与物理世界的递归交互持续演化。RPent 并不预设单一基础模型,而是提供一个递归智能体框架,将感知、推理、记忆、执行与自我演化等异构智能统一到一个物理智能体中。通过持续交互、反思与适应,RPent 使物理智能体能够获得新的能力,并超越其初始设计不断演进。 RPent 建立在三项核心设计原则之上:**服务化、标准化和可组合**。RPent 支持将能力部署为可复用服务,通过统一接口连接,并灵活组合成多样化的物理智能体。这些原则使 RPent 能够超越传统机器人控制框架,建立面向物理世界的智能体基础设施;在其中,智能不仅被部署,也被持续构建、扩展与演化。
RPent framework
## 最新动态 - [2026/07] 🔥 RPent 首篇论文 [Harness VLA: Steering Frozen VLAs into Reliable Manipulation Primitives via Memory-Guided Agents](https://arxiv.org/abs/2607.08448) 发布。 ## 功能矩阵
智能体规划器 动作原语 仿真环境 真实世界
  • Claude Code ✅
  • Codex ✅
  • Custom Planner ✅
  • VLA
    • Pi0.5 ✅
    • RLDX-1
  • WAM
    • DreamZero
  • LIBERO-PRO ✅
  • RoboCasa
  • Franka
  • SO-101
## 快速开始 **1. 用一条 `pip install` 安装 RPent。** ```bash git clone https://github.com/RLinf/RPent rpent && cd rpent pip install -e ".[full]" ``` `.[full]` 是默认的端到端依赖组合,包括 openpi Pi0.5 VLA、LIBERO-PRO 仿真器、 SAM 3.0 和 RLinf 运行时。如果不需要完整组合,更小的 extra 见[安装文档](https://rpent.readthedocs.io/zh-cn/latest/rst_source/installation.html)。 **2. 下载 LIBERO-PRO 仿真资产。** ```bash liberopro-download-assets --skip-existing ``` > 💡 访问 Hugging Face 较慢时,可走镜像加速:`HF_ENDPOINT=https://hf-mirror.com liberopro-download-assets --skip-existing`。 其他仿真器见[安装文档](https://rpent.readthedocs.io/zh-cn/latest/rst_source/installation.html)。 **3. 配置密钥与 checkpoint,然后运行。** ```bash # Anthropic 密钥;使用官方端点时无需 export base url。 export ANTHROPIC_BASE_URL=https://xxx export ANTHROPIC_API_KEY=sk-xxx # VLA checkpoint —— 从以下地址下载: # https://huggingface.co/RLinf/RLinf-Pi05-LIBERO-130-fullshot-SFT export PI05_CHECKPOINT_PATH=/path/to/rlinf-pi05-libero-130-fullshot-sft # SAM 3.0 checkpoint —— 从以下地址下载: # https://huggingface.co/facebook/sam3 # https://modelscope.cn/models/facebook/sam3 export SAM3_CHECKPOINT_PATH=/path/to/sam3/sam3.pt export LIBERO_TYPE=pro # 运行一个任务:libero_object_swap,task 2,seed 0,使用 Claude Code # 和 Claude Opus 4.8。 rpent --env libero --suite libero_object_swap --task 2 --seed 0 \ --cuda-device 0 --planner claude_code --model claude-opus-4-8 ``` 其他规划器(`api`、`codex`)与模型提供商的配置见[规划器文档](https://rpent.readthedocs.io/zh-cn/latest/rst_source/usage/configure_planner.html)。 ### 交互模式 加上 `--interactive`(`-i`)即可在终端里实时引导智能体。在 `you>` 提示符处,内置任务已预填——按 Enter 直接使用,或替换为你自己的任务;智能体运行时,随时输入消息即可在下一轮引导它(`/help` 查看命令,`/quit` 或 Ctrl-D 结束)。需要交互式终端(TTY)。 ```bash rpent --env libero --suite libero_object_swap --task 2 --seed 0 \ --planner claude_code --model claude-opus-4-8 --interactive ``` ### 实时 Dashboard 加上 `--dashboard` 后,会启动本地监控服务,并在终端输出访问地址。打开该地址后,可以在启动页面确认配置;运行开始后,页面会实时显示智能体的推理过程、相机画面和动作时间线。使用 `--dashboard-language zh-cn` 可切换到中文界面。 ```bash rpent --env libero --dashboard --dashboard-language zh-cn \ --suite libero_goal_task --task 1 --seed 0 \ --planner claude_code --model claude-opus-4-8 ``` ### RoboCasa RoboCasa 使用独立入口与安装指南。 ```bash bash scripts/setup_robocasa.sh # 一次性安装 bash scripts/run_robocasa.sh PickPlaceCounterToCabinet 0 0 # <任务> <种子> ``` 完整的 RoboCasa365 + RLDX-1 部署流程见 [SETUP_ROBOCASA.zh.md](docs/SETUP_ROBOCASA.zh.md)。 更详细的文档请参见 [RPent 中文文档](https://rpent.readthedocs.io/zh-cn/latest/)。 ### 在 GPU 服务器上复现 要在全新 GPU 机器上复现完整的 LIBERO 运行(LLM 规划 → Pi0.5 VLA → SAM3), 参见 [`docs/reproduction.md`](docs/reproduction.md)。配套一键部署包 (`scripts/deploy/`)约 15 分钟完成全部引导: ```bash git clone https://github.com/Jasonnn258/RPent.git && cd RPent/scripts/deploy bash deploy.sh --deepseek-key sk-... # 环境 + 依赖 + 检查点 + 补丁 + 环境文件 source ~/rpent_data/rpent_env.sh bash run_repro.sh --cuda-device 0 # libero_object_swap task 2 ``` ## 主要命令行参数
参数 默认值 说明
--env—(必填)环境后端。当前支持 libero
--suite—(必填)任务集,如 libero_object_tasklibero_spatial_swap
--task—(必填)任务集内的任务编号
--seed0随机种子
--plannerapiapi | claude_code | codex
--model模型 ID;api 需带 provider 前缀(anthropic:…openai:…openai-chat:…
--max-turns100智能体最大轮数
--max-tokens8192单次 LLM 回复最大 token
--no-images纯文本模式:不向模型发送图片字节(用于不支持图片输入的模型)
--max-episode-steps10000环境最大步数
--libero-typeLIBERO_TYPEproLIBERO 类型:standard | pro | plus
--cuda-device继承当前环境env_server、vla_server 和 sam3_server 可见的 GPU 设备
--dashboard为本次运行启动本地 Dashboard
--dashboard-languageenDashboard 界面语言:en | zh-cn
--env-endpoint—(自动启动)已在运行的 env_server 的 [protocol://]host:portprotocol=http|socket,默认 http)。留空时自动启动本地实例。
--vla-endpoint—(自动启动)已在运行的 vla_server 的 [protocol://]host:port(同上)。留空时自动启动本地实例。
--sam3-endpoint—(自动启动)已在运行的 sam3_server 的 [protocol://]host:port(同上)。留空时自动启动本地实例。
## 引用与致谢 如果 **RPent** 或 **Harness VLA** 对你的工作有帮助,请引用: ```bibtex @article{zhang2026harnessvla, title={Harness VLA: Steering Frozen VLAs into Reliable Manipulation Primitives via Memory-Guided Agents}, author={Zhang, Yixian and Zhang, Huanming and Gao, Feng and Li, Xiao and Liu, Zhihao and Zhu, Chunyang and Qiu, Jiaxing and Yan, Yuchen and Liu, Jiyuan and Tang, Wenhao and Fang, Zhengru and Nie, Yi and Wei, Changxu and Wang, Yu and Ding, Wenbo and Yu, Chao}, journal={arXiv preprint arXiv:2607.08448}, year={2026}, url={https://arxiv.org/abs/2607.08448} } ``` RPent 构建于 [RLinf](https://github.com/RLinf/RLinf) 的仿真器、VLA 模型与训练基础设施之上,也得益于更广泛开源社区的 agent SDK — [pydantic-ai](https://ai.pydantic.dev/)、[Claude Agent SDK](https://docs.claude.com/en/api/agent-sdk/overview) 与 OpenAI Codex SDK。感谢 LIBERO、RoboCasa、robosuite、MuJoCo、openpi 背后的团队。