Adopt Google A2A Java Library
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.
Per link, this is not yet availabe in Maven Central. Wait until it is.
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.
Not long ago, the a2a-java-0.2.3.Beta1 version has bean released😁 Also available in maven central
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.
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