droid exec uses tiered autonomy to control what operations the agent can perform. Only raise access when the environment is safe.
Level
Intended for
Notable allowances
(default)
Read-only reconnaissance
File reads, git diffs, environment inspection
--auto low
Safe edits
Create/edit files, run formatters, non-destructive commands
--auto medium
Local development
Install dependencies, build/test, local git commits
--auto high
CI/CD & orchestration
Git push, deploy scripts, long-running operations
--skip-permissions-unsafe
Isolated sandboxes only
Removes all guardrails (⚠️ use only in disposable containers)
Examples:
Copy
# Default (read-only)droid exec "Analyze the auth system and create a plan"# Low autonomy - safe editsdroid exec --auto low "Add JSDoc comments to all functions"# Medium autonomy - development workdroid exec --auto medium "Install deps, run tests, fix issues"# High autonomy - deploymentdroid exec --auto high "Run tests, commit, and push changes"
--skip-permissions-unsafe removes all safety checks. Use only in isolated environments like Docker containers.
Custom models configured via BYOK use the format: custom:<alias>See Choosing Your Model for detailed guidance on which model to use for different tasks.
Press ! when the input is empty to toggle bash mode. In bash mode, commands execute directly in your shell without AI interpretation—useful for quick operations like checking git status or running npm test.
Toggle on: Press ! (when input is empty)
Execute commands: Type any shell command and press Enter
Toggle off: Press Esc to return to normal AI chat mode
The prompt changes from > to $ when bash mode is active.
The /mcp slash command opens an interactive manager UI for browsing and managing MCP servers.Quick start: Type /mcp and select “Add from Registry” to browse 40+ pre-configured servers (Linear, Sentry, Notion, Stripe, Vercel, and more). Select a server, authenticate if required, and you’re ready to go.CLI commands for scripting and automation:
# Interactive review workflow> /review# Analysis via exec (non-interactive)droid exec "Review this PR for security issues"# With modificationsdroid exec --auto low "Review code and add missing type hints"
See the Code Review documentation for detailed guidance on review types, workflows, and best practices.
# Investigationdroid exec "Analyze failing tests and explain root cause"# Fix and verifydroid exec --auto medium "Fix failing tests and run test suite"