AgentPool
What it does
See each coding-agent subscription's live limits and offload work to one with headroom.
- Connects 在你的电脑上运行
- Account or key No key needed
- Category 开发者工具
安装
选择你使用的 AI 应用,然后复制设置。
通过 3/3 项检查 · 在你的电脑上运行
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
可连接 Claude,但需要先准备
需要先在电脑上安装 Python (uv)(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
打开电脑版 Claude 应用的设置文件
SettingsDeveloperEdit Config
粘贴这些设置并保存文件
正在检查命令 · 通过后才会显示复制按钮
退出 Claude 再重新打开
试一试
用 AgentPool 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude 说正在使用 AgentPool,或回答中出现 AgentPool 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
ChatGPT 暂时无法连接 AgentPool
AgentPool 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器
你可以改用这些方式
A · 使用能连接 AgentPool 的应用
- 需要先在电脑上安装 Python (uv)(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
- 需要先在电脑上安装 Python (uv)(只需一次)
- 需要先在电脑上安装 Python (uv)(只需一次)
- 需要先在电脑上安装 Python (uv)(只需一次)
B · 开发者工具 类中能连接 ChatGPT 的其他服务器
从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的
- Sentry✓ ChatGPT
- Compiler Explorer✓ ChatGPT
- GitDiagram✓ ChatGPT
可连接 Claude Code,但需要先准备
需要先在电脑上安装 Python (uv)(只需一次)
打开终端
Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell
粘贴这条命令并按 Enter
正在检查命令 · 通过后才会显示复制按钮
在 Claude Code 中输入 /mcp
应能看到 AgentPool 在列表中并显示已连接
试一试
用 AgentPool 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude Code 说正在使用 AgentPool,或回答中出现 AgentPool 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Cursor,但需要先准备
需要先在电脑上安装 Python (uv)(只需一次)
点击这个按钮打开 Cursor
正在检查命令 · 通过后才会显示复制按钮
在 Cursor 中以 Agent 模式打开 AI 聊天
试一试
用 AgentPool 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Cursor 说正在使用 AgentPool,或回答中出现 AgentPool 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同
可连接 VS Code,但需要先准备
需要先在电脑上安装 Python (uv)(只需一次)
点击这个按钮打开 VS Code
正在检查命令 · 通过后才会显示复制按钮
在 VS Code 中以 Agent 模式打开 AI 聊天
试一试
用 AgentPool 告诉我你能帮我做什么,然后做一件给我看✓ 如果 VS Code 说正在使用 AgentPool,或回答中出现 AgentPool 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同
开发者专用:终端命令和 JSON 设置
安装在电脑上
Claude Code
正在检查命令 · 通过后才会显示复制按钮
Claude Desktop (claude_desktop_config.json)
正在检查命令 · 通过后才会显示复制按钮
Cursor (~/.cursor/mcp.json)
正在检查命令 · 通过后才会显示复制按钮
VS Code (mcp.json)
正在检查命令 · 通过后才会显示复制按钮
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
一览
哪些应用可以使用它
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
在你的电脑上运行,适用于
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月13日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 sidduHERE 验证,该账户拥有此仓库
- ✓ 通过
仍在维护
代码最后更新于3个月前
- ✓ 通过
有许可证
使用 MIT
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
讨论
提问、分享技巧或报告无法使用。按“有帮助”数量排序。
用户评价
还没有评价
与“开发者工具”中的其他服务器比较i
- 星标数多于此分类中其他 5824 个服务器的 69%
- 发布到注册中心的时间比此分类中其他 5824 个服务器的 18% 更新
- 基础检查结果等于或优于此分类中其他 5824 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
AgentPool 安全吗?
它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于3个月前,最新版本(0.1.13)于5个月前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
有什么可以替代它?
同一分类中有:REA, GitHub, Serena MCP: the IDE for your agent
同类别的其他选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Serena MCP: the IDE for your agent
A powerful toolkit for coding, providing semantic retrieval and editing capabilities.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
AgentPool
You pay for several coding-agent subscriptions — Codex, Claude Code, Cursor, Copilot, Devin, Droid — but you work in one at a time. The rest sit idle until your active provider hits its 5-hour or weekly limit, and then you stall.
AgentPool is a local Python CLI and MCP server that reads the live usage limits of every coding-agent subscription you have and lets you — or your primary agent — offload work to whichever one still has headroom. Use the capacity you already pay for, and keep moving instead of hard-stopping at a cap.
It is a control plane, not an auto-router. AgentPool exposes live provider, model, session, artifact, lease, and best-effort usage/capacity state, and runs the work you offload as explicit worker sessions. You or your agent still choose the provider and model — AgentPool makes the limits visible so that choice is informed, never automatic.
The v0.1 alpha posture is conservative:
- tmux is the default runtime; Terminal Control is optional when configured.
- Provider selection is explicit;
provider=autois rejected. - Usage/capacity summaries are confidence-tagged and keyed by provider id.
- CodexBar and ccusage are optional usage helpers when installed or configured.
- AgentPool does not store provider credentials, scrape browser usage pages, rank models, merge code, or push code.
Requirements
- Python 3.11 or newer.
- tmux on
PATH. - Optional:
termctrlonPATHfor the Terminal Control runtime. - Git for worktree isolation and diff collection.
- macOS or Linux for live runtimes. Windows is not a v0.1 target except through WSL-like shells.
Install
AgentPool publishes to PyPI as agentpool-cli; the installed command is agentpool.
uv tool install agentpool-cli # recommended
pipx install agentpool-cli # fallback uvx agentpool-cli --help # zero-install try
Then:
agentpool setup codex
agentpool doctor --deep --privacy
The agentpool-cli package installs on macOS, Linux, and Windows, but live terminal runtimes are supported on macOS or Linux (Windows via WSL).
Optional Terminal Control config:
runtime:
default: tmux terminal_control: enabled: true binary: termctrl session_prefix: agentpool cols: 120 rows: 36
Install from source:
git clone https://github.com/sidduHERE/agentpool.git
cd agentpool uv tool install --force .
Or run from a development checkout:
uv venv
uv pip install -e ".[dev]"
A GitHub release install (wheel pinned to a tag, no PyPI required) is also supported:
scripts/install.sh latest
See docs/install.md for first-run, upgrade, and MCP setup notes.
Quickstart
For AI agents, start by loading the bundled version-matched skill:
agentpool skills get agentpool
agentpool skills get core --full
agentpool init
agentpool setup cursor agentpool config validate agentpool doctor --deep --privacy agentpool setup all agentpool smoke --provider fake-question --repo . --json agentpool inventory --json agentpool usage-summary --refresh --json
That last command is the one you will run most: it shows every configured subscription's remaining limit, reset time, and a usable flag, so you can see at a glance which provider to offload the next task to.
Start an explicitly selected read-only worker:
agentpool spawn \
--provider \ --repo . \ --task "Inspect the project and ask one clarifying question." \ --isolation read_only
agentpool observe --wait-for completed,error,question,approval_prompt --timeout 60 --json agentpool send "Continue with the smallest useful check." agentpool artifacts --json agentpool transcript --tail-lines 80 --json agentpool session show --json agentpool sessions --recent 10 --json agentpool collect --json agentpool terminate --dry-run --json agentpool terminate --json
spawn defaults --initial-prompt-mode to provider_default. For Codex CLI this resolves to arg, which passes the first task as the Codex prompt argument instead of relying on a paste-and-submit startup cycle. Providers that expose reasoning controls also accept process-local overrides such as --reasoning-effort high; Codex also accepts --service-tier priority. AgentPool does not edit your provider config.
For AgentPool-created edit isolation, choose worktrees explicitly:
agentpool spawn \
--provider \ --repo . \ --task "Make the small patch." \ --role implementer \ --isolation worktree
agentpool worktrees list --repo . agentpool worktrees cleanup --session-id --dry-run --json agentpool worktrees cleanup --session-id
Worktree isolation is not forced by default. Users often have their own worktree setup and cleanup rules, so AgentPool only creates a worktree when requested through --isolation worktree or policy configuration.
Usage And Capacity
agentpool usage-summary --refresh --json
agentpool usage-summary --refresh --no-interactive --json agentpool stats --since 7d --json agentpool usage-summary --refresh --backend codexbar --json agentpool usage-summary --refresh --backend ccusage --provider claude-code --json
usage-summary returns a providers object keyed by provider id. It is not ordered and it is not a recommendation list. Each row includes usable, unusable_reason, quota windows, confidence, age/staleness, and reset timing when the provider exposes it. The older CLI capacity-summary command is retained as a human convenience alias; MCP also exposes get_capacity_summary as a compatibility alias for get_usage_summary.
The default buffer is policy.min_remaining_percent = 10. If any reported quota window is below that buffer, the provider row is marked unusable for the summary. Staleness is reported as age information only; it does not by itself make a provider unusable. If you want cached summary reads to refresh automatically after a threshold, set policy.usage_auto_refresh_after_seconds in ~/.agentpool/config.yaml. AgentPool still does not pick an alternative provider for you. MCP usage refreshes are intentionally bounded and may return partial=true; use the CLI commands above when a shell-capable agent needs a complete live refresh. Use --no-interactive or AGENTPOOL_NO_INTERACTIVE_USAGE=1 when a shell script must avoid provider TUI fallback probes.
Provider Matrix
| Provider id | Command | Usage status in v0.1 | Model pinning |
|---|---|---|---|
codex-cli | codex | native local app-server rate-limit probe; CodexBar optional | --model + config-scoped reasoning/service tier |
cursor-cli | agent or cursor-agent | optional CodexBar Cursor usage; native CLI usage is interactive /usage only | --model + read-only --mode ask |
claude-code | claude | temporary /usage probe; ccusage telemetry optional | --model + --effort |
devin-cli | devin | Devin/Windsurf plan-status API from existing CLI auth, with /usage fallback | --model |
copilot-cli | gh copilot | GitHub Copilot usage API from env or gh auth token | forwarded --model |
droid-cli | droid | unknown unless surfaced by future safe probe | process-local settings file + --reasoning-effort |
opencode | opencode | configured adapter; usage unknown in this alpha | --model with provider/model ids |
Compatibility note: the PRD calls Factory's coding product factory-droid, but AgentPool exposes it as droid-cli because the installed command is droid. Do not add a duplicate factory-droid inventory row unless a distinct harness appears.
Privacy Posture
AgentPool is local-first, but usage probes can still be sensitive because they read existing CLI auth state and may call provider APIs on explicit refresh.
AgentPool does not:
- store provider credentials;
- read browser cookies by default;
- scrape browser dashboards;
- trigger login flows;
- silently accept paid overage.
AgentPool does store:
- SQLite session, event, usage snapshot, artifact, and lease metadata;
- transcript and artifact files under
~/.agentpool/artifactsby default; - generated runtime settings that are not credentials.
Run:
agentpool doctor --privacy --json
See SECURITY.md and docs/usage-detection.md.
MCP
Start the MCP server:
agentpool mcp
agentpool mcp --toolsets default,stats AGENTPOOL_MCP_LOCKDOWN=1 agentpool mcp
Example host config:
agentpool mcp-config --client generic
{
"mcpServers": { "agentpool": { "command": "agentpool", "args": ["mcp"] } } }
Verified install helpers (deeplink or one-liner shell command):
agentpool mcp-config --client cursor --absolute-command --install
agentpool mcp-config --client claude-code --absolute-command --install agentpool mcp-config --client codex --absolute-command --install agentpool mcp-config --client copilot-cli --absolute-command --install
Raw config generators:
agentpool mcp-config --client claude-code --json
agentpool mcp-config --client codex agentpool mcp-config --client cursor agentpool mcp-config --client claude-desktop --json
Use --absolute-command if the MCP host does not inherit your shell PATH. Verified per-host steps live in docs/mcp-clients.md. Team templates: .cursor/mcp.json.example, .mcp.json.example, and docs/examples/README.md. MCP Registry metadata: server.json. It advertises the agentpool-cli PyPI package and should be bumped with each release. Release checklist: docs/release.md. Provider setup guides: Cursor, Cursor Agent CLI, Codex, Claude Code, Copilot, Droid, and Devin.
MCP-connected agents should read these once on connect:
agentpool://onboardingagentpool://skill.mdagentpool://preferences.md
Then use tools for live operations. The user-owned preferences file also shows up through agentpool preferences and get_delegation_preferences(). It may say to use your native subagent system instead of AgentPool for some tasks. The default MCP toolset is deliberately small: inventory, usage snapshot, usage summary, provider models, preferences, spawn, observe, poll, send, interrupt, collect, artifact manifest, transcript paging, and terminate. Add opt-in toolsets with agentpool mcp --toolsets default,stats,sessions,leases,worktrees.
Shell-capable agents can use agentpool skills get agentpool instead of MCP resources to load the same core usage guidance from the installed CLI.
Coding agents with shell access should prefer the CLI path. It is more token-efficient because large worker output stays in artifact files and observe/collect return compact manifests by default. MCP remains first-class for MCP-native hosts and no-shell environments. See docs/agent-cli-and-mcp.md.
Development Checks
Development and CI checks are documented in CONTRIBUTING.md.