A2A support with a new microsoft-agents-hosting-a2a package - #596
Draft
Rodrigo Brandão (rodrigobr-msft) wants to merge 44 commits into
Draft
Rodrigo Brandão (rodrigobr-msft) wants to merge 44 commits into
Rodrigo Brandão (rodrigobr-msft) wants to merge 44 commits into
Conversation
….com/microsoft/Agents-for-python into users/robrandao/a2a
… get_agent_card design
…into users/robrandao/a2a
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces the new
microsoft-agents-hosting-a2alibrary and adds support for the A2A protocol across the codebase. It also includes enhancements to the core activity model and test coverage for A2A JWT validation. The most important changes are summarized below.A2A Protocol and Library Integration:
microsoft-agents-hosting-a2alibrary, including its public API, client, turn context, agent extension, and supporting files. This provides first-class support for the A2A protocol, enabling integration with A2A agents and services. (microsoft_agents/hosting/a2a/__init__.py,a2a_agent_extension.py,a2a_client.py,a2a_turn_context.py,activity/__init__.py,MANIFEST.in,LICENSE) [1] [2] [3] [4] [5] [6] [7]dev/integration/pyproject.toml)A2A Protocol Support in Core Libraries:
a2achannel to the list of supported channel IDs in the activity model. (microsoft_agents/activity/channels.py)errorcode toEndOfConversationCodesfor improved error handling. (microsoft_agents/activity/end_of_conversation_codes.py)Activity Model Enhancements:
get_streaming_entityhelper to theActivityclass to retrieve streaming-related entities, and improved typing and documentation forget_product_info_entity. (microsoft_agents/activity/activity.py) [1] [2]service_urlandrequest_idto beNoneinConversationReferenceandActivity, respectively, improving flexibility for A2A and other scenarios. (microsoft_agents/activity/conversation_reference.py,microsoft_agents/activity/activity.py) [1] [2]StreamInfoin the activity model to support streaming entities. (microsoft_agents/activity/activity.py)Testing and Validation:
dev/integration/tests/jwt_validation/test_a2a_jwt_validation.py)