Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
docs(agent-vault): follow-up to get started overhaul (#9106)
Adrian Kahali101d09365848
diff --git a/docs/documentation/platform/agent-vault/guides/modal.mdx b/docs/documentation/platform/agent-vault/guides/modal.mdxindex 29c6ec500a..03eeea11ab 100644--- a/docs/documentation/platform/agent-vault/guides/modal.mdx+++ b/docs/documentation/platform/agent-vault/guides/modal.mdx@@ -89,6 +89,8 @@ INFISICAL_AGENT_VAULT_PROXY_TOKENOnly the sidecar gets the `agent-vault-proxy` secret. Modal runs each sidecar in its own container with its own kernel, so the agent can't read the sidecar's environment or files.+Your code can also pass the token to the sidecar each time it creates a sandbox, such as with [`modal.Secret.from_dict`](https://modal.com/docs/reference/modal.Secret#from_dict) in Python.+<Info>If you use EU Cloud or self-host Infisical, add this key as well:diff --git a/docs/documentation/platform/agent-vault/how-it-works.mdx b/docs/documentation/platform/agent-vault/how-it-works.mdxindex ba31bcff40..262419123e 100644--- a/docs/documentation/platform/agent-vault/how-it-works.mdx+++ b/docs/documentation/platform/agent-vault/how-it-works.mdx@@ -12,7 +12,7 @@ Agent Vault lets an AI agent call APIs and MCP servers without having access toTo find the architecture that best fits what you're building, [plan your setup](/documentation/platform/agent-vault/plan-your-setup).</Tip>-Every Agent Vault setup has an orchestrator that creates a session and starts the agent. Then, the agent sends every request through the proxy:+Every Agent Vault setup has an [orchestrator](#orchestrators) that creates a session and starts the agent. Then, the agent sends every request through the proxy:```mermaidflowchart LR@@ -41,7 +41,7 @@ flowchart LRAn orchestrator is the program (or person) that creates a session and starts an agent with the session token. Agent Vault works with any orchestrator, such as:-- **Your own service:** a backend service [uses the Infisical API to create a session](/documentation/platform/agent-vault/sessions-api) and starts an agent for each task. It can call the API directly or through the [Python SDK](/sdks/languages/python#agent_vault-sessions). For example: an internal coding agent that picks up tickets, or a product feature that starts an agent when a customer asks for something+- **Your own service:** a backend service [uses the Infisical API to create a session](/documentation/platform/agent-vault/sessions-api) and starts an agent for each task. It can call the API directly or through the [Python SDK](/sdks/languages/python#agent_vault-sessions). For example: a Slack bot that starts an agent in a new sandbox for each message, an internal coding agent that picks up tickets, or a product feature that starts an agent when a customer asks for something- **A scheduled job:** a cron job or CI pipeline [uses the Infisical CLI to create a session](/documentation/platform/agent-vault/sessions-cli) and starts the agent. For example: an agent that labels new issues every hour- **You:** a person who [creates a session in the Infisical dashboard](/documentation/platform/agent-vault/sessions#create-a-session) and starts an agent with the session token. For example: a coding agent on a dev box, or an assistant on a home serverdiff --git a/docs/documentation/platform/agent-vault/plan-your-setup.mdx b/docs/documentation/platform/agent-vault/plan-your-setup.mdxindex 65744244fd..a96e1c581e 100644--- a/docs/documentation/platform/agent-vault/plan-your-setup.mdx+++ b/docs/documentation/platform/agent-vault/plan-your-setup.mdx@@ -76,7 +76,7 @@ Configure the following options to get custom guidance and best practices tailor</AgentVaultSetupBranch><AgentVaultSetupBranch building="platform">- For each task, the orchestrator logs in as a [machine identity](/documentation/platform/identities/machine-identities) and creates a session through the [Infisical API](/api-reference/endpoints/agent-vault-sessions/create). Each kind of task has its own access bundle, and the orchestrator chooses the access bundle when it creates the session.+ For each task, the [orchestrator](/documentation/platform/agent-vault/how-it-works#orchestrators) logs in as a [machine identity](/documentation/platform/identities/machine-identities) and creates a session through the [Infisical API](/api-reference/endpoints/agent-vault-sessions/create). Each kind of task has its own access bundle, and the orchestrator chooses the access bundle when it creates the session.</AgentVaultSetupBranch></AgentVaultSetupStep>diff --git a/docs/documentation/platform/agent-vault/why-agent-vault.mdx b/docs/documentation/platform/agent-vault/why-agent-vault.mdxindex 9c5b8d0115..6272f4e152 100644--- a/docs/documentation/platform/agent-vault/why-agent-vault.mdx+++ b/docs/documentation/platform/agent-vault/why-agent-vault.mdx@@ -60,6 +60,7 @@ Agent Vault reduces each risk in the following ways:- **Credentials stay out of your agent's environment:** a prompt injection can't cause your agent to send a credential that it doesn't have, and your model provider never receives any credentials- **Access is limited to the task:** a [session](/documentation/platform/agent-vault/sessions) gives your agent access only to the services in one [access bundle](/documentation/platform/agent-vault/access-bundles), and you can limit each HTTP API to the [methods and paths](/documentation/platform/agent-vault/http-apis#methods-and-paths) that the task needs+- **Access can match the user's own:** if a service such as a chat bot starts agents for many people, it can [create each session on behalf of the user](/documentation/platform/agent-vault/sessions-on-behalf-of-users) who asked for the task, so the session can only use access bundles granted to that user, and the proxy attaches the user's own values for any service with [member-provided values](/documentation/platform/agent-vault/http-apis#member-provided-values)- **Access expires:** when a session expires or you revoke it, the proxy stops attaching the session's credentials the next time it [checks the session with Infisical](/documentation/platform/agent-vault/proxies#poll-interval), every 60 seconds by default- **Every request is logged:** [session logs](/documentation/platform/agent-vault/session-logs) record each request that your agent made- **Your agent doesn't need code changes:** Claude Code, `curl`, Python's `requests`, and any other HTTP client that reads the `HTTPS_PROXY` environment variable send their requests through the proxy, no matter where your agent runsdiff --git a/docs/snippets/AgentVaultSetupPicker.jsx b/docs/snippets/AgentVaultSetupPicker.jsxindex 55f97f986e..91b1aa8ef7 100644--- a/docs/snippets/AgentVaultSetupPicker.jsx+++ b/docs/snippets/AgentVaultSetupPicker.jsx@@ -423,7 +423,7 @@ export const AgentVaultSetupDiagram = ({ inline, reveal }) => {const proxySub = {single: "Its own host",shared: "Shared by every agent",- "per-agent": "One per agent",+ "per-agent": "Separate container per agent",}[proxyLayout];const lanes = [