Safeguard
Press Release

Safeguard CLI Adds Permission Modes So a Coding Agent Asks Only When It Matters

Sheridan, Wyoming·
Safeguard Security Team
4 min read

Safeguard CLI Adds Permission Modes So a Coding Agent Asks Only When It Matters

Six modes and a policy file let developers set how much a coding agent may do without asking

DUBLIN, Calif., 22 November 2026. Safeguard today announced permission modes for the Safeguard CLI. Developers choose how much the coding agent may do on their machine without stopping to ask: from reads only, to edits inside the project, to a strict mode for CI where anything not pre-approved is denied. The result is fewer approval prompts for routine work and a clear question for the actions that matter. Permission modes are available in the current release, Safeguard CLI v11.19.21.

What it is

A coding agent that asks before every action trains its user to press Enter without reading. One that asks for nothing is a risk on a machine full of credentials and unpushed work. Permission modes sit between those two. The developer decides, per session or per project, what runs unasked.

The six modes

The six modes are separate choices, not a scale.

ModeWhat happens
supervisedReads run unasked. Everything else asks. This is the default.
editsAlso allows edits in the workspace and allow-listed commands.
planReads only. Anything that changes something is refused.
guardedWhat your policy file allows runs. The rest asks.
strictOnly what the policy file pre-approves runs. Everything else is denied. Built for CI.
autonomousEverything runs. Refused outside a sandbox unless the developer passes the flag --dangerously-skip-permissions, also available as --yolo.

The older names ask, auto and yolo still work and map to supervised, guarded and autonomous.

How it works

Inside the interactive terminal, the /permissions command chooses the mode, and the current mode is always shown in the bar under the input. From a shell, the --permission-mode flag sets it for a run.

Each workspace can carry a policy file with allow and deny rules written as patterns, for example one that allows a test command. Deny rules are checked before allow rules and before any approval request, so a denied command is never sent to a person for approval. Protected paths stay protected in every mode.

Every yes or no question is a small boxed picker that says what will happen. It offers Yes, No and, for tool calls and jobs, "Yes, and don't ask again" for the rest of the session. Escape is No. Questions that delete or overwrite data start on No, and so do the folder trust question and the question that turns on Full access.

Where your code stays

The local runner is part of the same CLI. It runs each scan job on the developer's own machine and uploads only the resulting SBOM and vulnerability results, never source code. All traffic is outbound HTTPS that the runner opens. By default the coding agent sends each turn to the Safeguard platform. Developers who want inference on their own machine or network can point the CLI at a local model.

Availability

Permission modes are generally available in the Safeguard CLI. This release was checked against Safeguard CLI v11.19.21 and the product documentation on 22 November 2026. Install the CLI for macOS, Linux or Windows from the installation guide. Runner mode flags work the same way for headless use.

Learn more

Read the interactive terminal guide, the local runner documentation, or visit safeguard.sh.

About Safeguard

Safeguard.sh Inc. builds a platform across three pillars: Security, Compliance, and AI and LLM. On the security side, it generates SBOMs, prioritizes vulnerabilities by reachability and opens policy-gated fix pull requests. On compliance, it maps controls and gathers evidence for frameworks such as SOC 2, GDPR and HIPAA. Its AI and LLM work covers coding agents with a choice of models and security for AI systems. Safeguard is cloud-agnostic, deploys as SaaS, in a customer's own cloud or private VPC, or on premises, and is SOC 2 Type I and Type II audited. The company is headquartered in Sheridan, Wyoming, with an office in Dublin, California. Learn more at safeguard.sh.

Media contact

Hritik Kumar Sharma, Founder and CEO, Safeguard: hi@safeguard.sh

Media contact
Safeguard Press Desk
press@safeguard.sh
Subscribe
Newsroom RSS
/feed.xml

Self-healing security runs on Safeguard.

Your first fix PR is minutes away.

No sales call required, even your agent can complete the purchase over MCP.