a2aproject / a2aproject/a2a-samples

Java A2A Agents cannot be accessed Using Python ADK RemoteA2aAgent

未关闭
#402 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Jupyter Notebook
星标
1.8k
派生
751
PR 合并指标
30 天内没有已合并 PR

描述

### What happened?

I tested this with several Java agents such as the Weather Agent and Content Writer Agent. It appears that all Java agents exposed via A2A fail to return responses correctly when accessed through ADK RemoteA2aAgent.

Steps to Reproduce:

1) Run any Java agent (e.g., Content Editor Agent).

2) Create a simple agent using ADK:
`root_agent = RemoteA2aAgent(
name="remote_agent",
description="Helpful assistant to write content",
agent_card=f"http://localhost:10003/{AGENT_CARD_WELL_KNOWN_PATH}",
)
`

3) Run **adk web** , select the remote_agent and try to chat with the agent.
- The response does not appear in the UI.

### Relevant log output

```shell

```

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

贡献指南

打开贡献指南

调研方向

The issue involves Java agents (like Weather Agent, Content Writer Agent) and the Python ADK's RemoteA2aAgent. Start by examining the Java agent's A2A server setup and the Python ADK client code for RemoteA2aAgent. Look at the agent card endpoint (http://localhost:10003/{AGENT_CARD_WELL_KNOWN_PATH}) and the communication protocol. Run the Java agent and the ADK web interface to reproduce the missing UI response. Check logs from both sides for errors in serialization or network communication. 'Done' is when the remote Java agent's responses appear correctly in the ADK web chat UI.

由索引模型根据 Issue 内容生成。

评估

技术栈
java, python
领域
api, backend
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。