You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] Docs say the Gateway discovers/supports A2A Agents, but it only discovers MCP #102
Both README.md and CLAUDE.md imply the Gateway performs A2A/Agent service discovery. It does not — A2A/Agent discovery is Orchestrator-only. The Gateway CRD has no a2a field, and gateway_controller.go only discovers MCP CRs.
Evidence
api/v1alpha1/gateway_types.goGatewaySpec (L28-87) has no a2a/agent field (only mcp has serviceDiscovery). grep -ni 'agent\|a2a' gateway_types.go returns nothing.
internal/controller/gateway_controller.go only implements discoverMCPs / MCPList (L1439-1462); there is no Agent discovery.
A2A lives solely on the Orchestrator: OrchestratorA2ASpec (api/v1alpha1/orchestrator_types.go L124-138).
README drift
The "A2A Service Discovery Configuration" example (~L548-568) shows a Gateway with:
spec.a2a does not exist on the Gateway and is rejected by the API server. The surrounding "A2A (Agent-to-Agent)" feature bullets (~L140-142) also imply Gateway-side agent discovery.
CLAUDE.md drift
"Gateway and Orchestrator both implement service discovery for Agent and MCP CRs" — the Gateway discovers MCP only.
"Agent … Discoverable by Gateway and Orchestrator via label selectors" — Agents are discoverable by the Orchestrator only.
Suggested fix
README: remove the Gatewayspec.a2a example (the Orchestrator does support spec.a2a.serviceDiscovery — move/retarget the example there), and reword the A2A feature bullets to scope A2A to the Orchestrator.
CLAUDE.md: scope Agent discovery to the Orchestrator; state that the Gateway's discovery is MCP-only.
Validated the claims against the code — confirmed correct. The Gateway does not discover or support A2A Agents; A2A/Agent service discovery is an Orchestrator-only feature.
GatewaySpec (api/v1alpha1/gateway_types.go) has no a2a/agent field.
gateway_controller.go implements discoverMCPs only, Watches(&MCP{}) only, and carries RBAC for mcps only — there is no Agent discovery path.
A2A discovery lives entirely on the Orchestrator: discoverAgents / reconcileAgentsConfigMap driven by spec.a2a.serviceDiscovery, with RBAC for agents.
Worth noting for anyone who recalls "the operator auto-discovers A2A agents": that capability is real — it just belongs to the Orchestrator, not the Gateway.
README: retarget the A2A service-discovery example to kind: Orchestrator with the real spec shape, fix the agent-requirements snippet to use an Agent CR, scope the A2A feature bullets to the Orchestrator, and drop the broken examples/gateway-a2a-service-discovery.yaml reference.
CLAUDE.md: scope Agent discovery to the Orchestrator and state the Gateway's discovery is MCP-only.
This issue will close automatically when #107 merges.
Activity
inference-gateway-maintainer commentedon Jun 9, 2026
Validated the claims against the code — confirmed correct. The
Gatewaydoes not discover or support A2AAgents; A2A/Agent service discovery is anOrchestrator-only feature.GatewaySpec(api/v1alpha1/gateway_types.go) has noa2a/agentfield.gateway_controller.goimplementsdiscoverMCPsonly,Watches(&MCP{})only, and carries RBAC formcpsonly — there is no Agent discovery path.discoverAgents/reconcileAgentsConfigMapdriven byspec.a2a.serviceDiscovery, with RBAC foragents.Worth noting for anyone who recalls "the operator auto-discovers A2A agents": that capability is real — it just belongs to the
Orchestrator, not theGateway.Fix opened in #107:
kind: Orchestratorwith the real spec shape, fix the agent-requirements snippet to use anAgentCR, scope the A2A feature bullets to the Orchestrator, and drop the brokenexamples/gateway-a2a-service-discovery.yamlreference.Agentdiscovery to the Orchestrator and state the Gateway's discovery is MCP-only.This issue will close automatically when #107 merges.
inference-gateway-releaser commentedon Jul 5, 2026
🎉 This issue has been resolved in version 0.17.0 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