Next steps¶
You wrote an agent with a card, an executor and a server, called it over JSON-RPC and REST, streamed its answer and held a conversation over two messages.
Try these in the code¶
- Change the greeting in the executor, restart the server and call it again to see the new greeting.
- Add a second skill to the card and handle it in the executor.
- Replace
InMemoryTaskStorewith an implementation of theTaskStoretrait that survives a restart. - Serve a third binding. The hello world example,
examples/src/helloworld/server.rs, also serves gRPC.
Read on¶
- The client quickstart calls the agent from Rust.
- The
a2acliquickstart calls it from the command line, and thea2aclireference covers the rest of the CLI. - The API reference of the crates this page used is on docs.rs:
a2a-lffor the protocol types anda2a-server-lffor the server. - a2a-protocol.org describes the protocol itself.