Elevator pitch
What are you proposing to change?I suggest adding more information about auth methods that agent supports, which will allow clients to draw more appropriate UI.
Status quo
How do things work today and what problems does this cause? Why would we change things?Agents have different ways of authenticating users: env vars with api keys, running a command like
<agent_name> login, some just open a browser and use oauth.
AuthMethod does not really tell the client what should be done to authenticate. This means we can’t show the user a control for entering key if an agent supports auth through env var.
Very few agents can authenticate fully on their own without user input, so agents with ACP auth support are limited in the methods they can offer, or require manual setup before being run as an ACP agent.
What we propose to do about it
What are you proposing to improve the situation?We can add addition types of AuthMethods, to provide clients with additional information so they can assist in the login process.
Shiny future
How will things will play out once this feature exists?It will be easier for end-users to start using an agent from inside the IDE as auth process will be more straightforward
Implementation details and plan
Tell me more about your implementation. What is your detailed implementation plan?I suggest adding following auth types:
- Agent auth
- Env variable
- Terminal Auth
command cannot be specified, the client will invoke the exact same binary with the exact same setup. The agent can supply additional arguments and environment variables as necessary. These will be supplied in addition to any args/env supplied by default when the server is started. So agents will need to have a way to kickoff their interactive login flow even if normal acp commands/arguments are supplied as well.
This is so that the agent doesn’t need to know about the environment it is running in. It can’t know the absolute path necessarily, and shouldn’t be able to supply other commands or programs to minimize security issues.
AuthErrors
It might be useful to include a list of AuthMethod ids to the AUTH_REQUIRED JsonRpc error. Why do we need this if they’re already shared duringinitialize:
All supported auth methods are shared during initialize. When user starts a session, they’ve already selected a model, which can narrow down a list of options.
Frequently asked questions
What questions have arisen over the course of authoring this document or during subsequent discussions?
What alternative approaches did you consider, and why did you settle on this one?
An alternative approach would be to include this information to an agent’s declaration making it more static, see Registry RFD There is also an alternative to adding a separateelicitation capability, which is to create a separate auth type for this. Then the client can decide themselves if they support it or not.
Revision history
There was a part about elicitations https://github.com/agentclientprotocol/agent-client-protocol/blob/939ef116a1b14016e4e3808b8764237250afa253/docs/rfds/auth.mdx removed it for now, will move to a separate rfd- 2026-01-14: Updates based on Core Maintainer discussion