Quick Start
Docker Compose
Building from Source
The Dockerfile uses
node:22-bookworm, installs Bun for build scripts, and runs the gateway as a non-root user for security.LAN Access
By default the container binds to loopback. To expose the gateway on LAN (for mobile apps or external health checks):Set an authentication token
Set
ARGENT_GATEWAY_TOKEN or ARGENT_GATEWAY_PASSWORD environment variable.Environment Variables
| Variable | Required | Description |
|---|---|---|
ANTHROPIC_API_KEY | Yes | Anthropic API key for the agent |
ARGENT_GATEWAY_TOKEN | No | Token for gateway authentication (required for LAN) |
ARGENT_GATEWAY_PASSWORD | No | Password alternative to token |
ARGENT_DOCKER_APT_PACKAGES | No | Extra apt packages to install at build time |
