Skip to content

Environment Variables

Client-side (CLI, OpenClaw, Wechaty)

VariableDefaultDescription
AGENT_WECHAT_URLhttp://localhost:6174Server URL
AGENT_WECHAT_TOKENAuth token (overrides the token file at ~/.config/agent-wechat/token)

Server-side (inside the container)

VariableDefaultDescription
AGENT_DB_PATH/data/agent.dbPath to the agent SQLite database
PROXYTransparent proxy address (format: user:pass@host:port or socks5://...)
DISPLAY:99X11 display (set automatically by the container entrypoint)
DBUS_SESSION_BUS_ADDRESSD-Bus session bus address (set automatically)

File paths (inside the container)

PathDescription
/data/auth-tokenAuth token file (read-only mount)
/data/agent.dbAgent SQLite database
/home/wechat/WeChat user home directory
/opt/agent-server/agent-serverAgent server binary
/opt/tools/Tool scripts (screenshot, click, input, etc.)
/opt/novnc/noVNC web viewer