refactor(api): Rename A2A Custom Resource Definition to Agent#36
refactor(api): Rename A2A Custom Resource Definition to Agent#36
Conversation
This major refactoring renames the A2A (Agent-to-Agent) CRD to simply "Agent" for better usability and intuitive kubectl commands. ## Changes Made: ### API Types - Renamed `A2ASpec` → `AgentSpec` - Renamed `A2AStatus` → `AgentStatus` - Renamed `A2A` → `Agent` - Renamed `A2AList` → `AgentList` - Renamed Gateway field `A2A` → `Agents` - Renamed all A2A-related types to Agent equivalents ### Controllers - Renamed `A2AReconciler` → `AgentReconciler` - Updated all controller logic to use new Agent types - Updated RBAC permissions from `a2as` to `agents` ### Examples & Samples - Updated example files to use `kind: Agent` - Renamed example files for clarity - Updated Gateway examples to use `agents:` field ### Generated Files - Regenerated DeepCopy methods for new API types - Updated CRDs and manifests - Updated RBAC permissions ## Breaking Changes This is a breaking change that requires existing A2A resources to be migrated. Users can now run `kubectl get agents` instead of `kubectl get a2as`. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Eden Reich <edenreich@users.noreply.github.com>"
Signed-off-by: Eden Reich <eden.reich@gmail.com>
…scovery.yaml Signed-off-by: Eden Reich <eden.reich@gmail.com>
Signed-off-by: Eden Reich <eden.reich@gmail.com>
It makes sense because it just registers those agents and knowing what protocol to use mcp or a2a then makes a lot of sense in the Gateway context. Signed-off-by: Eden Reich <eden.reich@gmail.com>
|
@claude /review |
|
Claude finished @edenreich's task —— View job PR Review: Rename A2A CRD to AgentI've completed a comprehensive review of this major refactoring that renames the A2A (Agent-to-Agent) CRD to simply "Agent". ✅ Strengths
|
|
I left the Gateway manifest calling it A2A because that's the name of the protocol a user intending to use, it connects to other agents (so I'm just renaming the A2A kind resource to Agent because it feels more natural - internally the A2A kind resource can use MCP or Standard Tool-Use) but what's make an Agent is the A2A Server. They are only connecting via A2A. |
…ver.yaml Signed-off-by: Eden Reich <eden.reich@gmail.com>
|
🎉 This PR is included in version 0.12.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |

This major refactoring renames the A2A (Agent-to-Agent) CRD to simply "Agent" for better usability and intuitive kubectl commands.
Summary
kubectl get agentsinstead ofkubectl get a2asBreaking Changes
This requires existing A2A resources to be migrated to the new Agent kind.
Related
Closes #35
Generated with Claude Code