Skip to content

[Feat] Implement Client-Side Auth for Remote Agents #15098

@adamfweidman

Description

@adamfweidman

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/agentIssues related to Core Agent, Tools, Memory, Sub-Agents, Hooks, Agent Qualityarea/coreIssues related to User Interface, OS Support, Core Functionalitypriority/p2Important but can be addressed in a future release.

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions