Skip to Content
Amaru
Amaru LightReference

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.

amaru.yaml
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.yaml

Top-level keys

KeyDefaultMeaning
state_dirdataThe database, the repository clones and the ticket worktrees.
poll_interval60sHow often the daemon looks for new issues, ticket changes and pull request activity.
max_parallel2Tickets that hold a worker slot at once: 1 or 2.
ghghThe GitHub CLI executable. It reads the bot's token from GH_TOKEN.
bot_loginnoneThe bot's GitHub login. Its own comments and reviews are never treated as feedback.
web.enabledtrueServe the web interface.
web.listen127.0.0.1:8765Address and port of the web interface.
agentsrequiredThe agent CLIs, by a name of your choice.
projectsrequiredThe project files.
guardonThe prompt guard; its keys are in Prompt guard.

Agents

KeyDefaultMeaning
driverrequiredclaude (Claude Code), codex (Codex CLI) or bob (IBM Bob Shell): which output format to read.
commandrequiredThe executable, on PATH or as an absolute path.
args[]Extra arguments added to every call, for example the permission mode.
modelnonePassed as --model. For Bob, the model tier fast, premium or ultra.
env{}Extra environment variables for the agent process.
login, login_with_key, login_statusby driverHow 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.
instructionsnoneA file copied at each start to the CLI's user-wide instructions file.
installby driverThe 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

On this page