Overview

Permission profiles define default approval rules that are merged into the active permission set on startup. They let you declare — once — which operations an agent can run freely, which require confirmation, and which are always denied.

Permission modes

Defining a profile

Rules are matched in order, and the last matching rule wins. Put a broad rule such as *=deny first, then the exceptions after it.

Rule syntax

Each rule is tool=mode:

Denied tools are hidden from the model

When a session has permission rules, the tools those rules deny are no longer sent to the model. The model never sees their names or schemas, so it can’t call them and the prompt is smaller. This holds in every mode, including dontAsk, bypass and GIZZI_SKIP_PERMISSIONS. A tool is hidden only when the last rule that matches it is a deny. Deny *, then allow a few tools, and the model gets only those few. A session with no rules keeps every tool. Hosted Platform agents use this: each conversation denies everything except the agent’s tools list.

Listing profiles

Activating a profile

Combining with config.toml

Profiles defined via CLI are persisted in config.toml under [permissions.profiles]:

CI usage

In CI pipelines, use dontAsk with a restricted tool allowlist:
Where ci-safe only allows bash (for the linter) and edit, denying everything else.

Approvals

/inbox lists what is waiting on you, and you approve or deny it yourself. The assistant cannot approve, and a command run by the assistant to approve or deny is refused. Rolling out with the next release, not live yet. See Approvals in your inbox.