Remote Agent Server — AI skill for Claude Code
自托管的远程 AI 智能体执行与管理服务,支持 Codex、Claude Code、ACP、MCP 和隔离工作区|Self-hosted remote AI agent execution and management server.
How to install Remote Agent Server
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open ma-pony/remote-agent-server and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Remote Agent Server does
自托管的远程 AI 智能体执行与管理服务,支持 Codex、Claude Code、ACP、MCP 和隔离工作区|Self-hosted remote AI agent execution and management server.
Alternatives in AI
- Peekaboo — Peekaboo is a macOS CLI & optional MCP server that enables AI agents to capture screenshots of applications, o 3.2k ★
- Dinotty — Multi-device terminal server for AI coding agents 643 ★
- Agenvoy — Self-hosted AI agent harness in a single Go binary — writes, sandbox-tests and repairs its own tools, and lets 474 ★
README
Remote Agent Server
[English](README.en.md)
Remote Agent Server 是一个面向业务系统的自托管 ACP Agent 执行网关。调用方通过 HTTP 提交异步任务,服务在隔离 Workspace 中运行 Claude Code、Codex 等命令行 Agent,并通过状态查询、Event、SSE 或签名 Webhook 返回执行过程和结果。
它把现有 Agent CLI 变成可嵌入工单系统、CI/CD、内部平台和自动化服务的持久化后端。Web 管理台负责配置 Agent、项目环境、Skills、执行器扩展、MCP、并发和接入端点;外部调用方只需要 Endpoint Token 和稳定的 Task API。
执行层基于 [acpx](https://github.com/openclaw/acpx) 和 [Agent Client Protocol(ACP)](https://github.com/agentclientprotocol)。目前支持 Claude Code、Codex 和 Hermes Provider。
Agent 的推理、工具使用和原生会话仍由对应 Provider 负责。Remote Agent Server 管理执行生命周期、Workspace 隔离、配置投影、持久化事件和外部回调。业务审批、工单状态机与部署规则由调用方维护。
适用场景
- 工单、Issue 或运维平台把任务派发给 Agent,并异步接收执行结果。
- CI/CD 或内部自动化服务需要可查询、可取消、可审计的长任务。
- 团队希望复用现有 Claude Code、Codex 登录状态,同时集中管理项目环境、MCP 和 Skills。
- 自托管环境需要保留代码、凭证、执行记录和 Workspace 的控制权。
主要功能
- 异步 Task API:外部系统通过 HTTP 提交任务,使用幂等键避免重复执行,并可查询、取消或继续多轮 Conversation。
- 可靠事件出口:支持增量 Event 查询、可续读 SSE 和签名 Webhook;断线不影响正在执行的 Task。
- 统一管理 Agent:集中配置 Provider、Agent 指令、项目环境、Skills 和 MCP。
- 可复用项目环境:提前准备一个或多个 Git 仓库及依赖,Session 创建时无需重新安装。
- 隔离 Workspace:macOS 使用 APFS Clone,Linux 使用 Btrfs Snapshot,为每个 Session 快速创建写时复制环境。
- 多轮 Agent 对话:同一 Session 可以连续执行多个 Run,并在 Provider 支持时续接 ACP Session。
- 完整执行记录:在 SQLite 中保存用户消息、Agent 输出、工具调用、状态、错误和最终结果。
- Skills 管理:发现本机 Skills、上传 Skill ZIP,并控制每个 Agent 启用的 Skills。
- 执行器扩展:发现 Codex 和 Claude Code 的系统插件与 Hook,由每个 Agent 单独选择,在运行时投影到它的 Provider Home。
- MCP 管理:支持 HTTP 和 stdio MCP,支持固定值、Session 参数和运行时参数,也可从 Provider 系统配置中导入 MCP,并查看服务器公开的工具。
- 并发与队列控制:在管理台统一调整 Run、Webhook 投递和项目环境构建并发,并可为单个 Agent 设置 Run 上限。
- 有头浏览器:Agent 可以运行在真实桌面会话中,不要求放入容器。
执行模型
外部系统接入是项目的主要服务接口:
外部系统
|
v
接入端点(鉴权 / 参数映射 / 幂等)
|
v
Task -> Conversation -> Session -> 隔离 Workspace -> acpx/ACP -> Provider
| |
| +-> Skills / 执行器扩展 / MCP
|
+-> 状态查询 / Event 查询 / SSE / 签名 Webhook
管理人员也可以从 Web 界面直接创建 Session 和 Run:
项目环境 -> Agent -> Session -> R
Related Skills
Wpvibe AI MCP
WPVibe — MCP server plugin for WordPress. Connect Claude, ChatGPT, Cursor, Windsurf and any MCP-compatible AI
Hotline
Open-source, self-hosted room for AI agent teams. Any model, Claude Code & Codex over ACP, its own computer in
Grid
A self-hosted workspace for you and your AI coding agents: one board, live agent threads, terminals, files and
Artifact Site
A self-hosted home for your team’s AI-generated pages and documents. Publish HTML, build folders, ZIPs and PDF
Telegram Business MCP
Give AI agents access to an authorized Telegram archive via the official Telegram Business API: search convers
Kenfold
Self-hosted memory server for AI agents. Share context across Claude Code, Codex, OpenCode, and ChatGPT over M
Related Agents
Infra Mesh
Mesh network specialist. Peer enrollment, groups, routes, policies, setup keys, and management-plane diagnosti
Codex Bridge
把指定工作外包給 gpt-5.5(codex)並忠實回傳其輸出。當需要 gpt-5.5 的批量實作或獨立第二審查視角時使用。這是 plugin 內第三種 codex 路徑:一次性 codex exec CLI 呼叫、輸出
Codex Consultant
An independent code review and debugging subagent that uses Codex MCP as its sole execution engine, acting as