features FeaturesDocsCapabilitiesGitHub
Features

Sandbox, profiles, gateways, and workflows

Beyond the default OS sandbox, aide manages per-project accounts, model gateways, encrypted config, and terminal integrations from a single launcher.

Sandbox & capabilities

Runtime permission controls

Start with code-only access and grant named capabilities like docker, aws, k8s, or ssh only when needed. Changes require human confirmation and never modify the running process in place.

without aide unprotected, or constant prompts
Debugging a deployment without an OS sandbox.$ claude --dangerously-skip-permissions  ● Let me check the AWS configuration.  ● Bash(cat ~/.aws/credentials)    [default] aws_access_key_id = AKIA…Cloud credentials are read and sent into the model context.With interactive prompts enabled instead:  Allow Bash(ls)?           Allow  Allow Read(main.go)?      Allow  Allow Bash(go test)?      Allow⚠ 200+ prompts per session cause approval fatigue.
with aide scoped per tool
Declare the tools needed for the task at launch.$ aide --with docker,aws     ✓ docker     ~/.docker  ← --with     ✓ aws        ~/.aws  ← --withMid-session, an ungranted tool is blocked by the OS.  ● Bash(kubectl get pods)    permission deniedPermission denied (read): ~/.kube/config — press Ctrl+B m to allowCtrl+B m  [x] k8s   scope: ▸ session↻ Restarting claude with updated permissions…  ● Bash(kubectl get pods)   okDisable a capability for a single run.$ aide --without dockerBlock sensitive paths permanently with never-allow.$ aide cap never-allow ~/.kube/prod-config$ aide --with k8s     ✗ denied    /Users/you/.kube/prod-config (never-allow)

Common sandbox and capability commands

Enable tools for one run
aide --with docker,aws
Disable a tool for one run
aide --without docker
Toggle tools mid-session (works in any terminal)
Ctrl+B m (or Ctrl+] if tmux uses Ctrl+B), then pick scope: session, project, or profile
Apply changes from another pane
aide restart --with docker
Persist a tool for a project
aide cap enable docker / aide cap disable docker
Allow an extra folder
aide sandbox allow ~/datasets (add --write for write access)
Deny a specific path
aide sandbox deny ~/notes
Disable all network access
aide sandbox network none
Block a path even when a capability is on
aide cap never-allow ~/.kube/prod-config
Inspect active rules
aide status

Tamper resistance

Controls stay protected

Session control sockets and secrets/ are inaccessible to the agent, and aide's config and the project's .aide.yaml are write-protected. The agent cannot edit its own policy.

Human confirmation required

Mid-session permission changes are staged, shown to you, and applied only after you confirm them from the keyboard.

Untrusted repo configs are ignored

When a cloned repository includes a .aide.yaml, aide displays it and applies nothing until you explicitly trust it.

aide trust

Verify rules and platform limits

Inspect generated OS rules

$ aide sandbox test
(version 1)
(deny default)
…

Prints the exact policy the operating system will enforce before launching the agent.

Platform details and constraints

Outbound network access is enabled by default so agents can reach package registries and APIs. Disable it with aide sandbox network none.

Git over SSH requires --with ssh. Adding a capability mid-session restarts the agent and resumes the conversation.

macOS (Seatbelt) and Linux 6.7+ (Landlock ABI ≥ 4) enforce both file rules and per-port TCP filtering. Older Linux kernels (5.13–6.6) enforce file rules via Landlock and full network blocking (network: none) via bubblewrap. If neither Landlock nor bubblewrap is available, aide prints a warning and runs without OS isolation.

Under Linux Landlock, a rule cannot block a single file inside an already-writable directory. As a result, project-local .env files, .git/hooks, .aide.yaml, and never-allow paths inside writable folders are enforced on macOS and under bubblewrap, not under Landlock. Modified .aide.yaml files still lose trust until re-approved, and aide sandbox test flags unenforced rules. See Platform details.

How it works

What happens when you run aide

aide is a launcher, not a replacement. It starts the coding agent you already use with its existing login and model, after resolving the profile and building the OS sandbox.

