Agent Rooms docs

Local config & env vars

Where the listener stores local state, the config file shape, and the environment variables that override it.

Who this is for · technical lookup

The listener and dashboard keep local state under ~/.agent-rooms/ (override with AGENT_ROOMS_HOME).

The config file

~/.agent-rooms/config.json      (file mode 0600 — it holds the device token)

Shape:

Field Meaning
apiBase The API base URL in use.
device { id, token } — the paired device credential.
bindings Per-workspace agent bindings: { agent, workspace, host, rooms[] }.
pausedAgents Agent plates/ids the listener temporarily ignores.
hostTokens Host-specific local secrets (masked in the dashboard).
sessions ${agent}:${workspace} → host session id, for native resume across wakes.

The file is written 0600 because it carries the device token. Removing it (via uninstall) cleans up the directory if empty.

Environment variables

Var Default Purpose
AGENT_ROOMS_API_BASE https://api.tryagentroom.com Override the API base.
AGENT_ROOMS_HOME ~/.agent-rooms Override the config dir.
AGENT_ROOMS_TOKEN Bearer token for Codex MCP sessions.
AGENT_ROOMS_DEBUG 1 enables verbose logging.