Daemon file
Reference for the Amaru Light daemon file, amaru.yaml, covering machine-wide settings, the agent CLIs, the web interface and the prompt guard keys.
The daemon file, usually amaru.yaml, holds the machine-wide settings and the list of project
files. amaru reads it from --config (-c), or amaru.yaml in the current directory.
Both kinds of settings file are checked strictly: an unknown or misspelled key is an error at
startup. Relative paths (state_dir, projects, an agent's instructions) resolve against the
directory of the daemon file. Durations are written as 30s, 45m, 2h or 7d. Run
amaru -c amaru.yaml doctor after every change.
state_dir: data
poll_interval: 60s
max_parallel: 2
gh: gh
bot_login: my-bot
web:
listen: 127.0.0.1:8765
agents:
codex:
driver: codex
command: codex
args: [--dangerously-bypass-approvals-and-sandbox]
projects:
- project.yamlTop-level keys
| Key | Default | Meaning |
|---|---|---|
state_dir | data | The database, the repository clones and the ticket worktrees. |
poll_interval | 60s | How often the daemon looks for new issues, ticket changes and pull request activity. |
max_parallel | 2 | Tickets that hold a worker slot at once: 1 or 2. |
gh | gh | The GitHub CLI executable. It reads the bot's token from GH_TOKEN. |
bot_login | none | The bot's GitHub login. Its own comments and reviews are never treated as feedback. |
web.enabled | true | Serve the web interface. |
web.listen | 127.0.0.1:8765 | Address and port of the web interface. |
agents | required | The agent CLIs, by a name of your choice. |
projects | required | The project files. |
guard | on | The prompt guard; its keys are in Prompt guard. |
Agents
| Key | Default | Meaning |
|---|---|---|
driver | required | claude (Claude Code), codex (Codex CLI) or bob (IBM Bob Shell): which output format to read. |
command | required | The executable, on PATH or as an absolute path. |
args | [] | Extra arguments added to every call, for example the permission mode. |
model | none | Passed as --model. For Bob, the model tier fast, premium or ultra. |
env | {} | Extra environment variables for the agent process. |
login, login_with_key, login_status | by driver | How the web page signs the CLI in and checks it. [] turns each off. |
setup | [] | Argument lists for command, run at each start, for example to install plugins. Must be safe to repeat. |
instructions | none | A file copied at each start to the CLI's user-wide instructions file. |
install | by driver | The command line the web page's Install button runs. |
The daemon adds the arguments it needs itself, so do not repeat them in args. The agent runs
unattended and must not stop to ask for permission:
agents:
claude:
driver: claude
command: claude
model: sonnet
args: [--permission-mode, bypassPermissions]
bob:
driver: bob
command: bob
model: premium
args: [--accept-license]Based on docs/configuration.md and examples/daemon.yaml.
Next steps
- Project file: the per-repository settings.
- Environment variables: tokens kept out of this file.