Skip to main content Switch to mobile version agentpool 2.15.1 Pydantic-AI based Multi-Agent Framework with YAML-based Agents, Teams, Workflows & Extended ACP / AGUI integration
pip install agentpool==2.15.1 Copy PIP instructions
A unified agent orchestration hub that lets you configure and manage heterogeneous AI agents via YAML and expose them through standardized protocols.
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.
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.
flowchart TB subgraph AgentPool subgraph config[YAML Configuration] native[Native Agents
PydanticAI] direct[Direct Integrations
Claude Code, Codex] acp_agents[ACP Agents
Goose, etc.] agui_agents[AG-UI Agents] workflows[Teams & Workflows] end subgraph interface[Unified Agent Interface] delegation[Inter-agent delegation] routing[Message routing] context[Shared context] end config --> interface end interface --> acp_server[ACP Server] interface --> opencode_server[OpenCode Server] interface --> agui_server[AG-UI Server] acp_server --> clients1[Zed, Toad, ACP Clients] opencode_server --> clients2[OpenCode TUI/Desktop] agui_server --> clients3[AG-UI Clients] Quick Start
uv tool install agentpool Minimal Configuration
# agents.yml agents: assistant: type: native model: openai:gpt-4o system_prompt: "You are a helpful assistant." # Run via CLI agentpool run assistant "Hello!" # Or start as ACP server (for Zed, Toad, etc.) agentpool serve-acp agents.yml
Integrating External Agents
The real power comes from mixing agent types:
agents: # Native PydanticAI-based agent coordinator: type: native model: openai:gpt-4o tools: - type: subagent # Can delegate to all other agents system_prompt: "Coordinate tasks between available agents." # Claude Code agent (direct integration) claude: type: claude_code description: "Claude Code for complex refactoring" # Codex agent (direct integration) codex: type: codex model: gpt-5.1-codex-max reasoning_effort: medium description: "Codex for code editing with advanced reasoning" # ACP protocol agents goose: type: acp provider: goose description: "Goose for file operations" # AG-UI protocol agent agui_agent: type: agui url: "http://localhost:8000" description: "Custom AG-UI agent" Now coordinator can delegate work to any of these agents, and all are accessible through the same interface.
Multi-Agent Coordination
Agents can form teams (parallel) or chains (sequential):
teams: review_pipeline: mode: sequential members: [analyzer, reviewer, formatter] parallel_coders: mode: parallel members: [claude, goose] async with AgentPool("agents.yml") as pool: # Parallel execution team = pool.get_agent("analyzer") & pool.get_agent("reviewer") results = await team.run("Review this code") # Sequential pipeline chain = analyzer | reviewer | formatter result = await chain.run("Process this") Rich YAML Configuration
Everything is configurable - models, tools, connections, triggers, storage:
agents: analyzer: type: native model: type: fallback models: [openai:gpt-4o, anthropic:claude-sonnet-4-0] tools: - type: subagent - type: resource_access mcp_servers: - "uvx mcp-server-filesystem" knowledge: paths: ["docs/**/*.md"] connections: - type: node name: reporter filter_condition: type: word_match words: [error, warning] 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 providers
File Abstraction: UPath-backed operations work on local and remote sources
Triggers: React to file changes, webhooks, or custom events
Streaming TTS: Voice output support for all agents
agentpool run agent_name "prompt" # Single run agentpool serve-acp config.yml # ACP server for IDEs agentpool serve-opencode config.yml # OpenCode TUI server agentpool serve-mcp config.yml # MCP server agentpool watch --config agents.yml # React to triggers agentpool history stats --group-by model # View analytics Programmatic
from agentpool import AgentPool async with AgentPool("agents.yml") as pool: agent = pool.get_agent("assistant") # Simple run result = await agent.run("Hello") # Streaming async for event in agent.run_stream("Tell me a story"): print(event) # Multi-modal result = await agent.run("Describe this", Path("image.jpg")) Documentation
For complete documentation including advanced configuration, connection patterns, and API reference, visit phil65.github.io/agentpool.
Spec: OpenCode server
Released: Nov 28, 2026
Author: Philipp Temminghoff
Both files in this release have provenance metadata.
View provenance details
MIT View SPDX License List
a2a ag-ui antigravity bot braintrust clipboard coding composio events langfuse markitdown mcp-discovery mcp-run mcp-tasks notifications promptlayer tiktoken tts zed
Development Status 4 - Beta
Intended Audience Developers
Operating System OS Independent
Programming Language Python :: 3
Scientific/Engineering :: Artificial Intelligence
Software Development
Release files for agentpool 2.15.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 22.5 MB
Release files / agentpool-2.15.1.tar.gz
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.
Release files / agentpool-2.15.1-py3-none-any.whl
Security for agentpool 2.15.1
Both files in this release have been uploaded with provenance metadata.
With provenance agentpool-2.15.1.tar.gz Nov 28, 2026
With provenance agentpool-2.15.1-py3-none-any.whl Nov 28, 2026
Attestation for agentpool-2.15.1.tar.gz
Attestation for agentpool-2.15.1-py3-none-any.whl
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Release history Release notifications | RSS feed
Nov 28, 2026 2 release files Full provenance
Nov 26, 2026 2 release files Full provenance
Nov 25, 2026 2 release files Full provenance
Nov 24, 2026 2 release files Full provenance
Nov 23, 2026 2 release files Full provenance
Nov 22, 2026 2 release files Full provenance
Nov 19, 2026 2 release files Full provenance
Nov 17, 2026 2 release files No provenance
Nov 16, 2026 2 release files No provenance
Apr 5, 2026 2 release files Full provenance
Apr 2, 2026 2 release files Full provenance
Mar 31, 2026 2 release files Loss of provenance
Mar 29, 2026 2 release files Full provenance
Mar 24, 2026 2 release files Full provenance
Mar 23, 2026 2 release files Full provenance
Mar 20, 2026 2 release files Loss of provenance
Mar 18, 2026 2 release files Full provenance
Mar 15, 2026 2 release files Full provenance
Mar 14, 2026 2 release files Full provenance
Mar 11, 2026 2 release files Loss of provenance
Mar 9, 2026 2 release files Full provenance
Mar 5, 2026 2 release files Full provenance
Mar 3, 2026 2 release files Full provenance
Feb 27, 2026 2 release files Full provenance
Feb 26, 2026 2 release files Full provenance
Feb 25, 2026 2 release files Full provenance
Feb 24, 2026 2 release files Full provenance
Feb 22, 2026 2 release files Full provenance
Feb 20, 2026 2 release files Full provenance
Feb 19, 2026 2 release files Full provenance
Feb 18, 2026 2 release files Full provenance
Feb 16, 2026 2 release files Full provenance
Feb 7, 2026 2 release files Full provenance
Feb 6, 2026 2 release files Full provenance
Feb 3, 2026 2 release files Full provenance
Jan 30, 2026 2 release files Full provenance
Jan 26, 2026 2 release files Full provenance
Jan 25, 2026 2 release files Full provenance
Jan 24, 2026 2 release files Full provenance
Jan 23, 2026 2 release files Full provenance
Jan 22, 2026 2 release files Full provenance
Jan 21, 2026 2 release files Full provenance
Jan 20, 2026 2 release files Full provenance
Jan 19, 2026 2 release files Full provenance
Jan 17, 2026 2 release files Full provenance
Jan 16, 2026 2 release files Full provenance
Jan 15, 2026 2 release files Full provenance
Jan 14, 2026 2 release files Full provenance
Jan 13, 2026 2 release files Full provenance
Jan 12, 2026 2 release files Full provenance
Jan 11, 2026 2 release files Full provenance
Jan 10, 2026 2 release files Full provenance
Jan 9, 2026 2 release files Full provenance
Jan 8, 2026 2 release files Full provenance
Jan 4, 2026 2 release files Full provenance
Jan 2, 2026 2 release files Full provenance
Jan 1, 2026 2 release files Full provenance
Dec 31, 2025 2 release files Full provenance
Dec 27, 2025 2 release files Full provenance
Dec 25, 2025 2 release files Full provenance
Dec 24, 2025 2 release files Full provenance
Dec 23, 2025 2 release files Loss of provenance
Dec 23, 2025 2 release files Full provenance
Dec 22, 2025 2 release files Full provenance
Dec 21, 2025 2 release files No provenance
Dec 16, 2025 2 release files No provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation
Deployed from fc0d8e6











