-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
Feature Description
The AgentCard sync controller and main controller only watch workloads with kagenti.io/type=agent. Workloads labeled kagenti.io/type=tool are ignored even when they have protocol.kagenti.io/a2a set. This means tools that serve /.well-known/agent.json (e.g., MCP tools with an A2A bridge) are not discovered by the AgentCard system.
This was identified during the review of #187 (multiple protocol labels).
Scope:
- Extend the sync controller and main controller to also watch workloads with
kagenti.io/type=toolwhen they haveprotocol.kagenti.io/a2a - Do not attempt to fetch for MCP-only workloads (
protocol.kagenti.io/mcpwithoutprotocol.kagenti.io/a2a) the fetcher only supports A2A today and MCP metadata discovery needs further design input from MCP agent builders - The affected code is in
agentcard_controller.go(agentLabelPredicate,isAgentWorkload) andagentcardsync_controller.go(shouldSyncWorkload)
Proposed Solution
- Update
agentLabelPredicate()andisAgentWorkload()inagentcard_controller.goto accept bothkagenti.io/type=agentandkagenti.io/type=tool - Update
shouldSyncWorkload()inagentcardsync_controller.goto accept both types when aprotocol.kagenti.io/a2alabel is present - Ensure the naming convention for auto-created cards still works (e.g.,
{tool-name}-deployment-card) - Add integration test coverage for tool workloads with A2A labels
Want to contribute?
- I would like to work on this issue.
Additional Context
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Backlog