Skip to content

chore(samples): Add samples for A2A plugins - #847

Merged
bartek-gralewicz merged 3 commits into
mainfrom
bgralewicz/plugins_samples
Nov 24, 2026
Merged

bartek-gralewicz merged 3 commits into
mainfrom
bgralewicz/plugins_samples

Conversation

@bartek-gralewicz

Copy link
Copy Markdown
Collaborator

Description

Samples for A2A plugin feature.

New plugins samples are introduced as a dedicated src/samples/plugins directory. src/samples/plugins/README.md contains information about the scope of the sample and how to execute it.

Example run

Client side

[client] HTTP+JSON to http://localhost:41241/a2a/rest, experiment=exp-42
[client] agent replied: Hello World! Nice to meet you!
[client] task 48276c57 is TASK_STATE_COMPLETED

Server side

[agent experiment=exp-42] handling task 48276c57                                                                                     
[SampleAgentExecutor] Processing message 544dce70-e47f-48e7-8752-6c0b8895de03 for task 48276c57-0427-439f-b366-ac45c96cac15 (context:
 f47535e2-b6f3-4d7d-88bc-f5f9c96fd49d)                                                                                               
[SampleAgentExecutor] Prompt response: Hello World! Nice to meet you!                                                                
[audit] task 48276c57: new -> SUBMITTED                                                                                              
[audit] task 48276c57: SUBMITTED -> WORKING                                                                                          
[SampleAgentExecutor] Task 48276c57-0427-439f-b366-ac45c96cac15 finished with state: completed                                       
[audit] task 48276c57: WORKING -> WORKING                                                                                            
[audit] task 48276c57: WORKING -> COMPLETED                                                                                          
[timing] SendStreamingMessage took 1003.5ms, 4 streamed event(s)                                                                     
[audit] SendStreamingMessage over HTTP+JSON experiment=exp-42 ok                                                                     
[timing] GetTask took 0.2ms, 0 streamed event(s)                                                                                     
[audit] GetTask over HTTP+JSON experiment=exp-42 ok  

@bartek-gralewicz
bartek-gralewicz merged commit c1ef1b5 into main Nov 24, 2026
5 checks passed
@bartek-gralewicz
bartek-gralewicz deleted the bgralewicz/plugins_samples branch November 24, 2026 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants