a2aproject / a2aproject/A2A

[Feat]: Unique identifier for an agent in Agent Card

Offen
#1,014 11 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
triaged TSC Review
Vorherrschende Sprache
Shell
Sterne
25.7k
Forks
2.6k
Ø Merge
3 T. 6 Std.
Gemergte PRs (30 T.)
16

Beschreibung

### Is your feature request related to a problem? Please describe.

Currently Agent Card does not have a unique identifier attribute for an agent. `agent_card.name` is not guaranteed unique and is prone to branding changes.

### Describe the solution you'd like

- Add a new`id` attribute to the agent card which must be a randomly generated UUID.
- This `id` must remain same for all versions of an agent.
- Mark the `id` as optional for backward compatibility.
- Clients can reliably use `id` as the identifier if set in the agent card.

### Describe alternatives you've considered

_No response_

### Additional context

_No response_

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Look for the agent card definition in the codebase, likely in a schema or model file. Understand how UUIDs are generated and stored in the project. Check existing tests for agent cards to see how to add and validate the new optional id field. Ensure backward compatibility by making the field optional and updating any serialization/deserialization logic.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Bereich
backend-api-design
Issue-Typ
Feature
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Ruhig
Klarheit
Klar beschrieben
Anfängerfreundlichkeit
65/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.