aide

Stop babysitting your agent.
One command. Any agent. Sandboxed, reproducible, macOS and Linux.
You planned the work. You know what needs to happen. But instead of letting your agent execute, you're stuck evaluating every file read, every shell command, every network call. That's not autonomy - that's babysitting with extra steps.
OS-native sandboxing fixes the catastrophic case - the agent physically can't touch your SSH keys or a production kubeconfig (your Kubernetes cluster credentials). But that's the floor, not the ceiling. Once a rogue write is off the table, you're still switching CLIs and env vars per agent, losing track of which sandbox mode is even active mid-session, leaking API keys into .env files, and reinstalling the same plugin set by hand on every new machine.
aide bundles the sandbox with five other things below, all behind one command. It enforces the sandbox natively on both macOS (Seatbelt, Apple's kernel-level sandboxing) and Linux (Landlock + seccomp, with a bubblewrap fallback on older kernels) - equally supported, not macOS-first with Linux bolted on.
aide covers six things:
- Sandbox - OS-native guardrails, zero config, macOS and Linux
- Unified UX - one command resolves the right agent, credentials, and capabilities per project
- Session visibility - live sandbox and capability state in your statusline, not just at launch
- Reproducibility - secrets encrypted at rest, config portable across machines and CI
- Provisioning - declare your plugin set once, sync it everywhere, per profile
- Diagnostics -
--diagnose turns a cryptic agent failure into a redacted, shareable report
Sandbox - stop choosing between scary and exhausting
Without aide, you either skip all permissions and hope for the best:
claude --dangerously-skip-permissions # what could go wrong?
Or you click "allow" on every. single. action. File read? Allow. Shell command? Allow. Network call? Allow. Two hundred times a session.
With aide, the agent runs inside OS-native guardrails - no config, no prompts:
aide # agent launches sandboxed automatically
🔧 aide · work (claude)
📁 github.com/acme/api
🛡 sandbox: network outbound, code-only
Code-only mode. Your agent can read your code, run tests, hit the network - but it physically cannot touch your SSH keys, cloud credentials, or browser data. 11 guards active by default - filesystem, network, credentials, cloud providers, toolchains, and common dev tools (full list in docs/sandbox.md) - zero configuration.
Ready to deploy? Tell aide what you're doing:
aide --with docker # build and push images
aide --with docker k8s # deploy to your cluster
aide --with docker k8s gcp # debug cloud infra too
🔧 aide · work (claude)
📁 github.com/acme/api
🛡 sandbox: network outbound
✓ docker ~/.docker/config.json
✓ k8s ~/.kube/config (KUBECONFIG)
✓ gcp ~/.config/gcloud
⚠ credentials exposed: GOOGLE_APPLICATION_CREDENTIALS
Each capability unlocks only the access that tool needs. Docker gets registry creds. Kubernetes gets kubeconfig. GCP gets gcloud auth. Everything else stays locked. Some capabilities also have to expose a credential as an environment variable rather than a scoped file path - aide flags those explicitly (see the ⚠ above) so you know what the agent can see.
Protect what matters:
aide cap never-allow ~/.kube/prod-config
aide cap never-allow --env PRODUCTION_DB_PASSWORD
Now no capability - not even k8s - can ever read your production kubeconfig. never-allow paths are appended to the sandbox's own deny list, so this is enforced by the OS sandbox's deny-wins semantics, not just aide's own resolution logic - a capability that tries to grant broader access still can't override it. (On Linux, this holds under the bubblewrap backend; the Landlock backend can't deny a single file nested inside an already-granted directory - see docs/capabilities.md for the platform-specific workaround.) The agent sees your dev and staging clusters but production is a hard wall:
🔧 aide · work (claude)
🛡 sandbox: network outbound
✓ k8s ~/.kube/dev-config, ~/.kube/staging-config
✗ denied ~/.kube/prod-config (never-allow)
Make it permanent for a project:
# .aide.yaml in your repo root
capabilities: [docker, k8s, gcp]