AI SummaryNative Claude Agent SDK integration for AgentPool that enables file operations, terminal access, and advanced code editing with lower latency and tighter integration than bridge alternatives. Developers building AI agents on Claude Code or Claude Desktop benefit from direct SDK access and streamlined tooling.
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to set up the "agentpool" agent in my project. Please run this command in my terminal: # Add AGENTS.md to your project root curl --retry 3 --retry-delay 2 --retry-all-errors -o AGENTS.md "https://raw.githubusercontent.com/phil65/agentpool/main/docs/configuration/node-types/claude-code-agents.md" Then explain what the agent does and how to invoke it.
Description
Native Claude Agent SDK integration
Overview
While Claude Code can be used via the ACP bridge, AgentPool provides its own complete integration using the Claude Agent SDK directly. This approach offers several advantages: • Lower latency: No ACP protocol overhead between AgentPool and Claude Code • Tighter integration: Direct access to Claude Code's streaming, tools, and events • Toolset bridging: Expose AgentPool's internal toolsets to Claude Code via MCP • Better error handling: Native exception propagation and recovery • Structured outputs: Full support for typed response schemas Claude Code agents are ideal for: • Complex coding tasks requiring file system access • Terminal operations and shell command execution • Multi-file refactoring and code generation • Tasks benefiting from Claude's extended thinking
Toolset Integration
Expose AgentPool's internal toolsets to Claude Code via MCP: `yaml agents: coordinator: type: claude_code tools: • type: subagent agents: • researcher • writer • type: agent_management • type: resource_access ` This allows Claude Code to delegate tasks to other AgentPool agents.
Toolset Integration
One of the key features of Claude Code agents is the ability to expose AgentPool's internal toolsets via MCP. When you configure toolsets, they are: • Started as an in-process MCP server • Connected to Claude Code using the SDK's native MCP support • Available as tools within Claude Code's tool palette This enables powerful workflows: `yaml agents: smart_coder: type: claude_code tools: # Delegate to specialized agents • type: subagent agents: • test_writer • documentation_writer # Access shared resources • type: resource_access # Manage other agents • type: agent_management ` The toolsets communicate directly with Claude Code without HTTP overhead.
Configuration Reference
/// mknodes {{ "agentpool.models.claude_code_agents.ClaudeCodeAgentConfig" | schema_to_markdown(display_mode="yaml", header_style="pymdownx", as_listitem=False) }} ///
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster