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

[Feat] Implement Client-Side Auth for Remote Agents

Open adamfweidman opened this issue 1 week ago • 0 comments

What would you like to be added?

Enable gemini-cli to securely connect to and interact with remote Agent2Agent (A2A) compatible agents that require authentication. The A2A protocol delegates authentication to standard HTTP mechanisms .

Why is this needed?

Supported Schemes:

  • API Key: Support for custom headers (e.g. MY-API-Key: ).
  • Bearer Token: Support for JWTs or OAuth tokens.

We must handle full OAuth flow.

Additional context

References

  • A2A Protocol: Enterprise Ready (https://a2a-protocol.org/latest/topics/enterprise-ready/)
  • A2A Protocol: Specification (https://a2a-protocol.org/latest/specification/)

adamfweidman avatar Dec 15 '25 15:12 adamfweidman