gemini-cli icon indicating copy to clipboard operation
gemini-cli copied to clipboard

[Task] Add RemoteAgents to agent registry

Open adamfweidman opened this issue 1 week ago • 1 comments

adamfweidman avatar Dec 15 '25 15:12 adamfweidman

@adamfweidman I had a look on your PR #15110 in which you have set the boilerplate for remote agent registration, I have made the following changes

  • Added loadRemoteAgents(): This method iterates through configured remote agents (fetched via this.config.getRemoteAgents()), registers them with the a2aClientManager to establish the transport connection, and then registers their definition in the agent registry with kind: 'remote'.
  • Updated initialize() : It now calls await this.loadRemoteAgents() after loading built-in agents.
Image

Please let me know if there are any changes to be made in this?

ishaanxgupta avatar Dec 16 '25 18:12 ishaanxgupta