Preview

Secure infrastructure for deploying agents

Agent Vault provides a central control plane for agent authentication, authorization, and observability, so you can build and deploy agents with confidence.

Trusted by the best teams in the world

The problem

Agents are unpredictable. Their access shouldn't be.

Agents reach across systems with broad access and credentials they can leak. Requests aren't traceable to an agent or a person, so you can't audit unexpected behavior.

One control plane to configure and monitor agent access across your infrastructure.

Broker credentials and enforce access controls with a proxy that runs alongside any sandbox or container. Every request is recorded in the session's logs.

Agent
GET api.stripe.comAuthorization: Bearer••••••••••••
api.stripe.com
200 OKAuthorization: Bearersk_live_9f3a…b0
Authentication

Reach any service without a credential

Agents reach APIs, MCP servers, databases, and more with their usual tools. The proxy handles authentication transparently, so the agent never sees a credential.

bundle: on-call3 of 4 services
GitHubGET POST /repos/acme
Linear MCP4 of 12 tools
DatadogGET /api/v1
Stripe--
Granted toorchestratoralexsre-team
Authorization

Control access at every level

Scope each agent to the services and tools its task needs, and let it act on behalf of a user with that user's own access.

const session = await infisical
  .agentVault().sessions.create({
    projectId, accessBundle: "on-call", ttl: "30m",
  });
Access bundle
Identity
Expires
Status
on-call
orchestrator
30m
Active
code-review
ci-runner
6d 04h
Active
on-call
orchestrator
--
Revoked
code-review
ci-runner
--
Expired
Identity

Time-bound sessions for every agent

A machine identity issues each agent a time-bound session token that you can revoke anytime.

Observability

Inspect every agent action

Track every API call, MCP tool call, and SQL query an agent makes. See which agent made it, whether it was allowed, and who the agent acted for.

How it works

Define access bundles once and start them with any agent.

Define which services an agent can reach, run a proxy beside the agent, then give an agent access through a time-bound session token.

Everything you need to run agents in production.

  • ProxiesA proxy that handles authentication for the agent, whether it uses a CLI, an SDK, raw API calls, MCP, or a database or SSH client. Run it as a sandbox sidecar, a Kubernetes service, or on its own host.
  • API, CLI, and SDKsCreate access bundles, proxies, and session tokens with the Python and Node.js SDKs or the REST API, and run proxies and agents with the CLI.
  • ProjectsOne project per agent deployment, each with its own team, services, and access control. Unlimited projects on every plan.
  • Access bundlesReusable sets of the services an agent can reach, each narrowed to the HTTP methods, paths, and MCP tools it needs.
  • Time-bound sessionsEvery session token expires on a schedule you set, and revoking one cuts off running agents without a restart.
  • APIs, MCP servers, databases, and moreBroker credentials to any HTTP API, remote MCP server, database, and more. Connect MCP servers once for the team, or per member.
  • On-behalf-of sessionsAgents work with the credentials and permissions of the person who invoked them.
  • Agent skillsStore skills centrally and install them into every agent that needs them.
  • Global variablesStore a credential once and reuse it across every service. Running agents pick up a new value without a restart.
  • Traffic policiesBlock any host outside an agent's services at the proxy, with exceptions you choose, such as a package registry.
  • Session logsEvery agent request, SQL statement, and SSH command, encrypted before it leaves your network.
  • Runs on any computeRun agents and the proxy on Modal, Daytona, E2B, Kubernetes, and Docker.

Frequently asked questions

Everything you need to know. Can't find an answer? Talk to our team.

The agent's HTTP clients are pointed at a proxy through the standard HTTPS_PROXY variable. On the way out, the proxy applies the real credential to any request targeting a service you have configured: it attaches an authorization header, replaces the one the agent sent, or substitutes a real value where the agent used a placeholder. For databases and SSH servers, the proxy logs in to the server itself. The credential stays in Infisical and is never written into the agent's environment, filesystem, or context.

There is no credential in the agent's environment to expose. A successful injection is limited to the services in that session, within their method, path, and MCP tool rules, until the session ends. The proxy denies and logs any request outside them.

MCP gateways only govern MCP traffic and AI gateways sit in front of model providers, so the agent has to be pointed at each one explicitly. Agent Vault's proxy is transparent: it handles every outbound HTTP request whether the agent uses a CLI, an SDK, a raw API call, or MCP. The agent makes its requests directly, and you only need to set rules and track its activity in one place.

Your orchestrator (such as a backend service, a CI job, or a scheduler) authenticates as an Infisical machine identity and creates a short-lived session each time it starts an agent. The agent only ever holds the session token, and session logs show which identity started the session, against which access bundle, and on whose behalf.

Yes. An admin lets a machine identity create sessions for chosen project members. Those sessions use the member's personal credentials, such as their own GitHub token, and can only use access bundles that both the member and the identity are allowed to use.

Access is set per project. Admins can use every access bundle in the project, and members can only use the bundles an admin grants them. You can grant a bundle to users, groups, or machine identities. The machine that runs the agent only needs the session token, not an Infisical login of its own.

No. For HTTP APIs and MCP servers, Agent Vault works with anything that honors HTTPS_PROXY, which covers Claude Code, Codex, and most custom harnesses. For databases and SSH servers, the agent runs infisical agent-vault connect and points psql, mysql, or ssh at the local address it prints.

Yes. The REST API covers every step, including adding services to an access bundle. The Python and Node.js SDKs create access bundles, proxies, and session tokens, and the CLI runs proxies and agents and creates and revokes session tokens. A typical setup has your orchestrator issue a session token each time it starts an agent.

Agent Vault is built for agents running in environments you control, such as sandboxes, containers, Kubernetes, or VMs. A proxy only protects credentials if the agent can't route around it, which a sandbox enforces and a laptop doesn't.

That was the open-source project and Infisical's first implementation of a credential broker: a single MIT-licensed binary with its own credential store and no dependency on Infisical. The repository remains available and you're welcome to run it, but the project is no longer maintained. Agent Vault in Infisical replaces it with projects, access control, sessions, and session logs, and is what we recommend for any new setup.

Your agents, under control in an afternoon.

  1. Proxy

    Run a proxy beside your agents, as a sidecar or a shared service.

  2. Token

    Issue a session token from your orchestrator with the SDK, CLI, or API.

  3. Run

    Start the agent with the token. It never reads a credential.