http://localhost:63372 when the gateway is started. Everything in the dashboard is also available via the CLI and the Captain HTTP API.
First-time setup
When the gateway starts with no config file, it enters setup mode:- A one-time setup code is printed to the terminal
- Open
http://localhost:63372/setupin your browser - Enter the setup code to verify local access
- Set a password for future logins
- Configure your LLM provider and first agent connector
- The gateway writes the config file and starts normally
Headless / automated setup
For unattended deployments (cloud-init, Docker, CI), setMEEPAGATEWAY_PASSWORD before the first run. The gateway will hash the password, write it to config, and start normally without displaying a setup code:
password_hash exists in config. Once a hash is written, it is ignored on subsequent starts.
Authentication
Captain supports three authentication methods.Password
Set during setup. Stored as an Argon2 hash in the config file undercaptain.password_hash. Change it via the dashboard Settings page or:
API keys
For programmatic access. Each key has a name and acptn_ prefix displayed in the dashboard.
Configuration
When exposing Captain beyond localhost, always use a strong password and TLS termination.
API reference
All dashboard operations are available via the Captain API athttp://localhost:63372/api/captain/.
Status
No authentication required.Auth endpoints
Config endpoints
Agent endpoints
Example: create an agent
Example: update agent soul
Example: add a connector
Security recommendations
- Keep
bind: 127.0.0.1unless you need remote access. Use a reverse proxy with TLS for public exposure. - Create dedicated API keys for CI/CD pipelines. Revoke them when no longer needed.
- Use a strong, unique password. The gateway uses Argon2 hashing.
