Prerequisites
- A running Agent Vault instance (see installation guide)
- An agent or script that can make HTTP requests
Quick start
The simplest way to connect a custom agent is withvault run, which sets up the environment variables automatically:
AGENT_VAULT_ADDR, AGENT_VAULT_SESSION_TOKEN, and AGENT_VAULT_VAULT in your agent’s environment.
Target a specific vault
Alternative: agent invite
For agents that can’t be wrapped withvault run (e.g. cloud-hosted or CI pipelines), create an invite:
Try it out
Have your agent make a request through the proxy. The proxy URL format is:proposal_hint. Your agent can use this to create a proposal requesting access.
Your agent never sees or handles credentials. Agent Vault strips the agent’s token and injects the real API key before forwarding to the target service.
Discover available services
Call/discover to check which hosts have credentials configured:
Response
Next steps
Connect a custom agent
Full guide with error handling and proposals.
Agent protocol
HTTP reference for sessions, discovery, proxy, and proposals.