This guide covers connecting coding agents like Claude Code, Cursor, or any agent that accepts prompts in a chat interface. These agents handle the Agent Vault protocol automatically — you just paste a prompt and they take care of the rest.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.
For agents that don’t have a chat interface or need raw environment variables, see Connect a custom agent.
Prerequisites
- A running Agent Vault server (installation)
- A user account with vault access (member or admin)
Option 1: Wrap with agent-vault vault run
The simplest approach for local development. Wraps your agent process with the environment variables it needs — no invite, no token management. vault run also pre-configures HTTPS_PROXY and the CA trust chain on the child, so the agent calls upstream URLs directly and Agent Vault transparently injects credentials.
--vault to target a specific vault:
vault run is a convenience wrapper, not a sandbox. A child process can unset HTTPS_PROXY or bypass the injected CA and reach the network directly — local credentials and network access are still fully available to the agent. Stronger isolation for local development is on the roadmap.Option 2: Paste an invite prompt
For agents you can’t wrap withvault run (e.g. cloud-hosted agents, or when you want to paste into an existing session).
- Web UI
- CLI
What happens next
Once connected, the agent follows the Agent Vault protocol automatically:- Calls upstream APIs normally —
HTTPS_PROXYand CA trust are pre-wired so Agent Vault transparently intercepts the call - If a service isn’t configured yet, the agent creates a proposal and shares an approval link
- You click the link, provide any required credentials, and approve
- The agent retries and the request succeeds
For long-lived agents
Invited agents are instance-level entities with named identities that persist across sessions. You can manage vault access, rotate agent tokens, and revoke agents at any time. See Agents overview for the full lifecycle.Next steps
Agents overview
How agents work, vault access, and management commands.
Proposals
How agents request access to new services.