Claude Code model router

Agentpool

A unified agent orchestration hub that lets you configure and manage multiple AI agents (native, ACP, AGUI, Claude Code) via YAML, and exposes them through standardized protocols (ACP/OpenCode Server).

Install

Install
uv tool install agentpool

Found in the project README. Check it for setup steps after installing.

From source
git clone https://github.com/phil65/agentpool.git

From the README

AgentPool

A unified agent orchestration hub that lets you configure and manage heterogeneous AI agents via YAML and expose them through standardized protocols.

Documentation

The Problem

You want to use multiple AI agents together - Claude Code for refactoring, Codex for code editing with advanced reasoning, a custom analysis agent, maybe Goose for specific tasks. But each has different APIs, protocols, and integration patterns. Coordinating them means writing glue code for each combination.

The Solution

AgentPool acts as a protocol bridge. Define all your agents in one YAML file - whether they're native (PydanticAI-based), direct integrations (Claude Code, Codex), external ACP agents (Goose), or AG-UI agents. Then expose them all through ACP or AG-UI protocols, letting them cooperate, delegate, and communicate through a unified interface.

Quick Start

Minimal Configuration

Integrating External Agents

The real power comes from mixing agent types:

Now coordinator can delegate work to any of these agents, and all are accessible through the same interface.

Key Features

Multi-Agent Coordination

Agents can form teams (parallel) or chains (sequential):

Rich YAML Configuration

Everything is configurable - models, tools, connections, triggers, storage:

Server Protocols

AgentPool can expose your agents through multiple server protocols:

The ACP server is ideal for IDE integration - it provides real-time tool confirmations and session management. The OpenCode server enables the OpenCode TUI to control AgentPool agents, including agents operating on remote environments (Docker, SSH, cloud sandboxes).

Additional Capabilities

- Structured Output: Define response schemas inline or import Python types
- Storage & Analytics: Track all interactions with configurable…
Read the full README on GitHub

Details

Language
Python
License
MIT
Last updated
25 April 2026
Topics
acpagentailitellmllmllm-agentmcppydanticpydantic-aiyaml

FAQ

What is Agentpool?

A unified agent orchestration hub that lets you configure and manage multiple AI agents (native, ACP, AGUI, Claude Code) via YAML, and exposes them through standardized protocols (ACP/OpenCode Server). It is a model router for Claude Code, from phil65/agentpool on GitHub.

How do I install Agentpool?

Run uv tool install agentpool, then follow the setup in the README.

Is Agentpool popular?

phil65/agentpool has 201 GitHub stars and 32 forks. It was last updated on 25 April 2026.

More model routers & proxies

Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.