Documentation Index
Fetch the complete documentation index at: https://docs.agent-vault.dev/llms.txt
Use this file to discover all available pages before exploring further.
Deploy
Install the Fly CLI and authenticate
Install
flyctl using the official instructions, then log in:Clone the repo and create the app
fly.toml configuration. The --no-deploy flag prevents deploying before secrets are set.Set secrets
| Variable | Required | Description |
|---|---|---|
AGENT_VAULT_MASTER_PASSWORD | No | Derives a KEK that wraps the data encryption key. Omit for passwordless mode. |
AGENT_VAULT_ADDR | Recommended | Externally-reachable base URL. Used for generating links in emails, invites, and discovery responses. |
Deploy
Register the owner
Key details
- Config:
fly.tomlexposes port 14321 via Fly’s HTTP service (force HTTPS, auto-stop/auto-start) and port 14322 via TCP passthrough for the transparent MITM proxy — the MITM listener’s own TLS cert handles the handshake, so Fly doesn’t terminate TLS on that port - Agent
HTTPS_PROXY:https://<token>:<vault>@your-app.fly.dev:14322— the root CA must be trusted by the agent’s HTTP client (fetch withagent-vault ca fetch --address https://your-app.fly.dev) - Entrypoint:
scripts/docker-entrypoint.shforwards arguments to theagent-vaultbinary, which natively readsAGENT_VAULT_MASTER_PASSWORDfrom the environment - Storage: Persistent volume
agent_vault_datamounted at/data— all state is in a single SQLite file - Cold starts:
min_machines_runningdefaults to0, so the app scales to zero when idle. The first request after sleep incurs a few seconds of cold-start latency. Set it to1infly.tomlif you need always-on availability.