Skip to content

docs: scope A2A agent discovery to the orchestrator - #107

Merged
edenreich merged 1 commit into
mainfrom
docs/a2a-discovery-orchestrator-only
Jun 10, 2026
Merged

edenreich merged 1 commit into
mainfrom
docs/a2a-discovery-orchestrator-only

Conversation

@inference-gateway-maintainer

Copy link
Copy Markdown
Contributor

Summary

Validates and fixes the documentation drift reported in #102.

I confirmed the issue's claims against the code — they are correct: the
Gateway does not discover or support A2A Agents. A2A/Agent service
discovery is an Orchestrator-only feature.

Validation

Claim Verdict Evidence
GatewaySpec has no a2a/agent field ✅ confirmed api/v1alpha1/gateway_types.go — fields are Replicas, Image, Environment, Telemetry, Server, Auth, Providers, MCP, Resources, Service, Routing, HPA, ServiceAccount
Gateway controller discovers MCP only ✅ confirmed gateway_controller.go has discoverMCPs only, Watches(&MCP{}) only, RBAC mcps only — no Agent equivalents
A2A discovery lives on the Orchestrator ✅ confirmed discoverAgents / reconcileAgentsConfigMap + spec.a2a.serviceDiscovery + RBAC agents in orchestrator_controller.go

A2A auto-discovery does exist in the operator — it is just the
Orchestrator's feature, not the Gateway's.

Changes

README.md

  • Retarget the "A2A Service Discovery Configuration" example from kind: Gateway
    with spec.a2a (rejected by the API server) to kind: Orchestrator with the
    real spec shape (agents is a []string of URLs; serviceDiscovery uses a
    label selector; removed the non-existent pollingInterval field).
  • Fix the "Agent Requirements" snippet to show an Agent CR with matching
    labels instead of a plain kind: Service.
  • Scope the A2A feature bullets to the Orchestrator.
  • Remove the broken kubectl apply line referencing
    examples/gateway-a2a-service-discovery.yaml (file does not exist; feature
    does not exist).

CLAUDE.md

  • Agent is discoverable by the Orchestrator only (not the Gateway).
  • Clarify that the Gateway discovers MCP CRs only, while the Orchestrator
    discovers both Agent and MCP CRs.

Docs-only change — no API, RBAC, or kubebuilder-marker edits, so no manifest
regeneration is required.

Closes #102

@inference-gateway-maintainer
inference-gateway-maintainer Bot requested a review from a team as a code owner June 9, 2026 23:56
@edenreich
edenreich merged commit e61e320 into main Jun 10, 2026
1 check passed
@edenreich
edenreich deleted the docs/a2a-discovery-orchestrator-only branch June 10, 2026 00:14
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.17.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@inference-gateway-releaser inference-gateway-releaser Bot added the released Shipped in a release label Jul 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released Shipped in a release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Docs say the Gateway discovers/supports A2A Agents, but it only discovers MCP

1 participant