Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

When multiple agents communicate via the A2A protocol, the invocationContext.session.state is not transformed and transmitted to the message, and SSE streaming is not supported.

オープン
#818 コメント 4 件 リアクション 0 件 担当者 1 名 GitHub で見る

@hemasekhar-p がすでに取り組んでいます。

2026年2月24日 から。

評価

この issue はまだ評価されていません。

説明

needs review

** Please make sure you read the contribution guide and file the issues in the right place. **
Contribution guide.

Is your feature request related to a specific problem?

1.Based on the following source code reading, in the logic of converting invocationContext to Message using EventConverter.convertEventsToA2AMessage:

Optional<Message> a2aMessageOpt = com.google.adk.a2a.EventConverter.convertEventsToA2AMessage(invocationContext);

Image

metadata is not assigned. Therefore, will the following code always return a null case:

Map<String, Object> metadata = originalMessage.getMetadata() == null ? Map.of() : originalMessage.getMetadata();

Is it possible to convert invocationContext.session.state to the metadata of the Message, as additional information in the communication protocol between the client agent and the server agent? like this:

Image 2.Multiple agents communicate via the A2A protocol, using a synchronous blocking approach. Image

Due to the time-consuming nature of this communication, which negatively impacts user experience, it is recommended to replace the synchronous approach with SSE streaming output. Simultaneously, the client should use a pre-implemented streaming HTTP request to establish connections.

Image
Describe the Solution You'd Like

Some of the solution code logic is above.

主要言語
Java
スター
1.7k
フォーク
421
平均マージ
3日 8時間
マージ済み PR(30日)
36

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

google/adk-java のほかの issue

google/adk-java の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。