embabel-agent icon indicating copy to clipboard operation
embabel-agent copied to clipboard

Adopt Google A2A Java Library

Open johnsonr opened this issue 1 year ago • 5 comments

The core A2A data types are now available at https://github.com/a2aproject/a2a-java with clean dependencies.

We should be able to dispense with our own "spec" package and adopt this.

johnsonr avatar Jun 26 '25 02:06 johnsonr

Per link, this is not yet availabe in Maven Central. Wait until it is.

johnsonr avatar Jun 26 '25 04:06 johnsonr

Once this is in, I'd love to create an A2A starter project where two agents collaborate, perhaps to collaborate on the creation and then review of a story as per the existing starter example.

russmiles avatar Jun 27 '25 10:06 russmiles

Not long ago, the a2a-java-0.2.3.Beta1 version has bean released😁 Also available in maven central

KerwinAusten avatar Jul 09 '25 08:07 KerwinAusten

Im working on this, and while testing my changes I noticed when receiving messages, the "client agent" can specify with outputModes supports (I think this is like the Accept header in the HTTP protocol) but the current implementation is just returning json.

abadongutierrez avatar Jul 26 '25 05:07 abadongutierrez

Guys, I think the PR is 90% ready I just would like to add a couple of tests, but if you have time to start reviewing it that would be great

I couldn't test my changes using the app in the docker container that you can run in the java-agent-template project when in the a2a branch.

So I used the project: https://github.com/a2aproject/a2a-inspector to register and test an Embabel agent

https://github.com/embabel/embabel-agent/pull/615

abadongutierrez avatar Jul 26 '25 05:07 abadongutierrez