Skip to main content
Version: main ๐Ÿšง

BYO A2A Agents & MCP Servers

CAIPE is the orchestration layer โ€” plug in your own A2A-compatible agents and MCP servers via the supervisor agent registry, dynamic-agents seed config, or Docker Compose. Your protocols, your tools.

Quick links: Supervisor Chart ยท Dynamic Agents Chart


A2A Agent Registry โ€” Supervisor Helm Chartโ€‹

Register external A2A agents with the supervisor via multiAgentConfig.

KeyPurpose
multiAgentConfig.agentsExplicit list of external A2A agent endpoints to register
multiAgentConfig.protocola2a (peer-to-peer) or slim (hub-based) transport
multiAgentConfig.portPort advertised to peer agents for inbound connections

Auto-discovery mode: leave agents empty and the supervisor discovers peers on the network. Works with any A2A-compatible agent โ€” CAIPE agents, custom FastAPI services, or third-party implementations.

MCP Servers โ€” Dynamic Agents Seed Configโ€‹

Register external MCP server endpoints at chart install time using seedConfig.mcp_servers.

  • Each entry specifies name, URL, and optional auth headers
  • MCP servers are available to all custom agents in the dynamic-agents service
  • Hot-register new MCP servers from the Skills Gateway UI without redeployment
  • Supports HTTP/SSE MCP transport โ€” compatible with FastMCP and any spec-compliant server

Docker Compose โ€” A2A Transportโ€‹

Env VarPurpose
A2A_TRANSPORTp2p for peer-to-peer or slim for hub-based routing
NEXT_PUBLIC_A2A_BASE_URLPoint the UI at your custom supervisor or gateway endpoint

Add any external A2A agent as a new service in docker-compose.yaml with the shared network. Each agent service exposes its A2A endpoint; the supervisor discovers and routes to it automatically.

Supported Protocolsโ€‹

ProtocolDescription
A2A (Agent-to-Agent)Google-led open protocol for agent interoperability
MCP (Model Context Protocol)Anthropic-led standard for tool and resource exposure
AG-UI / SSEReal-time event streaming across all agent types
SLIMHub-based routing for firewall-friendly deployments
OpenAI-compatibleAny agent exposing /v1/chat/completions works

Bring Your Own LLMโ€‹

Any OpenAI-compatible endpoint works โ€” Claude (via Anthropic), GPT-4o, Gemini, Llama, Mistral.

  • Configure per-agent model endpoints in llmSecrets or seedConfig.models
  • LiteLLM proxy support โ€” route to any provider through a single unified endpoint
  • Switch models without redeploying โ€” update via Helm values or the UI

Backstage & External Integrationsโ€‹

  • Agent Forge Backstage plugin โ€” surface CAIPE agents directly in your Internal Developer Portal
  • Slack Bot / Webex Bot โ€” expose the full supervisor as a conversational interface
  • CLI access โ€” invoke any agent from the terminal via the CAIPE CLI
  • REST API โ€” integrate agent execution into CI/CD pipelines or custom dashboards