Skip to content

ACP: support an ask_user / ask_question style extension method #2109

Done

Description

@TristanVII

Summary

Please consider adding ACP support for an ask_user / ask_question style extension method so custom ACP clients can surface clarifying questions and return structured answers to Copilot CLI.

Today ACP support in Copilot CLI includes session/request_permission, but that only covers allow/deny tool approvals.

Why this would help

Custom ACP frontends can already render streaming messages, plans, tool calls, and permission prompts. The missing piece is a first-class way for the agent to ask the human a question and wait for a reply.

That makes it hard to support workflows that depend on interactive clarification, even though GitHub Copilot itself supports this kind of host-side interaction in some environments.

A small extension method would make custom ACP frontends much more capable without requiring each client to invent incompatible workarounds.

Suggestion

A Copilot-specific ACP extension would already be helpful, for example something like:

  • request method: copilot/ask_user (or similar)
  • params:
    • sessionId
    • question
    • optional choices: string[]
    • optional allowFreeform / allow_freeform: boolean
  • result:
    • { outcome: "answered", answer: string }
    • or { outcome: "cancelled" }

Cursor has cursor/ask_question Source: https://cursor.com/docs/cli/acp#cursor-extension-methods

Activity

  1. thaning0 commented on Apr 14, 2026

    @thaning0

    For ACP clients, I think the best outcome would be supporting the standard ACP elicitation flow, rather than adding a Copilot-specific copilot/ask_user extension if possible.

    In other words: when Copilot CLI decides it needs user clarification in ACP mode, it should emit the ACP question/elicitation transport (for example session/elicitation), so the client can render the question and return the structured answer.

    The reason I’m asking for the standard path is interoperability: custom ACP frontends can already support a generic elicitation/question UI once, and then reuse it across providers. A Copilot-specific extension would work, but it would force every ACP client to add special-case handling for Copilot only.

    I’m coming from a real ACP client integration and we reproduced the current gap with Copilot CLI 1.0.25:

    • run copilot --acp in an isolated cwd
    • prompt explicitly instructs Copilot to call ask_user
    • the session completes with assistant text
    • no ACP elicitation/question event is emitted
    • no equivalent pending question / permission event is exposed either

    So from the client side, there is currently no protocol-level way to surface the clarification request and reply inline.

    This request also seems aligned with the direction of the CLI overall:

    • the changelog mentions structured form input for ask_user using MCP Elicitations
    • it also mentions SDK elicitation UI (session.ui.elicitation) and handlePendingElicitation support

    That’s why standard ACP elicitation feels like the most consistent transport here.

    A simple freeform or choice-based ask_user prompt seems to fit naturally into ACP elicitation form mode, so using the standard transport would make third-party ACP clients much easier to support correctly.

    If maintainers think this is materially different from the Copilot-specific extension proposed in this issue, I’m happy to open a separate issue specifically for:ACP: map ask_user to standard session/elicitation

  2. sewandev commented on Jul 31, 2026

    @sewandev

    Just wanted to add my +1 here because this is something I've been waiting for too.

    I totally understand why people running Autopilot/YOLO don't want to get interrupted all the time. In those cases it makes sense to either disable ask_user or just automatically pick the first option and keep going.

    But I think there's another use case that's currently missing.

    Sometimes I do want to ask the user something, but only because I explicitly designed my agent to do so.

    For example, imagine I have an AGENTS.md that says:

    If X happens, show the user these options and let them choose before continuing.

    That's not an unexpected interruption from the model, it's part of the workflow I created.

    I'd love to run in YOLO mode so everything else continues automatically, but still be able to trigger an ask_user at specific points that I define.

    So for me these are two different things:

    • random ask_user calls generated by the model → I'd rather skip them in Autopilot.
    • intentional ask_user calls defined by my agent/workflow → I still want those.

    Having that level of control would make ask_user much more useful.

  3. vanzue commented on Aug 12, 2026

    @vanzue

    Since elicitation was just stabilized on July 24, 2026, +1 for this request—exposing Copilot CLI’s native  ask_user  flow through ACP  elicitation/create  would be great.

    For ACP clients, I think the best outcome would be supporting the standard ACP elicitation flow, rather than adding a Copilot-specific copilot/ask_user extension if possible.

    In other words: when Copilot CLI decides it needs user clarification in ACP mode, it should emit the ACP question/elicitation transport (for example session/elicitation), so the client can render the question and return the structured answer.

    The reason I’m asking for the standard path is interoperability: custom ACP frontends can already support a generic elicitation/question UI once, and then reuse it across providers. A Copilot-specific extension would work, but it would force every ACP client to add special-case handling for Copilot only.

    I’m coming from a real ACP client integration and we reproduced the current gap with Copilot CLI 1.0.25:

    • run copilot --acp in an isolated cwd
    • prompt explicitly instructs Copilot to call ask_user
    • the session completes with assistant text
    • no ACP elicitation/question event is emitted
    • no equivalent pending question / permission event is exposed either

    So from the client side, there is currently no protocol-level way to surface the clarification request and reply inline.

    This request also seems aligned with the direction of the CLI overall:

    • the changelog mentions structured form input for ask_user using MCP Elicitations
    • it also mentions SDK elicitation UI (session.ui.elicitation) and handlePendingElicitation support

    That’s why standard ACP elicitation feels like the most consistent transport here.

    A simple freeform or choice-based ask_user prompt seems to fit naturally into ACP elicitation form mode, so using the standard transport would make third-party ACP clients much easier to support correctly.

    If maintainers think this is materially different from the Copilot-specific extension proposed in this issue, I’m happy to open a separate issue specifically for:ACP: map ask_user to standard session/elicitation

  4. berghtho commented on Oct 29, 2026

    @berghtho

    Adding a concrete client that is blocked on this. T3 Code drives Copilot CLI over ACP and already advertises elicitation: { form: {} }; it turns elicitation/create into a question UI (pingdotgg/t3code#25878).

    With Copilot CLI 1.0.105 in --acp mode, the model gets no ask_user (or other question) tool, even when the client advertises form elicitation. Copilot's own prompts already fall back to "If the ask_user tool is not available, present the follow-up options as a numbered list", so every structured question becomes plain chat.

    Expected: when the ACP client advertises elicitation.form, expose ask_user and route it through elicitation/create.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions