Otto settings
Labs
This feature is in Labs.This page is the reference for every place Otto reads configuration from. For deep dives on specific subsystems, see Permissions, Extensions, Memory, and Skills.
File layout
Otto reads from your project repository and your home directory:
Settings precedence
When the same setting is defined in multiple places, Otto resolves it in this order, with earlier entries overriding later ones:
- CLI flag passed to
astro otto(for example,--model,--allowed-tools,--no-extension) - Environment variable (for example,
OTTO_DISABLED_EXTENSIONS) - Project file (
.astro/otto/permissions.json,.astro/otto/extensions.json,.astro/config.yaml) - User file (
~/.astro/otto/settings.json,~/.astro/config.yaml) - Built-in default
Environment variables
The astro otto command sets several environment variables automatically based on your astro login context and the current project. You don’t need to configure these manually.
The CLI also keeps your Astro access token refreshed in the background for the duration of the session, so long-lived sessions don’t hit authentication errors.
You can set the following variables yourself to control Otto behavior:
Auto-update
The first time you run astro otto, the Astro CLI downloads the Otto binary to ~/.astro/bin/otto. After that, the CLI checks for new Otto releases once per day in the background and prints a hint to stderr when an update is available. Updates are applied manually with astro otto update.
Otto versions independently of the Astro CLI. You don’t need to upgrade the Astro CLI to pick up new Otto features or fixes. Check your installed version with astro otto version.
To opt out of the daily update check, set astro config set -g otto.auto_update false.
See also
- Permissions — Allow, ask, and deny rules for tool calls.
- Extensions — Toggle bundled extensions.
- Memory — Memory tiers and file format.
- Skills — Skill catalog and local skill authoring.
astro ottoCLI reference — Flags and subcommands.- Configure the Astro CLI — Full Astro CLI config reference.