a2aproject / a2aproject/A2A

[Feat]: Allow client generated context id.

Aperta
#1,317 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Shell
Stelle
25.7k
Fork
2.6k
Merge medio
3g 6h
PR unite (30g)
16

Descrizione

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

In a multi-agent deployment it's easier to keep the mapping on the server side, and some agent frameworks just allow providing session id so there is no need for mapping.

### Describe the solution you'd like

Remove wording around context id being server generated and add add "accepts_client_generated_context_id" to agent capabilities.

### Describe alternatives you've considered

1) leave as is
this makes some things complicated. for instance:

` A `
` / \ `
` \/ \/`
` B C`
` \ /`
` \/\/`
` D `

if we want to keep the same context in calls to D it is overly complex and in some cases impossible (B receives the initial context id, how is it supposed to pass it to C for reuse)?

2) use a new extension to "hint" the context id
this will work, but i think context id is so embedded in the spec, that i think this should be more explicit

### Additional context

_No response_

### Code of Conduct

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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

The issue is about modifying the A2A protocol specification to allow client-generated context IDs. Start by reading the protocol spec documents, likely in the repository root or a docs/ folder, to understand the current context ID generation rules and agent capabilities. Look for existing definitions of 'accepts_client_generated_context_id' or similar capability flags. The change involves updating specification text and possibly example code. 'Done' means the spec clearly permits client-generated IDs and the capability is documented.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Ambito
backend-api-design
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.