feat: Add LLM A2A Integration module#215
Open
hungpq-ai wants to merge 2 commits into
Open
Conversation
Add Agent-to-Agent (A2A) protocol integration for LLM, enabling communication between AI agents using Google's A2A protocol. Features: - Connect to external A2A agents - Delegate tasks to specialized agents - Agent discovery via Agent Cards - Streaming support for real-time responses - Multi-agent orchestration within LLM chat Author by Hung Pham Quang (VietNam)
Contributor
|
@hungpq-ai Thanks for the contribution, we will check and get back to you. |
adar2378
reviewed
Dec 29, 2025
adar2378
left a comment
Contributor
There was a problem hiding this comment.
Testing Feedback
Thanks for this module! I tested it with the Google ADK hello_world_agent and found an issue.
Setup ✅
- A2A agent running at
http://localhost:9999 - Created
llm.a2a.agentrecord, test connection successful - Assigned agent to thread (GPT-4o)
Issue ❌
Agent delegation doesn't work - LLM acknowledges it will use the agent ("I'll ask the agent...") but never makes the actual tool call. No HTTP request reaches the A2A agent server.
Logs:
INFO: Added A2A capability prompt: 1 agents
INFO: Added 1 A2A delegation tools to thread 1
INFO: Storing 1 A2A tools for provider 1
INFO: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
# No tool call, no request to A2A agent ❌
Questions
- Have you tested end-to-end delegation successfully?
- Which LLM model did you test with?
Suggestion
Add a README with:
- Quick start guide (how to set up an A2A agent)
- Example agent configuration
- Expected behavior
Test env: Odoo 18.0, llm_openai, gpt-4o, Google ADK v1.21.0
Author
|
Okay, I’ll get back to you soon. I’m a bit busy at work right now. |
Contributor
|
@hungpq-ai looking forward to the fixed mergeable code |
- Added llm_openai as a dependency to ensure proper method resolution order. - Introduced a comprehensive README.md detailing features, installation, quick start, and troubleshooting for the LLM A2A integration.
Author
I’ve updated my commit. Please have a look and let me know if you find any issues. |
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.
Add Agent-to-Agent (A2A) protocol integration for LLM, enabling communication between AI agents using Google's A2A protocol.
Features:
Author by Hung Pham Quang (VietNam)