For the complete documentation index, see llms.txt. This page is also available as Markdown.

YOLO Mode

YOLO mode is Tabnine CLI’s “approve everything” mode for tool calls.

When enabled, Tabnine CLI sets the approval mode to yolo, adds a policy rule that allows * tools, and automatically approves tool calls that would normally ask for confirmation first. This can include potentially destructive actions such as shell commands, file edits, and tool redirections, unless another security or admin policy blocks them.

Enable YOLO from Tabnine CLI

Use the legacy YOLO flag:

tabnine --yolo

You can also use the short flag:

tabnine -y

Alternatively, set the approval mode explicitly:

tabnine --approval-mode=yolo

Restrict YOLO Mode (v6.4.0)

YOLO mode lets users run the Tabnine CLI with automatic approval of all tool calls without manual confirmation. While useful for trusted automation scenarios, unrestricted YOLO access can pose a security risk when users or CI scripts execute arbitrary tools against organizational resources.

The Restrict YOLO mode toggle on the Agent Features admin page allows admins to block all YOLO entry points org-wide for regular users:

Entry point
Blocked when restricted

--yolo / -y flag

--approval-mode=yolo

In-session approval-mode picker

Headless mode (-p)

To enable it, go to the Admin Console and navigate to Agent Features.

Under Security, locate Restrict YOLO (auto-approve) mode in the CLI. Toggle the setting ON.

The restriction is off by default; in other words, YOLO mode is permitted unless an admin explicitly restricts it via this toggle.

Note: The setting takes effect on the user's next CLI session. Users with an active session must restart the CLI for the restriction to apply.

Last updated

Was this helpful?