Skip to main content

Documentation Index

Fetch the complete documentation index at: https://agent-vault-roles-unified-instance-tier.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Prerequisites

Quick start

Wrap your agent process with vault run. It sets AGENT_VAULT_ADDR, AGENT_VAULT_SESSION_TOKEN, and AGENT_VAULT_VAULT, then pre-configures HTTPS_PROXY/HTTP_PROXY and the CA trust chain so standard HTTP clients route both HTTP and HTTPS traffic through the broker transparently:
agent-vault vault run -- my-agent

Target a specific vault

agent-vault vault run --vault myproject -- my-agent

Try it out

Your agent calls real API URLs directly (over https:// or http://). HTTPS_PROXY/HTTP_PROXY routes the request through Agent Vault, which matches the host against the vault’s services and injects the stored credential into the auth header for that service.
curl "https://api.stripe.com/v1/charges?limit=10"
If the service isn’t configured yet, Agent Vault returns a 403 with a proposal_hint. Your agent can use this to create a proposal requesting access.
Your agent never sees or handles credentials. Agent Vault strips whatever the client sends and injects the real API key at the proxy boundary.

Other connection flows

  • Agent invites — for cloud-hosted agents or CI pipelines that can’t be wrapped with vault run. See Connect a custom agent.
  • Manual proxy setup — for containerized agents and sandboxes that need to configure the proxy themselves. See Set the proxy env vars manually.

Discover available services

Call /discover to check which hosts have credentials configured:
curl ${AGENT_VAULT_ADDR}/discover \
  -H "Authorization: Bearer ${AGENT_VAULT_SESSION_TOKEN}"
Response
{
  "vault": "default",
  "services": [
    { "host": "api.stripe.com", "description": "Stripe API" }
  ],
  "available_credentials": ["STRIPE_KEY"]
}
Requests to hosts not in services go direct, not through the proxy.

Next steps

Connect a custom agent

Full guide with manual proxy setup, error handling, and proposals.

Agent protocol

HTTP reference for sessions, discovery, and proposals.