Any Agent v0.21.0: Multi-turn conversations between AI agents via Google's A2A

4 months ago 2

New Features

With version 0.21.0, we are excited to release support for multi-turn conversations in A2A! Using either an A2A Client or another agent, you can now have multiturn conversations with an agent. We don't yet have a cookbook available, but we have two comprehensive tests that are useful to understand how to build one yourself.

Check out file https://github.com/mozilla-ai/any-agent/blob/0.21.0/tests/integration/test_multiturn.py
Example of multiturn conversation using an A2AClient -> test_task_management_multi_turn_conversation
Example of multiturn conversation between two agents -> test_multi_turn_a2a_tool

What's Changed

  • chore(deps): bump a2a-sdk from 0.2.6 to 0.2.8 by @dependabot in #483
  • remove unused pytest asyncio mark by @njbrake in #485
  • Address pydantic deprecation warning by @njbrake in #484
  • feat(agent): Enhance final output handling with retry logic and JSON validation by @njbrake in #487
  • feat(agent): Improve multi-turn functionality to running an agent by @njbrake in #468
  • pre-commit autoupdate by @github-actions in #495
  • Make any_agent.version attribute available by @HareeshBahuleyan in #491
  • Include exception info on docs by @javiermtorres in #489
  • feat(agent): A2A Served Agent Support for Multi-Turn by @njbrake in #494
  • feat(agent): Agent is allowed to have multiturn conversation with another agent by @njbrake in #498
  • fix(mcp/google): Update imports. by @daavoo in #501
  • Improve reliability of a2a tool integration tests by @njbrake in #503

Full Changelog: 0.20.0...0.21.0

Read Entire Article