Vault is a secure logical container for credentials with services that define how agents can proxy requests through it.
Each vault contains:
- Credentials: API keys, database credentials, and other sensitive material that cannot be extracted from the vault.
- Services: Definitions of which upstreams (scoped by a single
hostpattern that may carry an inline path glob, e.g.api.stripe.comorslack.com/api/apps.connections.*) can be accessed through the vault along with which and how credential(s) must be attached onto each proxy request. - Members: Users and agents that can access the vault under specific roles (
admin,member,proxy). - Proposals: Requests from agents to set credential(s) and/or add service(s) that use those credentials.
Create a vault
Bind a project to a vault
Runvault init inside your project directory to create an agent-vault.json file that binds the project to a specific vault:
--vault flags or per-user context.
Vault resolution priority: --vault flag > AGENT_VAULT_VAULT env var > agent-vault.json > user context > "default".
Add an agent to a vault
For any agent that lives outsidevault run (cloud-hosted, CI pipelines, always-on assistants), create a named agent and supply its token via AGENT_VAULT_TOKEN.
1
Create the agent
--vault flag pre-assigns
vault access (format: name:role).2
Supply the token to the agent's runtime
Set
AGENT_VAULT_TOKEN and AGENT_VAULT_ADDR wherever the agent runs (env vars,
secrets store, container config).Invite users to a vault
1
Send the invite
2
Invitee accepts
The invitee clicks the link and lands on a browser acceptance page.
- New users set their password on acceptance and their account is created automatically.
- Existing users get the vault grant applied immediately.
3
Verify membership
Manage members and agents
Delete a vault
Vault admins can delete the vaults they manage. Instance owners can also delete any vault.--yes to skip the confirmation prompt.

