AI 接入 · MCP + CLI + Skill

装进你的 Agent

iPet 是你 agent 的桌面存在感:一行命令以 MCP + CLI + Skill 接进 Codex / Claude Code / DeepSeek Harness / Qoder / Cursor —— 接入时不需要 agent,AI 归你的宿主, iPet 只负责把结论说给你听、需要时向你要一个决策、判断此刻该不该打断你, 并在所有接入的 agent 之间共享同一份记忆。桌宠独立运行时它自带 agent, 那时它才是被远程派发任务的那一个执行者。

curl -fsSL https://ipet.infinityfly.xin/agent/install.sh | bash -s -- --agent codex

脚本是幂等的:装 CLI → 生成 api key → 写 MCP 配置 → 放 SKILL.md。 想用宿主自己的插件机制(Claude Code / Codex 的 marketplace、DeepSeek Harness 的 bundle, 版本与卸载交给宿主),切上面第二个开关。 想先看看它做什么:install.sh · SKILL.md · 能力清单 JSON

MCP 工具

标准 JSON-RPC over HTTP。宿主重开会话就能看到 ipet.* 工具,共 22 个。

https://ipet.infinityfly.xin/api/v1/mcp

命令行

零依赖 Node CLI,脚本化和人肉都能用:ipet say "编译过了"。

https://ipet.infinityfly.xin/agent/cli/ipetctl.mjs

Agent Skill

能力表由服务端注册表实时渲染,加能力不用改文档;iPet 客户端也能直接加载它。

https://ipet.infinityfly.xin/agent/skill.zip

反向通道

本机上线后,远程网关能把 ipet.task_run 派回来,用你本机的模型和文件权限执行。

curl -fsSL https://ipet.infinityfly.xin/agent/install.sh | bash -s -- --agent generic --skip-auth
node ~/.ipet/bin/ipetctl.mjs login --email 你的邮箱
node ~/.ipet/bin/ipetctl.mjs connect --executor "claude -p {prompt}"

当前能力(22 · 其中 7 个需要桌宠在线)

还没装桌宠?

接入命令连着的是桌面客户端:先装 iPet,桌宠上线后宿主 agent 才看得到 ipet.* 工具。