DOCS/CORE-CONCEPTS/PERMISSIONS

permissions

Permission Modes

Security is a primary design goal of Andromity. Because AI agents can execute commands and modify files, Andromity provides four distinct permission modes to give you full control over what happens on your machine.


The Four Security Modes
MARKUP
graph LR
  SAFE[SAFE: Max Verification] --> TRUST[TRUST: Auto File Edits]
  TRUST --> FULL[FULL: Auto Shell Exec]
  FULL --> YOLO[YOLO: Fully Autonomous]
1. SAFE (Default Mode)
  • Write Files: Requires explicit confirmation.
  • Edit Files: Requires explicit confirmation.
  • Shell Commands: Requires explicit confirmation.
  • Recommended For: New codebases, untrusted models, or complex changes where you want to preview every single diff before it lands.
2. TRUST
  • Write Files: Auto-approved.
  • Edit Files: Auto-approved.
  • Shell Commands: Requires confirmation.
  • Recommended For: Iterative development. You trust the agent's code modifications, but still want to audit what scripts or test commands it executes.
3. FULL
  • Write Files: Auto-approved.
  • Edit Files: Auto-approved.
  • Shell Commands: Auto-approved.
  • Destructive Shell Commands: Requires confirmation (e.g. rm -rf, git reset --hard, npm uninstall).
  • Recommended For: Fast autonomous coding where you trust the model to build and run test commands in the background.
4. YOLO
  • All Tool Calls: Auto-approved.
  • All Shell Commands: Auto-approved (including destructive ones).
  • Recommended For: Sandboxed environments, containerized setups, or high-trust operations where you want the agent to operate completely unattended.

Configuring Permission Modes

Switch modes dynamically inside the active session:

1. Chat Command

Type directly into the chat input bar:

BASH
/mode safe
/mode yolo
2. CLI Flag

Specify the permission level when launching a headless instruction:

BASH
andromity run "refactor database.py" --mode trust
andromity run "run all clean tasks" --mode yolo