aide Configuration
Config Location
aide splits its global configuration by concern under ~/.config/aide/ (or $XDG_CONFIG_HOME/aide/ when $XDG_CONFIG_HOME is set):
~/.config/aide/
├── config.yaml # Global settings: default_profile, agents, preferences, statusline
├── sandbox.yaml # Security & isolation: capabilities, sandboxes, custom_guards, guard_types, never_allow, never_allow_env, scrub_env
├── provisioning.yaml # Shared tooling: plugins, mcp_servers, hooks
├── profiles/ # One flat YAML file per profile (no outer profiles: wrapper)
│ ├── work.yaml
│ └── personal.yaml
└── secrets/ # Age-encrypted secret stores (<name>.enc.yaml)
Only config.yaml and the files for sections you actually use need to exist on disk. To split an existing single-file config.yaml into this modular layout, run aide config migrate (preview) and aide config migrate --write.
To override settings for a specific project, place a .aide.yaml file in the project root. aide walks up from the current directory and stops at the git root when searching for this file.
Minimal Format
For a single profile setup, a flat config.yaml with no agents: key acts as a single default profile:
# ~/.config/aide/config.yaml
agent: claude
gateways:
anthropic: {preset: anthropic, store: personal, key: anthropic_api_key}
gateway_choice: {claude: anthropic}
yolo: true # optional: skip agent permission checks
auto_approve: true # alias for yolo
aide registers the agent binary automatically using the name provided. Credentials belong on the profile, not on a separate agent definition.
Full Format
For multiple projects with different agents, credentials, sandbox policies, or shared tooling, configure global settings in config.yaml and each profile in ~/.config/aide/profiles/<name>.yaml:
# ~/.config/aide/config.yaml
default_profile: personal
agents:
claude:
binary: claude
icon: "🤖"
aider:
binary: aider
preferences:
show_info: true
info_style: compact
info_detail: normal
prefix: "ctrl+b"
bindings:
menu: "m"
capabilities: "c"
sandbox: "s"
gateway: "g"
diagnostics: "d"
reload: "r"
config: "u"
tui_key: "ctrl+]"
reload_key: "ctrl+\\"
mux:
rex:
enabled: true
resume: true
actions: true
prefix: "ctrl+a>a"
keys:
reload: "r"
# ~/.config/aide/profiles/work.yaml
match:
- remote: "github.com/acme/*"
- path: "~/work/*"
icon: "💼"
agent: claude
secret: work
gateways:
anthropic: {preset: anthropic, store: work, key: anthropic_api_key}
gateway_choice: {claude: anthropic}
sandbox:
network: outbound
writable:
- "{{ .project_root }}"
# ~/.config/aide/profiles/personal.yaml
match:
- remote: "github.com/myuser/*"
icon: "🏠"
agent: claude
secret: personal
gateways:
anthropic: {preset: anthropic, store: personal, key: anthropic_api_key}
gateway_choice: {claude: anthropic}
sandbox: false
# ~/.config/aide/profiles/open-source.yaml
match:
- path: "~/oss/*"
agent: aider
secret: oss
credentials:
openai-key:
store: oss
key: openai_api_key
env: [OPENAI_API_KEY]
agents: [aider]
default_credentials: [openai-key]
sandbox: strict
# ~/.config/aide/profiles/infra.yaml
match:
- path: "~/infra/*"
agent: claude
secret: work
capabilities: [docker, k8s]
auto_approve: true
Agent Definitions
The agents: block in config.yaml maps names to binaries. The agent name is the map key. binary: is the executable name or absolute path; if omitted, aide uses the agent name as the binary. Agents are binary definitions only. Credentials and environment variables belong on profiles.
Known agents that aide detects automatically on PATH: agy, aider, amp, claude, codex, copilot, cursor-agent, gemini, goose, omp, opencode, pi. (hermes is also recognized for hook provisioning.)
# ~/.config/aide/config.yaml
agents:
claude:
binary: claude
icon: "🤖" # optional; shown in banner and prompt
aider:
binary: aider
The icon field (optional) sets a Unicode symbol displayed alongside the agent name in the banner and aide prompt output.
Global Config Files and Fields
config.yaml (Global Settings)
default_profile:(string) - Fallback profile name when no profile match rules apply (defaults to"default").agents:(map) - Agent binary definitions.preferences:(map) - Startup banner display, mid-session prefix/hotkey bindings, and launch preferences (see Preferences).mux:(map) - Terminal multiplexer integration settings keyed by multiplexer name (rex,herdr,tmux,wezterm,zellij,kitty) (see Multiplexer Integrations).statusline:(map) - Configures theaide statusline clauderenderer. Controls module order, per-module icons, state strings, and disabled state. Field-by-field merge with the project override;orderis replaced wholesale when set in the project.
# ~/.config/aide/config.yaml
statusline:
order: [sandbox, network, caps, trust, context]
sandbox:
on: "🔒"
off: "🔓"
unmanaged: "💀" # shown when AIDE_SANDBOX is absent entirely
network:
outbound: "🌐"
unrestricted: "🌍"
unmanaged: "🌫️" # shown when AIDE_NETWORK_MODE is absent entirely
caps:
icon: "⚡" # prefix; value is comma-joined capability list
trust:
untrusted: "⚠️" # only shown when .aide.yaml is untrusted
context: # the matched profile's name
icon: "📁"
gateway: # opt-in gateway choice (⇄<gw>, ⇄login, ⇄?); disabled by default
disabled: true
icon: "⇄"
auto_approve:
value: "🚨" # always shown when active; disabled: true has no effect
Setting any state value to "" hides that state silently (e.g. sandbox.off: "" hides the module when sandbox is disabled). Each module also accepts disabled: true to remove it from output. The gateway module is disabled by default and is enabled when statusline.gateway.disabled: false, when "gateway" is listed in statusline.order, or when requested via aide statusline --module gateway. The agent key is accepted but ignored by the renderer (reserved for a future module).
The sandbox/network modules also accept an unmanaged: value, rendered
when the corresponding AIDE_SANDBOX/AIDE_NETWORK_MODE env var is absent
entirely rather than set to off/unrestricted; this distinguishes “aide
didn’t launch this session at all” from “aide launched it with the sandbox
explicitly disabled.” Defaults to "💀" for sandbox and "🌫️" for
network.
sandbox.yaml (Security and Isolation)
capabilities:(map) - User-defined capability definitions. Each key is a capability name mapping to aCapabilityDef. Example:
# ~/.config/aide/sandbox.yaml
capabilities:
k8s-dev:
extends: k8s
readable: ["~/.kube/dev-config"]
deny: ["~/.kube/prod-config"]
env_allow: [KUBECONFIG]
sandboxes:(map) - Named sandbox profiles referenced from profiles (sandbox: <name>).never_allow:(list) - Paths that no capability can ever access. These are enforced globally regardless of which capabilities are active.never_allow_env:(list) - Environment variables always stripped from the agent process, even if a capability would otherwise permit them.scrub_env:(list) - Extra variable names added to the credential scrub registry (see Credential-clean environment). An entry ending in*matches a prefix (CORP_LLM_*).custom_guards:andguard_types:(advanced) - Deny the agent your own paths. Each custom guard listspaths(~/expands to home; globs such as~/.ssh/prod_*expand at launch), an optionaldescription,allowedpaths exempted frompaths(for example, exempting~/.ssh/prod_bastion.pubfrom~/.ssh/prod_*; does not carve out a file inside a directory listed directly inpaths), andenv_override(a variable whose value replaces a single path). Itstypeisdefault(on unless unguarded; the default when omitted),opt-in(on only when named inguards:orguards_extra:), or a name fromguard_types:, whosebehaviorisdefaultoropt-in. Names must not clash with built-in guards, andalwaysis reserved for them.aide sandbox guardslists custom guards next to the built-in ones. On Linux (Landlock), a guarded path inside a read-only grant such as~/.sshis blocked, but one inside a writable grant such as the project directory is not; see never_allow.guard_types: team-internal: behavior: opt-in custom_guards: audit-logs: paths: ["~/.config/audit"] prod-ssh: # with the ssh capability, everything in ~/.ssh but these paths: ["~/.ssh/prod_*"] team-vault: type: team-internal paths: ["~/.config/team-vault"] env_override: TEAM_VAULT_DIR
provisioning.yaml (Shared Tooling)
plugins:(map) - Declarative plugin set per agent. Value shape per entry decides the meaning: list = marketplace + plugin names, string = URL-direct install ref, null = declare-only marketplace. Reconciled byaide sync. See Provisioning.mcp_servers:(map) - Declarative MCP server set. Each entry is an inline table withcommand+args(stdio) orurl(HTTP), plus optionalenv. Reconciled byaide sync.hooks:(map) - Declarative hook set. Keys are normalized event names (pre_tool,post_tool,session_start,session_end,notification,stop); values are lists of hook entries:
# ~/.config/aide/provisioning.yaml
hooks:
pre_tool:
- command: "rtk hook {agent}"
matcher: shell # optional: "shell" → agent-native name (e.g. Bash)
The {agent} template variable is replaced with the resolved agent name for each profile. Reconciled by aide sync. See Hooks below.
Credential-clean environment
A configured launch (any config.yaml) does not hand the agent the
credentials exported in your shell. Before the profile’s env:
is applied, aide removes from the inherited environment, whether or
not --clean-env is set:
- provider API keys and tokens (
ANTHROPIC_API_KEY,ANTHROPIC_AUTH_TOKEN,CLAUDE_CODE_OAUTH_TOKEN,OPENAI_API_KEY,CODEX_API_KEY,CODEX_ACCESS_TOKEN,GEMINI_API_KEY, …) and provider selectors and endpoints (OPENAI_BASE_URL,ANTHROPIC_BASE_URL,ANTHROPIC_BEDROCK_BASE_URL,CLAUDE_CODE_USE_BEDROCK,CLAUDE_CODE_USE_VERTEX,AWS_BEARER_TOKEN_BEDROCK, Anthropic federation variables, …); - Claude Code’s other authentication inputs:
CLAUDE_CODE_OAUTH_REFRESH_TOKEN,ANTHROPIC_PROFILE,ANTHROPIC_CONFIG_DIR,ANTHROPIC_IDENTITY_TOKEN[_FILE], the workload-identity federation IDs,ANTHROPIC_CUSTOM_HEADERS, the mTLS client certificate and key (CLAUDE_CODE_CLIENT_*), and everyCLAUDE_CODE_USE_*/CLAUDE_CODE_SKIP_*_AUTHprovider switch; - Pi’s provider keys and endpoints (every variable in Pi’s provider
docs):
ANTHROPIC_OAUTH_TOKEN,AZURE_OPENAI_API_KEY,GOOGLE_CLOUD_API_KEY,CLOUDFLARE_API_KEY,COPILOT_GITHUB_TOKEN,HF_TOKEN,AI_GATEWAY_API_KEY, the*_API_KEYof DeepSeek, NVIDIA, Cerebras, ZAI, OpenCode, Radius, TypeSafe, Fireworks, Together, Baseten, Kimi, Meta, MiniMax, Moonshot, Qwen and Xiaomi (secret-bearing), andAZURE_OPENAI_BASE_URL,AZURE_OPENAI_RESOURCE_NAME,AZURE_OPENAI_DEPLOYMENT_NAME_MAP,AZURE_OPENAI_API_VERSION,CLOUDFLARE_ACCOUNT_ID,CLOUDFLARE_GATEWAY_ID,GOOGLE_CLOUD_LOCATION(selectors); - ambient cloud credentials:
AWS_*,CLOUDSDK_*,GOOGLE_APPLICATION_CREDENTIALS,GOOGLE_CLOUD_PROJECT,GCLOUD_PROJECT, and the Azure default-credential variables (AZURE_CLIENT_ID,AZURE_TENANT_ID,AZURE_CLIENT_SECRET,AZURE_CLIENT_CERTIFICATE_PATH,AZURE_FEDERATED_TOKEN_FILE, …); - aide’s own secret material and terminal resume protocol token:
SOPS_AGE_KEY,SOPS_AGE_KEY_FILE, andOSC7577_TOKEN(OSC7577_TOKENis pinned unconditionally and cannot be re-admitted by any capability,env:, orclean_env: false); - parent terminal multiplexer control variables (
REX_*,HERDR_*,TMUX*,WEZTERM_*,ZELLIJ*,KITTY_*), unless the corresponding opt-in multiplexer capability (rex,herdr,tmux,wezterm,zellij, orkitty) is active; - names you list in
scrub_env:; - every agent config-dir redirect (
CLAUDE_CONFIG_DIR,CODEX_HOME,PI_CODING_AGENT_DIR,PI_CODING_AGENT_SESSION_DIR,PI_CONFIG_DIR,OMP_PROFILE,PI_PROFILE,PI_CONFIG_FILES,COPILOT_HOME,OPENCODE_CONFIG, …). Unisolated profiles (such as the built-indefaultprofile) always use the agent’s native default directory (~/.claude,~/.codex, etc.); custom profiles isolate into~/.<agent>-<name>.
The full list lives in internal/envscrub. What still reaches the
agent:
- the profile’s
credentials:bindings (see “Credential bindings” below) and its chosen gateways; - values the profile sets in
env:. A provider API key, endpoint or switch there is refused (add a gateway instead); other provider selectors (ANTHROPIC_VERTEX_PROJECT_ID, …) are ordinary configuration there. Other scrubbed names (cloud variables,scrub_env:names) are passed on with a warning naming the variable (never its value). - cloud variables a capability grants through
env_allow(the built-inaws,gcpandazurecapabilities re-admit their variables). Provider keys (including those in a cloud namespace, such asAWS_BEARER_TOKEN_BEDROCK), secret material andscrub_env:names are never re-admitted this way.
Limits: aide matches names. A credential exported under a name the
registry does not know passes through unless you add it to
scrub_env:, and files or keychains a scrubbed variable would have
pointed at (~/.aws/credentials, gcloud application-default
credentials, system keychains) are not removed; only the sandbox
controls whether the agent can read them. Provisioning subprocesses
(aide sync, plugin/MCP listing) drop the same names, including
scrub_env:.
Claude Code has two authentication sources no environment scrub reaches:
apiKeyHelperin Claude’s settings is a command Claude runs for a key; that key outranks the profile’s native login (only an injectedANTHROPIC_API_KEYorANTHROPIC_AUTH_TOKEN, or aCLAUDE_CODE_USE_*provider, ranks above it). A profile launch reads the profile dir’ssettings.jsonand printsaide: note: <dir>/settings.json sets apiKeyHelper ...(naming the setting, never its command). aide does not remove it; delete it from that file if the profile should use its login. Managed settings and a project’s.claude/settings.jsoncan also set it and are not checked.- A keyless Claude Console sign-in and
antCLI profiles are stored in~/.config/anthropic, outsideCLAUDE_CONFIG_DIR, so every profile that can read it shares them. The sandbox does not grant that dir. To keep them per profile, setANTHROPIC_CONFIG_DIRin the profile’senv:to a dir inside its config dir.
Pi’s Vertex provider without GOOGLE_CLOUD_API_KEY uses gcloud
application-default credentials
(~/.config/gcloud/application_default_credentials.json). That file
is one per user, not per profile: aide does not isolate it. The
sandbox grants ~/.config/gcloud only with the gcp capability, so
every Pi profile with gcp (or launched without the sandbox) shares
the same Google login.
Codex reads a custom model provider’s key from the variable its
config.toml names in model_providers.<id>.env_key (and header
values from env_http_headers), so those names are not in the
registry. aide treats them like credential binding names: every
configured launch (any agent) and every provisioning subprocess
scrubs, from the inherited environment, each such name declared in
any Codex home aide knows of: ~/.codex, an exported CODEX_HOME,
and every profile’s own Codex dir, each with its config.toml and
profile files (<name>.config.toml). Only the names are read, never
values or experimental_bearer_token; names of process essentials
(PATH, HOME, …) and AIDE_* are ignored. A missing file
declares nothing. When the Codex home being launched has an
unreadable or invalid file, the launch prints
aide: note: <dir>/config.toml is not valid TOML (line N): custom model provider keys it names are not scrubbed from the shell and continues. To
inject such a key, bind it with a custom credentials: entry
(env: [CORP_LLM_KEY], agents: [codex]). Limits: a project’s
.codex/config.toml and Codex homes outside these are not read; list
names you always want removed in scrub_env:. MCP server tokens
(bearer_token_env_var) are resource credentials and are left alone.
Every launch (including zero-config launches when default is synthesized from PATH) runs through the full credential scrub and sandbox policy.
Every env name a credentials: binding declares (in any profile) is
also scrubbed from the inherited environment, so a custom key exported
in your shell cannot reach an agent that did not select it.
Credential bindings
LLM endpoints and keys (hosted providers, company gateways, cloud
switches) are gateways; credentials: is for plain
environment-variable secrets such as GITHUB_TOKEN, for env-only
harnesses (gemini, aider, goose, amp) and for the built-in
gemini key, which is also injected into pi, omp and opencode
(and skipped there while a gateway is chosen for that harness).
Provider credentials written the old way are migrated to gateways (see
Upgrading from earlier gateways).
default_credentials: names the bindings a launch injects when nothing
else selects (--gateway <binding> replaces it); a binding it leaves out is
never decrypted or injected. Each binding refers to one key in an
age-encrypted secret store (the same stores secret: names; see
aide secrets).
# ~/.config/aide/profiles/work.yaml
agent: claude
credentials:
github:
backend: age # the only backend
store: work # secret store, named like secret:
key: github_token # key inside that store
env: [GITHUB_TOKEN]
agents: [claude] # required for a custom name
gemini: # built-in name: GEMINI_API_KEY
backend: age
store: work
key: gemini_api_key
- The built-in names and the variable each sets are
gemini(GEMINI_API_KEY) and, for a binding that is migrated rather than kept,anthropic,openai,openrouterandcodex.env:on a built-in replaces its variable names. - Any other name is custom and must list
env:andagents:(harnesses:is accepted as a legacy alias).agents:matches the agent anagents:entry runs (my-claudewithbinary: claudeisclaude). - A binding cannot set
PATH,HOMEand other process essentials,AIDE_*,SOPS_AGE_KEY*,OSC7577_TOKEN, or an agent config-dir variable such asCLAUDE_CONFIG_DIR. - A launch decrypts only the stores of the bindings it injects. Other profiles’ bindings never are: a profile without a key does not borrow one from another profile.
--gateway <name>for a name that is not a gateway replaces the whole selection with that credential, and stops the launch when it is not defined in the profile, its store or key is missing, or it is restricted to other agents.--gateway noneinjects no credential and uses the harness’s own login.aide which --format jsonshows the selection undercredential_selectionand the injected bindings undercredentials.- Bindings are set after the profile’s
env:, so they win over a generalenv:value;never_allow_env:still removes them. - The banner,
aide whichandaide statusshow binding names and variable names only (--format json:credentialswithnameandenv, andauth_mode), never values. - Loading fails with
invalid credentialswhenbackend:is notage,store:orkey:is missing, a custom name lacksenv:oragents:, an agent inagents:is unknown, or two bindings serving the same agent set the same variable. - A provider endpoint (
ANTHROPIC_BASE_URL,OPENAI_BASE_URL, …) or switch (CLAUDE_CODE_USE_BEDROCK, …) set incredentials:or in a profile’senv:is refused with a pointer toaide gateway add, and so is a provider key inenv:. Only a hand edit can leave one after the migration.aide env setrefuses the same names. .aide.yamlcannot declarecredentials:, and a provider credential, selector or endpoint in itsenv:stops the launch.
Routes: one binding, every agent
Pick an agent and the profile picks the variables: give a binding a
route per agent with for:. Each route says which variables carry
the key (env:) and which non-secret settings travel with it
(set:).
# ~/.config/aide/profiles/work.yaml
agent: claude
credentials:
cloud: # keyless: AWS login via the capability
capabilities: [aws]
for:
claude: {set: {AWS_PROFILE: dev}}
pi: {set: {AWS_REGION: us-east-1}}
- The
for:keys are the agents the binding serves.for:replacesenv:andagents:on that binding (those remain shorthand for the sameenv:on every listed agent). - A binding without
backend:,store:andkey:is keyless: it injects onlyset:values and adds itscapabilities:to the launch. set:takes plain values (no templates). It cannot set reserved variables, a provider endpoint or switch, and a provider key variable only to""(to blank it).- The banner and
aide whichlist each route’s variable names, includingset:names, never values.
Gateways
A gateway is a named LLM endpoint a harness can use instead of its own
login: a hosted service (OpenRouter), a company proxy (LiteLLM), a
local model server, or a cloud switch (Bedrock, Vertex). It lives under
gateways: in the profile, lists the harnesses it serves, and keeps its
key in an age secret store. aide writes each marked harness’s own
config with an aide-<name> provider entry that names a variable,
never the key, and a launch injects the key as AIDE_GW_<NAME>_KEY
(the name uppercased, - becoming _).
aide gateway add corp --url https://gateway.example.com --profile work
This prompts for the key (input hidden), then:
Creates a default age identity when none exists and you are on a terminal (anywhere else, pass
--generate-age-key), and encrypts the key into~/.config/aide/secrets/work.enc.yamlundercorp_token.Saves the gateway and the choice on the profile (
~/.config/aide/profiles/work.yaml):gateways: corp: url: https://gateway.example.com api: anthropic-messages store: work key: corp_token agents: [claude, pi] # which agents may use it model: claude-sonnet-4-5 # optional startup model gateway_choice: claude: none # recorded by `add`; see belowFetches
<url>/v1/models, caches the result in~/.local/state/aide/gateways/work/corp.json, and writes it into the config of every harness whose profile dir exists. Harnesses without a dir yet showpendingand get the file on first launch.
Read the key from a password manager with --key-stdin or from an
environment variable with --from-env=VAR (a bare --from-env on a
preset reads the first of the preset’s usual variables that is set).
No flag takes the key itself, so it never lands in shell history.
Choosing a gateway: no silent billing changes
aide never selects a gateway by itself, even when only one exists. Each launch uses a gateway only when you chose it:
| Order | Source | Set with |
|---|---|---|
| 1 | --gateway <name|none> for this run (--auth login means none) | the flag |
| 2 | Repository preference | aide gateway use <name|none> --agent <a> --repo, or aide project set --gateway <name|none> --agent <a> |
| 3 | The profile’s gateway_choice: | aide gateway use <name|none> --agent <a> |
| 4 | No gateway marked for the agent | the agent’s own login |
| 5 | Gateways marked, choice unset | the picker on a terminal; exit 78 in a script |
none means the agent’s own login. claude and codex take exactly
one endpoint, so they need a choice. pi, omp and opencode list
every marked aide-<name> entry in /model; a choice only decides
which one they start on. Unset gateways for them start on the
agent’s default.
aide gateway add never changes how existing launches authenticate:
for each marked claude or codex whose choice was unset it records
none, unless you pass --default-for <agent> (repeatable) or
--default to make the new gateway the choice. On a terminal without
those flags, add asks per claude/codex whether to make it the
default, and records none on No or off a terminal. A stored choice that
names a gateway no longer marked for the agent is reported on stderr
and treated as unset. aide gateway use --agent <a> --unset clears one.
The picker
With an unset claude or codex choice on a terminal, the launch
lists the marked gateways (URL, store and key name, never a value) and
none (use <agent>'s own login), with nothing preselected and no
secret decrypted. Then it asks whether to apply the choice “Just this
once”, “Always in this repo” (when the repository has an origin), or
“Always in profile <name>”. A read-only config directory falls back to
“Just this once” with a notice.
Exit code 78
When the choice is unset and stdin is not a terminal (or the picker is
aborted), aide stops
before starting the agent with exit code 78 (EX_CONFIG) and
prints the candidate gateways and the commands to resolve it, along
the lines of this example (not exact output):
claude has gateways marked in profile "work" (corp, openrouter) but none chosen;
choose one with: aide gateway use <name|none> --agent claude, or pass --gateway <name|none>
Scripts and CI can test for 78 and fix the configuration; the same
launch never falls back to metered billing. The choice is unset after
aide gateway use --unset, after gateway remove or unmarking the
chosen gateway, when a stored choice goes stale, after a hand edit, or
when a synced config arrives without gateway_choice:. aide which,
aide status, aide prompt and aide statusline never ask and never
exit 78; which and status print unset (would prompt on a terminal, exit 78 in scripts) for claude and codex.
Kinds and presets
| Kind | Needs | Example |
|---|---|---|
| Static key | URL, wire protocol (api), stored key | corp, openrouter-anthropic |
| Keyless loopback | a 127.0.0.1, localhost or ::1 URL, no_auth: true | ollama |
| Provider switch | region (and project for Vertex); no URL, no key | bedrock, vertex |
Built-in presets (anthropic, openai, codex, openrouter,
openrouter-anthropic, opencode-go, zai, ollama, bedrock,
vertex) supply URL, wire protocol and compatible harnesses, so
aide gateway add openrouter-anthropic --from-env needs only a key.
Codex accepts only gateways that serve the OpenAI Responses API
(/v1/responses); Codex 0.167 and later refuse wire_api = "chat".
A provider switch (bedrock, vertex) serves claude only. Launching
with it sets CLAUDE_CODE_USE_BEDROCK=1 and AWS_REGION (Vertex:
CLAUDE_CODE_USE_VERTEX=1, CLOUD_ML_REGION,
ANTHROPIC_VERTEX_PROJECT_ID) and opens the aws (or gcp)
capability for that launch only, which grants the full capability
(~/.aws and AWS_* variables, or the gcloud equivalent). Two regions
are two named gateways.
aide gateway add takes any preset and any --api (anthropic-messages,
openai-chat, openai-responses). A provider switch takes --region
(and --project for vertex) and no key.
When a custom anthropic-messages gateway (the default) serves codex,
aide writes Codex’s provider entry with wire_api = "responses" and
<url>/v1 automatically while keeping <url> and anthropic-messages
for the other agents on the same gateway entry. Its
gateway_choice.codex stays none unless you pass --default or
--default-for codex. Pass --agents without codex to exclude
Codex. An openai-chat or openai-responses gateway keeps its exact
url.
Flag of gateway add | Default | Meaning |
|---|---|---|
<preset>|<name> | first DNS label of the URL’s host (prompted on a terminal) | Preset or gateway name |
--url | the preset’s (prompted on a terminal) | Base URL; https://, or http:// for loopback only |
--api | the preset’s | Wire protocol (anthropic-messages, openai-chat, openai-responses) |
--no-auth | off | Keyless loopback gateway |
--key-stdin, --from-env[=VAR] | hidden prompt | Where the key comes from |
--agents | the preset’s, else the defaults its --api can serve | Agents that may use it |
--model | none | Model the agents start on |
--default, --default-for <a> | off | Make it the choice for every agent it serves |
--refresh-ttl | 24h | Launch-time model refresh interval |
--secret-store | the profile’s secret: store, else the profile name | Store for the key |
--key | <name>_token | Key inside the store |
--age-key, --generate-age-key | the discovered identity | Recipient for a new store; create an identity without a terminal |
--force | off | Replace a same-name gateway with another URL, or overwrite a store key no gateway owns |
--token-stdin, --token-env, --ttl, --store and --harnesses
still work as deprecated aliases and print a notice. --no-credentials
is removed. Running add again with the same name and URL replaces the
key, which is how you rotate it.
What each agent gets
Agent config files name the variable, never the key.
| Agent | Variable injected | File written |
|---|---|---|
claude | ANTHROPIC_BASE_URL and the key as ANTHROPIC_AUTH_TOKEN (or ANTHROPIC_API_KEY); --settings <dir>/cache/aide-gateway-corp.json | <dir>/cache/aide-gateway-corp.json (modelPicker with replaceBuiltInOptions: true) |
pi | AIDE_GW_CORP_KEY | <dir>/models.json, providers.aide-corp |
omp | AIDE_GW_CORP_KEY | <dir>/models.yml, providers.aide-corp |
opencode | AIDE_GW_CORP_KEY | <dir>/opencode.jsonc, providers.aide-corp |
codex | AIDE_GW_CORP_KEY | <dir>/config.toml, [model_providers.aide-corp] (env_key, wire_api = "responses") |
<dir> is the profile’s config dir for that harness. aide edits only
aide-<name> entries; other providers, MCP servers and plugins stay.
It no longer writes OpenCode’s top-level model or Codex’s
model_provider: the choice reaches the launched process instead
(-c model_provider=aide-<name> for Codex; --provider/--model for
Pi and omp; OPENCODE_CONFIG_CONTENT for OpenCode, which yields to a
value you set yourself unless --gateway is passed). Comments in
opencode.jsonc and config.toml are not preserved on rewrite.
Upgrading from earlier gateways
On the first launch or config-writing command after upgrading, aide
migrates a legacy profile: base_url: gateways, LLM provider
credentials: (anthropic, openai, codex, openrouter, and custom
ones that set ANTHROPIC_BASE_URL or OPENAI_BASE_URL), keyless
bedrock/vertex bindings, env: provider switches, an env:
ANTHROPIC_BASE_URL with its key, and default_credentials: become
gateways: entries plus an explicit gateway_choice: (default_credentials:
keeps the plain credentials that stay), so the launch
uses the same endpoint and key as before. gemini, an env: key no
gateway preset serves (it moves under credentials:, still injected by
default) and credentials for other tools (GITHUB_TOKEN) stay under
credentials:. What a gateway
cannot express exactly (a route that sets another variable beside the
endpoint, a remote keyless Claude endpoint, an env: provider endpoint
with no key, an OPENAI_BASE_URL in env:, an ANTHROPIC_API_KEY sent to a custom
URL: a gateway you add with --url sends its key as a bearer token, so
such keys are not converted automatically) is not converted: the config
still loads, but launching that profile fails with a hint to edit it by
hand (aide gateway add for the gateway, then remove the old entry). It
backs up the YAML and preferences.json under
~/.local/state/aide/migrations/<UTC-timestamp>/ first and prints a
one-time summary, highlighting any choice inherited from the old
alphabetical rule. Read-only commands (aide prompt, aide statusline,
completion) never write; they translate in memory. On a read-only
config (a Nix dotfile) aide runs from the in-memory translation and
hints at aide config migrate, which previews the change and applies
it with --write. Downgrading means restoring the backups.
Things that change:
- Harness entries are renamed
<name>toaide-<name>. A model remembered in the harness’s own state that names<name>/<model>must be picked again in/model. - Startup pins aide wrote (OpenCode
model, Codexmodel_provider) become the harness’sgateway_choiceand are removed; pins you set yourself are kept. openrouterserved Codex only through the built-in default set and its preset speaks the OpenAI chat API, so it loses that mark and the migration summary notes it.- A named profile never writes harness files into the harness’s native
dir (
~/.claude,~/.codex): a profile whoseenv:pinned a dir variable to the native dir is moved to its ownconfig_dir_name, and a custom in-home path moves toconfig_dirs:. Gateway writers fail with a shared-native-dir error rather than touch the native files. gateway removeclears the profile and repository choices that named the gateway and says which.- A legacy gateway that reached Codex only through the omitted
harnesses:default while another gateway claimed Codex loses that mark; where Codex did use it,codexstays on the same gateway and aide routes Codex to<url>/v1withwire_api = "responses". Any already-split<name>-codexsibling sharing the same URL and secret binding is collapsed back into<name>. A custom credential that setOPENAI_BASE_URLfor bothcodexand another harness becomes a singleopenai-responsesgateway. aide statusreads key names from the store without decrypting, so it no longer needs your age key.aide gateway renameis not a command; useaide gateway edit <name> --name <new>.- A migrated credential keeps its name as the gateway name, so
aide gateway use <name> --agent <a>and--gateway <name>select it.
Refresh at launch
When the cached models are older than refresh_ttl, a launch fetches
them again before starting the agent and prints what it did. If the
gateway cannot be reached, the launch warns and uses the cached models;
with no cache at all it launches without a model list. When the cache
is fresh but the agent’s file is missing or out of date, aide writes
it from the cache with no network call. --gateway none launches skip
all of this.
Commands
aide gateway list [--all] [--models] [--format json]: each gateway with URL, secret store and key name (never the key), cache age, per-agent file status (synced,stale,pending) and the agents it is chosen for.aide gateway use [<name|none>] --agent <a> [--repo] [--unset]: set the agent’s choice in the profile, or in this repository’s preferences with--repo. Without a name on a terminal it shows the picker.noneis the agent’s own login.aide gateway edit [<name>] [--name <new>] [--url <url>] [--ttl <ttl>]: change a gateway in place (see--helpfor key rotation flags); a rename migrates its secret key, cache, choices, repository preferences and agent entries.aide gateway sync [<name>]: fetch now, whatever the TTL, and update every agent file that exists.aide gateway remove <name> [--keep-secret]: delete the gateway, its cache and its agent entries, and clear choices that named it (they become unset). The key is deleted too unless--keep-secretis passed or another gateway, credential or template uses it.aide project set --gateway <name|none> [--agent <a>]: save a repository’s choice; see the CLI reference.
Safety rules
urlmust usehttps://;http://is allowed only forlocalhost,127.0.0.1and::1, and a keyless gateway must be on one of them. It cannot carry credentials, a query string or a fragment.- Model discovery refuses redirects to another host or from
httpstohttp, reads at most 4 MiB, keeps at most 1000 models, and strips control characters from model names. - A gateway cannot share its name with a built-in provider in a harness
file, and
aide-<name>entries never override a harness’s own providers or saved logins. AIDE_GW_*variables are removed from the environment aide inherits, and so are the preset keys (OPENROUTER_API_KEY, …): a key you exported in your shell never reaches a harness except through a gateway you chose..aide.yamlcannot declaregateways:orgateway_choice:.
Control Environment Variables
Alongside AIDE_SANDBOX, AIDE_NETWORK_MODE, and AIDE_INFO_STYLE (used
elsewhere in this doc to detect or override aide’s runtime state), aide
also honors:
AIDE_PROFILEandAIDE_CONTEXT(set by aide; read only byaide statusline) - The name of the resolved profile, exported to the agent and its child processes. Both carry the same value;AIDE_CONTEXTremains for scripts written against earlier releases.AIDE_FORMAT- Sets the default output format (humanorjson) for read/query commands (aide which,aide cap list,aide status, etc.) when--formatisn’t passed explicitly. Precedence: explicit--formatflag >AIDE_FORMAT>human.
Profile Fields
- Each custom profile automatically defaults to
config_dir_name: <name>(~/.<agent>-<name>), while the built-indefaultprofile is always unisolated and uses the agent’s native config directory (~/.claude,~/.codex, etc.). Config-dir overrides (config_dir_name:,config_dir:,config_dirs:, orCLAUDE_CONFIG_DIRinenv:) ondefaultare ignored with a startup notice.
Each file in ~/.config/aide/profiles/<name>.yaml defines one profile (the filename stem is the profile name):
match:: list of path or remote rules that activate the profile. Each rule sets one ofpath:(glob against CWD) orremote:(glob against the normalized git remote URL).remote_name:picks the remote a rule matches against and defaults toorigin.agent:: agent name; must exist inagents:.secret:: secret file name resolved under~/.config/aide/secrets/.env:: environment variables passed to the agent; supports Go template syntax for secret injection.credentials:: plain environment-variable secret bindings, each injected into the harnesses it serves. See Credential bindings.gateways:(map, optional): LLM gateways and the harnesses they serve. Manage them withaide gateway; see Gateways.gateway_choice:(map, optional): per harness, the gateway a launch uses, ornonefor the harness’s own login. Set withaide gateway use; see Choosing a gateway.icon:(string, optional): Unicode symbol displayed alongside the profile name in the banner andaide promptoutput.config_dir_name:(string, optional): names the profile’s native agent config dirs (validated against[a-zA-Z0-9_-]{1,64}, or empty to clear back to profile default). Driver derives the agent’s config-dir env var (e.g.CLAUDE_CONFIG_DIR=~/.claude-<name>) and injects it at launch + sync + adopt + list. Avoids hand-rolling per-agent env vars. See Provisioning § Profile interaction and Profiles.config_dir:(string, optional): override the derived~/.<agent>-<name>path with an explicit absolute or HOME-rooted path for every agent.config_dirs:(map, optional): per-agent config dir, e.g.{claude: ~/.claude-work}; needsconfig_dir_name:as well.plugins:/mcp_servers:(per-profile overrides, optional): mapping withextra:/exclude:/only:deltas applied on top of the global set inprovisioning.yaml. See Provisioning.hooks:(per-profile override, optional): delta applied on top of the globalhooks:map inprovisioning.yaml.
# ~/.config/aide/profiles/work.yaml
hooks:
exclude: [session_start] # drop a top-level event entirely
extra:
pre_tool:
- command: "notify work-hook {agent}"
capabilities:(list) - Capability names to activate for this profile (e.g.[docker, k8s]). See Capabilities for details.yolo:(bool, optional): skip agent permission checks for this profile. The agent-specific flag is injected automatically (e.g.--dangerously-skip-permissionsfor Claude). The OS sandbox remains active.sandbox:: acceptsfalse(disable), a string profile name (e.g.strict), or an inline policy mapping:
sandbox:
writable:
- "{{ .project_root }}"
network: outbound
allow_subprocess: true
Preferences
The top-level preferences: block controls the startup display and mid-session keybindings.
show_info:(bool, defaulttrue). Show the startup banner before launching the agent.info_style:(compact|boxed|clean, defaultcompact). Banner style.info_detail:(normal|detailed, defaultnormal). Banner verbosity.yolo:(bool, optional). Global default for yolo mode. Profile-level and project-levelyolo:override this.prompt_gateway:(bool, defaultfalse). Include the active harness’s gateway choice (⇄<gw>,⇄login, or⇄?when unset; omitted on harnesses without gateway support) inaide prompt. Computed passively from config and repository preferences without decrypting secret stores or writing to disk.prefix:(string, default"ctrl+b"). Leader prefix key for mid-session actions during interactivesessionhostlaunches. Acceptsctrl+<key>(matching^[Cc][Tt][Rr][Ll]\+([A-Za-z\[\\\]\^_])$) or"none"/""to disable prefix mode. Pressing the prefix twice in a row passes a single literal prefix key through to the child agent (for example,Ctrl+B Ctrl+BforwardsCtrl+B).bindings:(map). Maps mid-session actions to either a single printable ASCII key (combined withprefix) or a directctrl+<key>chord. Defaults:menu:"m"— open the mid-session control menucapabilities:"c"— open the capabilities screensandbox:"s"— open the sandbox &EPERMrepair screengateway:"g"— open the gateway / harness / approval mode switcherdiagnostics:"d"— open session diagnosticsreload:"r"— trigger a silent hot-reload from diskconfig:"u"— open the fullaide configoverlay
tui_key:(string, default"ctrl+]"). Direct single-key hotkey that opens the mid-session centered modal during interactivesessionhostlaunches. Must match^[Cc][Tt][Rr][Ll]\+([A-Za-z\[\\\]\^_])$with no surrounding whitespace (for example"ctrl+]","ctrl+k","ctrl+a".."ctrl+z","ctrl+[","ctrl+\\","ctrl+^","ctrl+_"), validated at config load/save.reload_key:(string, default"ctrl+\\"). Direct hotkey or 2-key chord that triggers a silent hot-reload of the active session (applying any staged changes or reloading config without opening the modal or printing the restarting banner). Must match^[Cc][Tt][Rr][Ll]\+([A-Za-z\[\\\]\^_])(>([Cc][Tt][Rr][Ll]\+)?([A-Za-z\[\\\]\^_]))?$with no surrounding whitespace — either a single control key ("ctrl+\\","ctrl+r") or a 2-key combination ("ctrl+]>r","ctrl+a>ctrl+r"). Note that settingtui_keyto"ctrl+\\"without settingreload_keydisables the defaultreload_keyinstead of conflicting, whereas setting both in the samepreferencesblock to the same single key is rejected by validation.
Override any of these per-project in .aide.yaml under a preferences: key (including preferences.prefix, preferences.bindings, preferences.tui_key, and preferences.reload_key).
Multiplexer Integrations (mux:)
The top-level mux: block configures native integrations per multiplexer (rex, herdr, tmux, wezterm, zellij, kitty):
mux:
rex:
enabled: true
resume: true
actions: true
prefix: "ctrl+a>a"
keys:
capabilities: "c"
sandbox: "s"
gateway: "g"
diagnostics: "d"
reload: "r"
enabled:(bool, optional). Whenfalse,aide mux <name> installskips installation unless--forceis passed.resume:(bool, optional, defaulttrue). RegistersOSC 7577auto-resume trust rules for the multiplexer.actions:(bool, optional, defaulttrue). Registers Command Palette / menu actions for the multiplexer.prefix:(string, optional). Multiplexer prefix or 2-level sub-table sequence (for example"ctrl+a>a", or"none"/""for no prefix). Joined with each non-emptykeys.*entry as<prefix>><key>unless that key already contains>or analt+/cmd+/super+modifier. Whenprefixis empty or"none",keys.*entries must already be chords or use a modifier (ctrl+,alt+, etc.).keys:(map, optional). Bindsmenu,capabilities,sandbox,gateway,diagnostics,reload, and/orconfigin the generated multiplexer config. Zero keybindings are bound by default soaidenever collides with existing multiplexer shortcuts; Command Palette actions andOSC 7577resume trust still work out of the box. For Rex, configured bindings are checked pre-flight against Rex’s built-inctrl+abindings and~/.config/rex/init.luarex.bind(...)calls (pass--forceto override).
Per-Project Override
.aide.yaml supports: agent, env, sandbox, preferences, yolo, capabilities, disabled_capabilities, statusline, mcp_servers, capability_variants. aide merges it on top of the matched global profile. It cannot set secret:; set the secret store in the profile.
env:merges additively; project values win on key conflicts.- All other fields replace the matched profile value entirely.
- In a linked git worktree, the main checkout’s
.aide.yamlapplies first; see Linked git worktrees.
Relative sandbox paths (writable, readable, denied and their
_extra forms) are interpreted against the root of the checkout that
contains the declaring .aide.yaml, not the directory you launch from
(and not the file’s own directory when the file sits in a
subdirectory of the checkout). The checkout is found from the file’s
real location (symlinks in its directory resolved), the same location
trust is keyed on, so a repository that symlinks to another one’s
directory cannot re-anchor its paths. Outside git, paths anchor at the
file’s real directory; if git cannot be run there, a file with
relative paths is not applied and aide prints a warning.
Paths starting with /, ~, $ or {{ are left as written.
Trust gate
.aide.yaml files are not applied until trusted. On first encounter, aide shows the file’s contents and skips it. Run aide trust to approve the file, or aide deny to block it permanently. See Sandbox for details.
Trust is recorded per file, keyed on where the file is found (parent
directories symlink-resolved) and its contents: editing a file
withdraws its approval. A .aide.yaml that is a symlink is approved
at its own location, never through the file it points to; the trust
banner shows both. aide trust,
aide deny and aide untrust take an optional path for a file outside
the current directory.
Linked git worktrees
A linked worktree (git worktree add) inherits the main checkout’s
.aide.yaml, then applies its own on top. aide finds the main checkout
through git (git rev-parse --git-common-dir and git worktree list),
not by looking in parent directories, so the worktree can live anywhere.
| Launch from | Files applied |
|---|---|
| Main checkout (or a plain clone) | its own .aide.yaml, once |
| Linked worktree | main checkout’s .aide.yaml, then the worktree’s |
| Worktree of a bare repository | the worktree’s own only; a bare repository has no main checkout file |
| Submodule | the submodule’s own only; it never inherits the superproject’s |
When both files apply, the worktree’s file wins:
- Scalars (
agent,secret,yolo,profile, sandboxnetwork,writable,readable,denied,guards, …): the worktree’s value replaces the inherited one. capabilities: a stable union, without duplicates. The worktree’sdisabled_capabilitiesmay remove inherited capabilities, and a worktree capability re-enables one the main checkout disabled.env: merged key by key, the worktree’s key wins. Provider credentials, selectors and endpoints stay forbidden in both files.- Sandbox
_extralists,unguard: combined. capability_variants: merged per capability, the worktree wins.
Each file is trusted separately. An untrusted or denied file contributes
nothing; the other file still applies if it is trusted. Changing the main
checkout’s file withdraws its approval in every worktree. To approve the
inherited file from a worktree, run aide trust <main checkout>/.aide.yaml
(the banner prints the exact command).
The launch banner, aide which and aide status list each untrusted or
denied file separately, and list the security-sensitive grants that come
from the main checkout’s file (capabilities, writable and readable paths,
replaced guard or deny lists, extra allow rules, network mode,
removed guards, allow_subprocess, clean_env: false, MCP servers, a
disabled sandbox, auto-approve) labeled
with that file. In --format json these are trust_files and
inherited_grants (aide status: project_trust, inherited_grants).
aide inherits only when the repository itself records the checkout as
one of its worktrees (the worktree’s administrative directory lies in
the repository’s worktrees/, points back at this checkout, and git worktree list names it). A directory whose .git file merely claims
to belong to another repository inherits nothing, with a warning.
A missing main checkout .aide.yaml is normal. If the main checkout
itself is gone or unreadable (deleted or moved), aide stops with a
diagnostic naming the missing path rather than launching with partial
policy: restore it, run git worktree repair from the moved checkout or
git worktree prune after deleting it, or launch with
--ignore-project-config.
aide cap enable|disable and aide env set|remove in a linked worktree
edit the worktree’s own .aide.yaml (created if absent); pass --main
to edit the main checkout’s file instead. Edits keep the file as
written: inherited settings are never copied into it.
Validation
aide validate checks:
- Agent names in profiles exist in
agents:. - Secret files exist on disk.
- Sandbox profile names are defined in
sandboxes:. - Template syntax in
env:values is valid. env:values referencing.secrets.*have asecret:configured on that profile.
Warnings print separately from hard errors. The command exits non-zero on any error.
Hooks
Hooks inject commands into agent lifecycle events. aide writes them to the
agent’s config file during aide sync; the agent runs them, not aide.
Supported events
| Event | Claude | Gemini | Cursor | Copilot | Hermes | OpenCode | OMP | Pi |
|---|---|---|---|---|---|---|---|---|
pre_tool | PreToolUse | BeforeTool (script) | preToolUse | PreToolUse (file) | pre_tool_call (plugin) | tool.execute.before | tool_call | tool_call |
post_tool | PostToolUse | - | - | - | - | tool.execute.after | tool_result | tool_result |
session_start | SessionStart | - | - | - | - | session.created (event) | session_start | session_start |
session_end | SessionEnd | - | - | - | - | dispose | session_shutdown | session_shutdown |
notification | Notification | - | - | - | - | - | - | - |
stop | Stop | - | - | - | - | - | - | - |
Events not supported by an agent are silently skipped during sync.
OpenCode’s session_start hook skips subagent sessions, and its
session_end hook runs when OpenCode exits normally, not when it is
killed. OMP’s and Pi’s session hooks skip extension reloads. As with Claude, all three
also fire when you switch to a new or resumed session.
Supported matchers
| Matcher | Claude | Cursor | OpenCode | OMP | Pi |
|---|---|---|---|---|---|
shell | Bash | Shell | bash | bash | bash |
Matchers not supported by an agent are ignored. Claude, OpenCode, OMP and Pi pass any other matcher through as a native tool name. OpenCode, OMP and Pi have no matcher field, so their generated hook scripts check the tool name themselves and return early for other tools.
Storage formats per agent
- Claude - merged into
~/.claude/settings.json(or$CLAUDE_CONFIG_DIR/settings.json) under thehookskey. Ownership is tracked inmanaged.json; user-added entries are never touched. - Gemini - individual
aide_<hash>.shscripts written to~/.gemini/hooks/. Onlypre_toolis supported. - Cursor - merged into
~/.cursor/hooks.json. Ownership is tracked inmanaged.json; user-added entries are never touched. - Copilot - individual
aide-<hash>.jsonfiles written to~/.config/copilot/hooks/. Onlypre_toolis supported. - Hermes - Python plugin directories written to
~/.hermes/plugins/aide_<hash>/(an__init__.py+plugin.yamlper hook). Onlypre_toolis supported. - OpenCode - individual
aide-<hash>.jsplugin files written to~/.config/opencode/plugin/. - OMP - individual
aide-<hash>.tsextension files written to~/.omp/agent/extensions/(or under$PI_CODING_AGENT_DIR). - Pi - individual
aide-<hash>.tsextension files written to~/.pi/agent/extensions/(or under$PI_CODING_AGENT_DIR). - Codex - no hook support.
The {agent} template variable
The command field supports {agent}, replaced with the profile’s resolved
agent name at sync time:
hooks:
pre_tool:
- command: "rtk hook {agent}"
This lets a single top-level hook declaration work across all your profiles without per-profile duplication.
Management
aide hook list # show declared hooks
aide hook add --event pre_tool --command "rtk hook {agent}" # add a hook
aide hook remove --event pre_tool --command "rtk hook {agent}" # remove a hook
aide sync # write to agent config
Viewing and Editing
aide config show # print all global config files (with YAML syntax highlighting on TTY)
aide config edit # open $EDITOR on config.yaml, validate after save
aide config migrate [--write] # split a single-file config.yaml into modular files
aide config schema show <kind> # print an embedded JSON Schema to stdout
aide config schema export [--dir] # export all JSON Schemas locally
aide config schema stamp [flags] # add yaml-language-server $schema headers to existing files
Editor Schema & Autocomplete
aide ships Draft 2020-12 JSON Schemas for all five YAML configuration file shapes. Adding a yaml-language-server modeline at the top of a file prevents SchemaStore false positives (such as profiles/*.yaml matching unrelated schemas) and enables autocomplete, hover docs, and validation in Neovim, VS Code, Helix, Zed, and other YAML LSP editors:
# yaml-language-server: $schema=https://raw.githubusercontent.com/jskswamy/aide/main/schemas/profile.schema.json
agent: claude
capabilities:
- k8s
| File | Schema Kind | Hosted URL (main) |
|---|---|---|
~/.config/aide/config.yaml | config | https://raw.githubusercontent.com/jskswamy/aide/main/schemas/config.schema.json |
~/.config/aide/profiles/<name>.yaml | profile | https://raw.githubusercontent.com/jskswamy/aide/main/schemas/profile.schema.json |
~/.config/aide/sandbox.yaml | sandbox | https://raw.githubusercontent.com/jskswamy/aide/main/schemas/sandbox.schema.json |
~/.config/aide/provisioning.yaml | provisioning | https://raw.githubusercontent.com/jskswamy/aide/main/schemas/provisioning.schema.json |
.aide.yaml | project | https://raw.githubusercontent.com/jskswamy/aide/main/schemas/project.schema.json |
Version-pinned release assets are also published on each GitHub Release at https://github.com/jskswamy/aide/releases/download/<tag>/<kind>.schema.json (and releases/latest/download/<kind>.schema.json).
Automatic headers & preservation: Whenever aide writes a new or modified config file (or migrates a config), it prepends the default # yaml-language-server: $schema=... header if none is present. Existing custom # yaml-language-server: headers are always preserved.
Dotfiles / Nix & offline use:
- For configs stored in dotfiles, Nix/Home Manager repos, or shared
.aide.yamlfiles, the hosted URL is portable across machines and teammates. - For offline editing, run
aide config schema export(writes to~/.config/aide/schemas/) oraide config schema stamp --localto export and stamp percent-encodedfile://URIs onto existing config files.