Skip to content

[Feature]: Launch an agent in "yolo" mode directly from the agent launcher #9977

Description

@Sharpek

Problem or use case

The launcher palette lets me start Codex, Claude, or Kimi in one keystroke,
but it always starts them in the default permission mode. For throwaway
work — a scratch repo, a sandboxed container, a task where I'll review the
diff at the end anyway — I want the agent to stop asking for approval on
every tool call.

Today the only ways to get that are:

  • skipping the palette entirely and launching from a terminal with the
    agent's own flag (--dangerously-skip-permissions, --yolo, etc.),
    which differs per agent and means I have to remember three syntaxes,
  • flipping a global default in Agent settings and remembering to flip it
    back, which is easy to forget and applies far more broadly than intended.

So the fastest path to starting an agent is also the path that can't
express the mode I want, and the escape hatches are either per-agent
trivia or a sticky global setting. The result is either constant approval
prompts or a permanently loosened default.

Proposed solution

Make permission mode a property of the launch action in the palette, so it
is chosen per session at the moment of starting the agent.

Behaviour:

  • Holding a modifier while confirming an agent entry launches it in yolo
    mode (e.g. ⌥↩ vs plain ↩). The palette row updates live while the
    modifier is held — label becomes "Claude (yolo)" with a warning accent —
    so the choice is visible before it is committed.
  • The mode is per session, never sticky. A yolo session does not change the
    default for the next launch.
  • The palette translates the mode into whatever flag the selected agent
    actually uses, so I don't have to know that Codex and Claude spell it
    differently.
  • A running yolo session is visually distinct for its whole lifetime — a
    badge on the tab and an accent on the session border — so I can never
    mistake it for a normal one when I come back to the window later.
  • First launch in yolo mode per workspace shows a one-time confirmation
    naming the working directory that will be exposed. Subsequent launches in
    the same workspace go straight through.
  • Agent settings gains a workspace-level switch to disable yolo launches
    entirely, for repos where it should never be an option.

Acceptance criteria:

  • Yolo mode is reachable from the palette without leaving the keyboard.
  • The palette entry communicates the mode before the launch is confirmed.
  • No launch inherits yolo from a previous session.
  • A yolo session is identifiable at a glance after the fact.
  • The workspace-level opt-out blocks the modifier path, not just the UI hint.

Alternatives considered:

  • A separate "New Agent (yolo)" row per agent — doubles the palette length
    and makes fuzzy search noisier as agents get added.
  • A global toggle in Agent settings — this exists conceptually and is the
    thing being replaced; the problem is that it is sticky and unscoped.

Alternatives or additional context

No response

Activity

  1. added
    enhancement
    on Jul 22, 2026
  2. added theissue type on Jul 22, 2026
  3. AmethystLiang commented on Jul 22, 2026

    @AmethystLiang
    Contributor

    working on it

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

Metadata

Metadata

Assignees

Labels

enhancement

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions