-
Notifications
You must be signed in to change notification settings - Fork 1.9k
feat: Add protocol support for extensions #716
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
+113
−5
Conversation
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
dmandar
approved these changes
Jun 3, 2025
1 task
4 tasks
Can we also update the grpc definitions accordingly? |
This was referenced Jun 4, 2025
holtskinner
approved these changes
Jun 4, 2025
holtskinner
reviewed
Jun 4, 2025
holtskinner
added a commit
that referenced
this pull request
Jun 9, 2025
🤖 I have created a release *beep* *boop* --- ## [0.2.2](v0.2.1...v0.2.2) (2025-06-09) ### ⚠ BREAKING CHANGES * Resolve spec inconsistencies with JSON-RPC 2.0 ### Features * Add gRPC and REST definitions to A2A protocol specifications ([#695](#695)) ([89bb5b8](89bb5b8)) * Add protocol support for extensions ([#716](#716)) ([70f1e2b](70f1e2b)) * **spec:** Add an optional iconUrl field to the AgentCard ([#687](#687)) ([9f3bb51](9f3bb51)) ### Bug Fixes * Protocol should released as 0.2.2 ([22e7541](22e7541)) * Resolve spec inconsistencies with JSON-RPC 2.0 ([628380e](628380e)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Holt Skinner <[email protected]>
https://a2a-protocol.org/latest/topics/extensions/ |
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.
Description
This updates the protocol to support Extensions. Extension profiles are documents that describe modifications or additions to the core A2A profile. AgentCards can declare supported extensions via
capabilities.extensions
. This declaration can include additional information viacapabilities.extensions.params
. Clients can use this as a basis for extension negotiation: if a client supports an extension that the server supports, the client can then follow the protocol defined by the extension. This can include, but is not specifically limited to:metadata
field.Messages and Artifacts can now include an indication of which extensions are present in their content. I do not yet know if extension indications are necessary on other data structures (such as
MessageSendParams
orTaskStatus
). I'd say extension indications are not strictly necessary at all: it's possible to infer that an extension was followed by inspecting the message content itself (are the metadata fields you expect present, does the DataPart follow the schema you expect, etc). However, they are useful for validation and simplifying extension implementation logic: "you said you followed this extension, so I'll validate fields are present and then perform my processing".Fixes #585