[Bug] Scaffolded agent card grows a duplicate JSONRPC 0.3 interface on every GET (card_modifier mutates the shared AgentCard)
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 68/100
Research direction
Start at the scaffolded app's app.fast_api_app:app entry point and trace the public agent-card endpoint to the card_modifier mentioned in the issue. Reproduce the behavior with the provided curl loop, then verify that repeated requests leave supportedInterfaces at exactly two entries with the expected URLs.
Written by the indexing model from the issue text.
Description
Every project scaffolded from the ADK template appends a duplicate
JSONRPC / 0.3 entry to supportedInterfaces on every request to the
public agent-card endpoint. The list grows without bound for the life of
the process.
Reproduction
uv tool install google-agents-cli # 1.4.1
agents-cli create react-agent --adk
cd react-agent && uv sync
uv run uvicorn app.fast_api_app:app --host 127.0.0.1 --port 8000
for i in 1 2 3 4 5; do
curl -s localhost:8000/a2a/app/.well-known/agent-card.json \
| python3 -c "import sys,json;print(len(json.load(sys.stdin)['supportedInterfaces']))"
done
Observed: 2 3 4 5 6 — one JSONRPC 1.0 entry plus N identical
JSONRPC 0.3 entries, all with the same URL.
Expected: a stable card with exactly two interfaces, regardless of how
many times it is fetched.
- Dominant language
- Python
- Stars
- 6k
- Forks
- 670
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from google/agents-cli
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 92/100
google/agents-cli#86 ·
-
google/agents-cli#89 · 1 assignee ·
-
google/agents-cli#87 · 1 comment · 1 assignee ·
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
google/agents-cli#85 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 72/100
google/agents-cli#83 · 2 comments · 1 reaction ·
All issues in google/agents-cli
Similar issues
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
simonw/sqlite-utils#872 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100