Security & Permissions
Understand Fleet's security model and manage agent permissions.
Security Overview
Fleet's security model puts you in control. Your agents only get the permissions they need, and your sensitive data stays on your machine.
Key Principles
- Prompt privacy — Your prompts and responses never leave your machine except when sent to your chosen AI provider
- Explicit permissions — Agents only get access to tools you explicitly allow
- Transparent approvals — You see and approve risky operations before they happen
- Encrypted secrets — Sensitive credentials are encrypted and never exposed to LLM providers
Execution Modes
Choose a permission level that determines what agents can do by default.
- Restricted — Safe read-only operations only
- Read-Only — Inspection and research tasks
- Mutable — Create and modify files (recommended for development)
- Open — Full access, no restrictions
Learn more about Execution Modes →
Custom Permission Rules
Fine-tune what agents can do beyond the default execution mode.
- Expand permissions for specific tools (e.g., allow npm in Restricted mode)
- Restrict operations (e.g., prevent file deletion in Open mode)
- Use patterns to limit access to specific paths or commands
Learn more about Custom Permission Rules →
Secure Vault
Store API keys, passwords, and other sensitive credentials securely.
- Encrypted using macOS Keychain
- Never sent to LLM providers
- Never appear in conversation history
- Referenced in tool calls with
{{vault:SECRET_NAME}}syntax
Learn more about Secure Vault →
Data Storage
What Stays Local
- All conversations and agent configurations
- Files in your workspace
- Secure vault (encrypted in system keychain)
- Trigger configurations and run history
- Usage statistics
- Agent settings and custom prompts
What Goes to Cloud
- API calls to your chosen AI provider (only when agents execute)
- Anonymous usage telemetry (usage events, model selections, token counts — never prompts or content)
Setting Permissions
Global Default
- Open Settings (Cmd+,)
- Go to Security
- Choose a default execution mode
- Configure any custom rules
- All new agents use these settings
Per-Agent Override
- Open agent → Settings (gear icon)
- Go to Permissions
- Override execution mode if needed
- Add agent-specific custom rules
- Save
Tool Approval Queue
When an agent wants to use a tool that requires approval, you'll see it in the approval queue with:
- Tool name — Which tool the agent wants to use
- Arguments — The specific parameters (file paths, commands, etc.)
- Translation — Human-readable description of what will happen
- Risk level — Safe, Caution, Dangerous, or Unknown
Approval options:
- Allow Once
- Always Allow (creates a permanent rule)
- Deny
- Approve All (approves all pending operations)
See Also
- Tools Reference — All available tools and their permissions
- Settings & Configuration — Configure security in the Fleet UI