Skip to content

Enable A2A Agents as workers in manager/workers pattern#30

Open
sathvikbhagavan wants to merge 21 commits intomainfrom
sb/a2a
Open

Enable A2A Agents as workers in manager/workers pattern#30
sathvikbhagavan wants to merge 21 commits intomainfrom
sb/a2a

Conversation

@sathvikbhagavan
Copy link
Contributor

@sathvikbhagavan sathvikbhagavan commented Jan 14, 2026

This PR enables A2AAgent to be used as workers in ManagerWorkers.

For A2AAgent to be used in ManagerWorkers as a worker:

  1. Types of compatible workers needed to be changed
  2. _validate_agent_unicity needed to refactored as manager agent can only be Agent while workers can be Agent, ManagerWorkers and A2AAgent.
  3. Agentspec deserialization also needed a refactor to account for this.

Also, this PR adds ManagerWorkers section in the howto guide for using A2AAgents.

The how to guide is restructured to list all the ways A2AAgent can be used. It can be extended to flows when A2AAgent supports it.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jan 14, 2026
@sathvikbhagavan sathvikbhagavan changed the title docs: add more in the how to guide for using A2A Agents docs: add ManagerWorkers part in the how to guide for using A2A Agents Jan 15, 2026
@sathvikbhagavan sathvikbhagavan marked this pull request as ready for review January 29, 2026 16:50
@nasseur
Copy link
Contributor

nasseur commented Jan 30, 2026

Internal regression failed: Build ID #510

@nasseur
Copy link
Contributor

nasseur commented Jan 30, 2026

Internal regression failed: Build ID #511

@nasseur
Copy link
Contributor

nasseur commented Jan 30, 2026

Internal regression failed: Build ID #512

@nasseur
Copy link
Contributor

nasseur commented Jan 30, 2026

Internal regression failed: Build ID #513

@nasseur
Copy link
Contributor

nasseur commented Jan 30, 2026

Internal regression succeeded 🍏: Build ID #525

@nasseur
Copy link
Contributor

nasseur commented Jan 30, 2026

Internal regression succeeded 🍏: Build ID #527

@nasseur
Copy link
Contributor

nasseur commented Jan 30, 2026

Internal regression succeeded 🍏: Build ID #535

@dhilloulinoracle dhilloulinoracle changed the title docs: add ManagerWorkers part in the how to guide for using A2A Agents Enable A2A Agents in manager/workers pattern Jan 30, 2026
@dhilloulinoracle dhilloulinoracle changed the title Enable A2A Agents in manager/workers pattern Enable A2A Agents as workers in manager/workers pattern Jan 30, 2026
@dhilloulinoracle
Copy link
Contributor

@sathvikbhagavan , thanks a lot!
Please add a bit more info in the PR description of what were the necessary changes to get it to work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants