Skip to content

Permission Modes

Every agent in Tide Commander operates in one of two permission modes. You choose the mode when spawning and can change it later without respawning.

Spawn Agent modal — permission mode selector

Bypass mode (default)

Agents run with --dangerously-skip-permissions, which allows them to execute any tool — Bash, Edit, Write, Read, anything — without asking for approval. This is the default because it is the fastest way to work with trusted agents on your own machine.

Use Bypass when:

  • You trust the agent’s scope of work.
  • The agent is running in a sandboxed or disposable environment.
  • You want uninterrupted autonomous execution of long tasks.

Interactive mode

In Interactive mode, the agent uses a hook-based approval system. Read-only tools are auto-approved; potentially dangerous tools pause and ask you before proceeding.

Safe tools — auto-approved

These tools are always permitted without a prompt:

ToolPurpose
Read, Glob, GrepFile reading and searching
Task, TaskOutputAgent task management
WebFetch, WebSearchWeb content fetching
TodoWriteTask list management
AskUserQuestionUser interaction
EnterPlanMode, ExitPlanMode, SkillPlanning tools

Dangerous tools — require approval

These tools pause and show a permission request in the agent inspector:

ToolWhy it is gated
BashShell command execution — can run anything
Edit, WriteFile modifications
NotebookEditJupyter notebook edits

When a permission request appears, you can approve, deny, or approve and remember.

Agent inspector — permission request

Remembered patterns

Checking Remember this on a permission request creates a persistent pattern so the same type of action is auto-approved in future:

  • File operations — remembers the directory. Approving an edit to /project/src/file.ts auto-approves future edits to any file under /project/src/.
  • Bash commands — remembers the command prefix. Approving npm test auto-approves any future npm command.

Remembered patterns are stored in:

~/.tide-commander/remembered-permissions.json

To clear all remembered patterns, delete that file or use the API:

Terminal window
curl -s -X DELETE http://localhost:5174/api/agents/permissions/remembered \
-H "X-Auth-Token: TOKEN"

Changing permission mode

Select the mode in the Spawn Agent modal before clicking Spawn. Spawn Agent modal

Choosing the right mode

Solo development on your machine

Bypass — full speed, no interruptions. You are the safety net.

Shared or remote environments

Interactive — approve shell commands and file writes manually. Combine with HTTPS & Auth.

Long autonomous tasks

Bypass with a narrow working directory. Scope the agent’s cwd to limit blast radius.

Sensitive codebases

Interactive — let the agent explore freely but gate all writes. Use Remembered Patterns to build up an allowlist as you go.