Run aideInvoke aide instead of claude or codex. Arguments after -- pass straight to the agent.
Match profileaide checks the git remote and directory path to select a profile. Without a profile, it uses your existing agent setup.
Scrub environmentProvider keys and cloud credentials exported in your shell are stripped unless allowed by the profile or an enabled capability.
Build OS rulesDefault guards and enabled capabilities translate into Seatbelt (macOS) or Landlock/bubblewrap (Linux) rules.
LaunchThe OS applies the sandbox and starts the agent inside it. aide stays attached as a thin supervisor so you can adjust access mid-session.

Inspect decisions without launching

aide which shows the matched profile, agent binary, secrets, and environment variables without starting the agent.

aide doctor checks for configuration or sandbox problems in the current directory and suggests the command to fix each one.

~/work/myproject
$ aide whichProfile:  workMatched:  path glob match: ~/work/*Agent:    claude (/usr/local/bin/claude)Secret:   workEnv:  AWS_PROFILE  ← from secrets.aws_profile
Profiles

Isolate work and personal accounts

By default, a coding agent stores its login, session history, plugins, and MCP servers in one shared home directory. aide gives each profile its own isolated home folder and blocks access to other profiles inside the sandbox.

Single shared agent home

~/.claude/
login
whichever account was used last
sessions/
work history visible in personal repos
plugins/
work plugins load everywhere
mcp servers
internal databases reachable from other repos

Separate home per profile

~/.claude-work/
isolated login, history, plugins, MCP servers
~/.claude-personal/
separate login, history, plugins, MCP servers
~/.claude/
existing default setup left untouched

Only the active profile's directory is readable inside the sandbox; other profile directories are denied by the OS.

without aide one home, shared state
Work repository using the company account.$ export ANTHROPIC_API_KEY=sk-ant-…work$ cd ~/work/api && claude  … session uses an MCP server connected to the staging databasePersonal repository later, sharing the same agent home directory.$ cd ~/code/my-app && claude  MCP servers:  staging-db   connected  Recent sessions:  ~/work/api  (2 hours ago)Work MCP servers, history, and API keys carry over into personal repos.
with aide isolated per account
Work repository matched to the work profile.$ cd ~/work/api && aide🔧 aide · work (🤖 claude → /usr/local/bin/claude (dir: ~/.claude-work))   📁 remote match: github.com/acme/*Personal repository matched to a separate personal profile.$ cd ~/code/my-app && aide🔧 aide · personal (🤖 claude → /usr/local/bin/claude (dir: ~/.claude-personal))   📁 remote match: github.com/you/*Separate login, history, and MCP servers; the work directory is blocked.  ● Bash(ls ~/.claude-work)    Operation not permitted

Automatic matching by repo or path

Bind a profile to a single repository, a whole git organization, or a directory path. Matching by git remote ensures fresh clones and worktrees automatically inherit the right profile.

Forgotten shell exports are stripped at launch so personal repositories do not accidentally bill a company key.

Read the Profiles guide →

~/work/api
$ aide profile create work --agent claude --no-here$ aide profile bind workSelect match scope:  [1] This repository only (github.com/acme/api) (default)  [2] All repositories in github.com/acme/*  [3] This folder path only (/home/you/work/api)Choose [1]: 2Bound this folder to profile "work" (matched by remote github.com/acme/*)$ aide whichProfile:  workMatched:  remote match: github.com/acme/*
Gateways

One gateway config for every supported agent

Each agent stores custom endpoints and model lists in a different file and format. With aide, you register a corporate proxy, OpenRouter, Bedrock, Vertex, or local server once; aide encrypts the key and syncs configuration across supported agents.

without aide manual config per agent
Configuring a corporate LLM gateway manually across agents.$ vim ~/.claude/settings.json  "ANTHROPIC_BASE_URL": "https://llm.example.com"$ vim ~/.codex/config.toml  base_url = "https://llm.example.com"$ vim ~/.config/opencode/opencode.json  "baseURL": "https://llm.example.com"Three config files, three schemas, and plaintext tokens in each.Token rotation requires editing every file again.
with aide configured once, synced to all
Register the gateway once, piping the token from a password manager (e.g. 1Password CLI).$ op read op://Eng/Gateway/credential | aide gateway add corp --url https://llm.example.com --key-stdinaide writes native gateway config for each supported agent.$ aide gateway list  corp   https://llm.example.com    claude    synced    codex     synced    opencode  synced    pi        synced    omp       syncedRotate the token across all five agents with one command.$ aide gateway edit corp --rotate-token

Explicit selection

aide never silently picks a gateway, even when only one is configured. Interactive sessions prompt with nothing preselected, and non-interactive runs exit with an error.

Encrypted key storage

Keys are passed via stdin rather than CLI flags so they stay out of shell history, stored encrypted, and decrypted only in memory at launch.

Cross-agent sync

Supported agents (claude, codex, pi, omp, and opencode) each receive native gateway settings and model lists. Add another agent later and sync with one command.

aide gateway sync

Built-in presets cover Anthropic, OpenAI, OpenRouter, Bedrock, Vertex, and keyless local servers like Ollama. Bypass a gateway for one run with aide --gateway none. Read the Gateways guide →

Portable config & secrets

Version-controlled policies and encrypted secrets

Profiles, sandbox rules, and encrypted credentials live in small YAML files under ~/.config/aide/. Commit them to git to reproduce the same setup on a new laptop, container, or teammate's machine.

Configuration layout

~/.config/aide/
├── profiles/          repo → account mapping
├── sandbox.yaml       default sandbox & custom capabilities
├── secrets/           age-encrypted credentials
├── provisioning.yaml  plugins, MCP servers, hooks
└── config.yaml        defaults and preferences

Plain YAML that you can review in git. Commands like aide cap enable --global and aide sandbox deny --global update these files directly (without --global, they update the current repo's .aide.yaml).

new machine reproducible setup
Clone your aide config on a new machine.$ git clone git@github.com:you/aide-config.git ~/.config/aideProvide your age private key locally; git stores only encrypted files.$ cd ~/work/api && aide🔧 aide · work (🤖 claude → /usr/local/bin/claude (dir: ~/.claude-work))   📁 remote match: github.com/acme/*   🛡 sandbox: primary (Seatbelt), network outbound only     ✓ docker     ~/.docker     ✗ denied    /Users/you/.kube/prod-config (never-allow)Same profiles, capabilities, and deny rules on every machine.

Project-level .aide.yaml with trust verification

A repository can include a .aide.yaml declaring the capabilities its tasks require.

aide shows the requested rules and applies nothing until you run aide trust. If the file changes later, trust is invalidated and you are prompted again.

~/work/api
# .aide.yaml committed with the projectcapabilities: [docker, k8s] $ aide trust# approve this version of the file$ aide deny# or block it permanently

Encrypted at rest

API keys are encrypted with the age encryption tool via SOPS and decrypted in memory at launch, making the files safe to commit.

aide secrets create work

Team key rotation

Add a teammate's public age key so everyone decrypts with their own private key without sharing plaintext tokens.

aide secrets rotate work --add-key age1…

CI and containers

Ship your config in an image and inject the private key at runtime to apply the same sandbox boundaries to unattended runs.

aide --agent claude -- -p "run tests"
Integrations & diagnostics

Operational tools included

Statusline

Display active profile, sandbox status, network mode, and enabled capabilities directly in Claude Code's status bar.

aide statusline claude --install

Terminal multiplexers

Integrate keybindings and menus with tmux, WezTerm, Zellij, kitty, Rex, and herdr while blocking sandboxed agents from controlling other panes.

Multiplexers guide →

35 built-in capabilities

Predefined bundles for cloud CLIs, Docker, Kubernetes, Terraform, language runtimes, and more, plus custom capability extensions.

Capabilities reference →

Doctor

Checks your sandbox backend and enforcement level, profile match, and credentials in the current directory and offers step-by-step fixes.

aide doctor --fix

Redacted diagnostics

Generate a shareable, secret-redacted diagnostic report when an agent fails to launch or behaves unexpectedly.

aide --diagnose

Usage and spend

Track token usage and cost per profile or across all accounts in an interactive dashboard or as plain text.

aide usage