Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

WIP agent vault guide IA

Adrian Kahali0e6fa28ccfc7
diff --git a/docs/docs.json b/docs/docs.json
index 2c1d121d68..0bffb7f2e3 100644
--- a/docs/docs.json
+++ b/docs/docs.json
@@ -700,28 +700,33 @@
]
},
{
- "group": "Agent guides",
+ "group": "Guides",
"pages": [
- "documentation/platform/agent-vault/guides/claude-code",
- "documentation/platform/agent-vault/guides/codex",
- "documentation/platform/agent-vault/guides/opencode",
{
- "group": "Hermes Agent",
- "root": "documentation/platform/agent-vault/guides/hermes",
+ "group": "Local agents",
"pages": [
- "documentation/platform/agent-vault/guides/hermes-gateway"
+ "documentation/platform/agent-vault/guides/claude-code",
+ "documentation/platform/agent-vault/guides/codex",
+ "documentation/platform/agent-vault/guides/opencode",
+ "documentation/platform/agent-vault/guides/hermes",
+ "documentation/platform/agent-vault/guides/openclaw"
]
},
{
- "group": "OpenClaw",
- "root": "documentation/platform/agent-vault/guides/openclaw",
+ "group": "Sandboxes",
"pages": [
+ "documentation/platform/agent-vault/guides/modal",
+ "documentation/platform/agent-vault/guides/daytona"
+ ]
+ },
+ {
+ "group": "Messaging gateways",
+ "pages": [
+ "documentation/platform/agent-vault/guides/hermes-gateway",
"documentation/platform/agent-vault/guides/openclaw-gateway"
]
},
- "documentation/platform/agent-vault/guides/custom-agent",
- "documentation/platform/agent-vault/guides/modal",
- "documentation/platform/agent-vault/guides/daytona"
+ "documentation/platform/agent-vault/guides/custom-agent"
]
},
{
diff --git a/docs/documentation/getting-started/quickstarts.mdx b/docs/documentation/getting-started/quickstarts.mdx
index 1c81ae4fb4..a4e8088b22 100644
--- a/docs/documentation/getting-started/quickstarts.mdx
+++ b/docs/documentation/getting-started/quickstarts.mdx
@@ -84,7 +84,7 @@ mode: "frame"
| Quickstart | Description |
| --- | --- |
-| [Launch an agent through Agent Vault](/documentation/platform/agent-vault/quickstart) | Run an AI agent that reaches external APIs without holding real credentials. |
+| [Add your credentials to Agent Vault](/documentation/platform/agent-vault/quickstart) | Store your API credentials in an access bundle and connect the agents that use them. |
| [Build an access bundle](/documentation/platform/agent-vault/access-bundles) | Define the set of services an agent session can reach. |
| [Add a service to an access bundle](/documentation/platform/agent-vault/services) | Store credentials for an external API the proxy will call on the agent's behalf. |
diff --git a/docs/documentation/platform/agent-vault/guides/claude-code.mdx b/docs/documentation/platform/agent-vault/guides/claude-code.mdx
index 2ff1b7fdbd..0ffd941570 100644
--- a/docs/documentation/platform/agent-vault/guides/claude-code.mdx
+++ b/docs/documentation/platform/agent-vault/guides/claude-code.mdx
@@ -1,6 +1,7 @@
---
title: "Agent Vault with Claude Code"
sidebarTitle: "Claude Code"
+icon: "/images/agent-vault-agents/claude-code.svg"
description: "Launch Claude Code with Agent Vault so it can make authenticated API calls without needing an actual token."
---
diff --git a/docs/documentation/platform/agent-vault/guides/codex.mdx b/docs/documentation/platform/agent-vault/guides/codex.mdx
index cb8e424f79..acda0d2017 100644
--- a/docs/documentation/platform/agent-vault/guides/codex.mdx
+++ b/docs/documentation/platform/agent-vault/guides/codex.mdx
@@ -1,6 +1,7 @@
---
title: "Agent Vault with Codex"
sidebarTitle: "Codex"
+icon: "/images/agent-vault-agents/OpenAI.png"
description: "Launch Codex with Agent Vault so it can make authenticated API calls without needing an actual token."
---
diff --git a/docs/documentation/platform/agent-vault/guides/hermes-gateway.mdx b/docs/documentation/platform/agent-vault/guides/hermes-gateway.mdx
index 2484c9de4d..13d781a2c5 100644
--- a/docs/documentation/platform/agent-vault/guides/hermes-gateway.mdx
+++ b/docs/documentation/platform/agent-vault/guides/hermes-gateway.mdx
@@ -1,6 +1,7 @@
---
title: "Agent Vault with the Hermes gateway"
-sidebarTitle: "With a gateway"
+sidebarTitle: "Hermes gateway"
+icon: "/images/agent-vault-agents/hermes.png"
description: "Learn how to run the Hermes Agent gateway through Agent Vault so Hermes can make authenticated API requests from a messaging platform without ever seeing your credentials."
---
diff --git a/docs/documentation/platform/agent-vault/guides/hermes.mdx b/docs/documentation/platform/agent-vault/guides/hermes.mdx
index 9d6806a766..370e9d4597 100644
--- a/docs/documentation/platform/agent-vault/guides/hermes.mdx
+++ b/docs/documentation/platform/agent-vault/guides/hermes.mdx
@@ -1,6 +1,7 @@
---
title: "Agent Vault with Hermes Agent"
sidebarTitle: "Hermes Agent"
+icon: "/images/agent-vault-agents/hermes.png"
description: "Launch Hermes Agent with Agent Vault so it can make authenticated API calls without needing an actual token."
---
diff --git a/docs/documentation/platform/agent-vault/guides/openclaw-gateway.mdx b/docs/documentation/platform/agent-vault/guides/openclaw-gateway.mdx
index 72df89b8f4..05af4c0256 100644
--- a/docs/documentation/platform/agent-vault/guides/openclaw-gateway.mdx
+++ b/docs/documentation/platform/agent-vault/guides/openclaw-gateway.mdx
@@ -1,6 +1,7 @@
---
title: "Agent Vault with the OpenClaw gateway"
-sidebarTitle: "With a gateway"
+sidebarTitle: "OpenClaw gateway"
+icon: "/images/agent-vault-agents/openclaw.svg"
description: "Learn how to run the OpenClaw gateway through Agent Vault so OpenClaw can make authenticated API requests from a messaging platform without ever seeing your credentials."
---
diff --git a/docs/documentation/platform/agent-vault/guides/openclaw.mdx b/docs/documentation/platform/agent-vault/guides/openclaw.mdx
index 92d75dffb6..8adb9d847d 100644
--- a/docs/documentation/platform/agent-vault/guides/openclaw.mdx
+++ b/docs/documentation/platform/agent-vault/guides/openclaw.mdx
@@ -1,6 +1,7 @@
---
title: "Agent Vault with OpenClaw"
sidebarTitle: "OpenClaw"
+icon: "/images/agent-vault-agents/openclaw.svg"
description: "Launch OpenClaw with Agent Vault so it can make authenticated API calls without needing an actual token."
---
diff --git a/docs/documentation/platform/agent-vault/guides/opencode.mdx b/docs/documentation/platform/agent-vault/guides/opencode.mdx
index c508b77709..ca8c3f022b 100644
--- a/docs/documentation/platform/agent-vault/guides/opencode.mdx
+++ b/docs/documentation/platform/agent-vault/guides/opencode.mdx
@@ -1,6 +1,7 @@
---
title: "Agent Vault with OpenCode"
sidebarTitle: "OpenCode"
+icon: "/images/agent-vault-agents/opencode.svg"
description: "Launch OpenCode with Agent Vault so it can make authenticated API calls without needing an actual token."
---
diff --git a/docs/documentation/platform/agent-vault/overview.mdx b/docs/documentation/platform/agent-vault/overview.mdx
index 1bdc3aa5c9..a3eedb54f7 100644
--- a/docs/documentation/platform/agent-vault/overview.mdx
+++ b/docs/documentation/platform/agent-vault/overview.mdx
@@ -10,7 +10,7 @@ Infisical Agent Vault is an access layer for AI agents. It securely equips agent
## Get started
<Card title="Quickstart" icon="rocket" href="/documentation/platform/agent-vault/quickstart">
- Launch an agent that makes authenticated API calls without needing an actual token.
+ Store your API credentials in an access bundle and connect the agents that use them.
</Card>
<CardGroup cols={3}>
@@ -25,17 +25,23 @@ Infisical Agent Vault is an access layer for AI agents. It securely equips agent
</Card>
</CardGroup>
-## Agent guides
+## Guides
-Set up Agent Vault for the agent you use, or for an agent you wrote yourself.
+Set up Agent Vault for where your agents run.
-<CardGroup cols={3}>
- <Card title="Claude Code" icon="terminal" href="/documentation/platform/agent-vault/guides/claude-code" />
- <Card title="Codex" icon="terminal" href="/documentation/platform/agent-vault/guides/codex" />
- <Card title="OpenCode" icon="terminal" href="/documentation/platform/agent-vault/guides/opencode" />
- <Card title="Hermes Agent" icon="bot" href="/documentation/platform/agent-vault/guides/hermes" />
- <Card title="OpenClaw" icon="bot" href="/documentation/platform/agent-vault/guides/openclaw" />
- <Card title="Your own agent" icon="code" href="/documentation/platform/agent-vault/guides/custom-agent" />
+<CardGroup cols={2}>
+ <Card title="Sandboxes" icon="box" href="/documentation/platform/agent-vault/guides/modal">
+ Run each agent in a sandbox with its own proxy.
+ </Card>
+ <Card title="Local agents" icon="terminal" href="/documentation/platform/agent-vault/guides/claude-code">
+ Launch a coding agent from your terminal with the Infisical CLI.
+ </Card>
+ <Card title="Messaging gateways" icon="message-square" href="/documentation/platform/agent-vault/guides/hermes-gateway">
+ Keep an assistant running on a server for a messaging platform.
+ </Card>
+ <Card title="Your own agent" icon="code" href="/documentation/platform/agent-vault/guides/custom-agent">
+ Launch your custom agent with Agent Vault so it can make authenticated API calls without needing an actual token.
+ </Card>
</CardGroup>
## Concepts
diff --git a/docs/documentation/platform/agent-vault/plan-your-setup.mdx b/docs/documentation/platform/agent-vault/plan-your-setup.mdx
index df2aae0fe2..f04d6f10ed 100644
--- a/docs/documentation/platform/agent-vault/plan-your-setup.mdx
+++ b/docs/documentation/platform/agent-vault/plan-your-setup.mdx
@@ -186,22 +186,28 @@ Follow these pages in order:
<ol>
<AgentVaultSetupBranch building="personal,assistant" agent="none">
- <li>[Quickstart](/documentation/platform/agent-vault/quickstart): create an access bundle, create a proxy, create a session, and start your agent with the session token</li>
+ <li>[Quickstart](/documentation/platform/agent-vault/quickstart): create an access bundle with a service for each API the agent calls, then follow the guide for where your agent runs</li>
+ </AgentVaultSetupBranch>
+ <AgentVaultSetupBranch building="personal,assistant" agent="claude-code,codex,opencode">
+ <li>[Quickstart](/documentation/platform/agent-vault/quickstart): create an access bundle with a service for each API the agent calls</li>
+ </AgentVaultSetupBranch>
+ <AgentVaultSetupBranch building="personal" agent="hermes,openclaw">
+ <li>[Quickstart](/documentation/platform/agent-vault/quickstart): create an access bundle with a service for each API the agent calls</li>
</AgentVaultSetupBranch>
<AgentVaultSetupBranch building="personal,assistant" agent="claude-code">
- <li>[Agent Vault with Claude Code](/documentation/platform/agent-vault/guides/claude-code): create an access bundle, create a proxy, create a session, and start Claude Code with the session token</li>
+ <li>[Agent Vault with Claude Code](/documentation/platform/agent-vault/guides/claude-code): create a proxy, create a session, and start Claude Code with the session token</li>
</AgentVaultSetupBranch>
<AgentVaultSetupBranch building="personal,assistant" agent="codex">
- <li>[Agent Vault with Codex](/documentation/platform/agent-vault/guides/codex): create an access bundle, create a proxy, create a session, and start Codex with the session token</li>
+ <li>[Agent Vault with Codex](/documentation/platform/agent-vault/guides/codex): create a proxy, create a session, and start Codex with the session token</li>
</AgentVaultSetupBranch>
<AgentVaultSetupBranch building="personal,assistant" agent="opencode">
- <li>[Agent Vault with OpenCode](/documentation/platform/agent-vault/guides/opencode): create an access bundle, create a proxy, create a session, and start OpenCode with the session token</li>
+ <li>[Agent Vault with OpenCode](/documentation/platform/agent-vault/guides/opencode): create a proxy, create a session, and start OpenCode with the session token</li>
</AgentVaultSetupBranch>
<AgentVaultSetupBranch building="personal" agent="hermes">
- <li>[Agent Vault with Hermes Agent](/documentation/platform/agent-vault/guides/hermes): create an access bundle, create a proxy, create a session, and start Hermes in your terminal with the session token</li>
+ <li>[Agent Vault with Hermes Agent](/documentation/platform/agent-vault/guides/hermes): create a proxy, create a session, and start Hermes in your terminal with the session token</li>
</AgentVaultSetupBranch>
<AgentVaultSetupBranch building="personal" agent="openclaw">
- <li>[Agent Vault with OpenClaw](/documentation/platform/agent-vault/guides/openclaw): create an access bundle, create a proxy, create a session, and start OpenClaw in your terminal with the session token</li>
+ <li>[Agent Vault with OpenClaw](/documentation/platform/agent-vault/guides/openclaw): create a proxy, create a session, and start OpenClaw in your terminal with the session token</li>
</AgentVaultSetupBranch>
<AgentVaultSetupBranch building="assistant" agent="hermes">
<li>[Agent Vault with the Hermes gateway](/documentation/platform/agent-vault/guides/hermes-gateway): create a session that never expires, then send the Hermes gateway's requests through the proxy</li>
@@ -214,7 +220,7 @@ Follow these pages in order:
</AgentVaultSetupBranch>
<AgentVaultSetupBranch building="scheduled,platform">
- <li>[Create an access bundle](/documentation/platform/agent-vault/access-bundles#create-an-access-bundle), with a service for each API the agent calls</li>
+ <li>[Quickstart](/documentation/platform/agent-vault/quickstart): create an access bundle with a service for each API the agent calls</li>
<li>[Create a proxy](/documentation/platform/agent-vault/proxies#create-a-proxy-and-start-it), and run it with Docker, Kubernetes, or systemd so that it keeps running between jobs</li>
</AgentVaultSetupBranch>
<AgentVaultSetupBranch building="scheduled" runs="none,computer,server">
diff --git a/docs/documentation/platform/agent-vault/quickstart.mdx b/docs/documentation/platform/agent-vault/quickstart.mdx
index cb1f41b591..3a1e299181 100644
--- a/docs/documentation/platform/agent-vault/quickstart.mdx
+++ b/docs/documentation/platform/agent-vault/quickstart.mdx
@@ -1,12 +1,169 @@
---
-title: "Quickstart: Agent Vault"
+title: "Add your credentials to Agent Vault"
sidebarTitle: "Quickstart"
-description: "Launch an agent that makes authenticated API calls without needing an actual token."
+description: "Store your API credentials in an access bundle and connect the agents that use them."
---
-import { AgentVaultQuickstartPicker } from "/snippets/AgentVaultQuickstartConfigurator.jsx";
-import QuickstartBody from "/snippets/agent-vault/QuickstartBody.mdx";
+This quickstart walks you through the setup shared by every Agent Vault workflow. You'll create an [access bundle](/documentation/platform/agent-vault/access-bundles), add a [service](/documentation/platform/agent-vault/services) with the real credentials for each API your agents call, and then continue with the guide for where your agents run.
-<AgentVaultQuickstartPicker />
+## Prerequisites
-<QuickstartBody />
+- An Infisical organization where you're an [Agent Vault admin](/documentation/platform/agent-vault/access-control#product-membership)
+- Credentials for each API you want your agents to call (such as an API token)
+
+## Step 1: Add your credentials
+
+First, create an
+
+An access bundle is a list of services, and each service holds the credential for one API. Agents never see the credentials. They only get a [session](/documentation/platform/agent-vault/sessions) for the access bundle, which the guide in [Step 2](#step-2-connect-your-agents) has you create.
+
+<Tabs>
+ <Tab title="Infisical dashboard">
+ ### Create an access bundle
+
+ <Steps>
+ <Step>
+ In Infisical, open **Agent Vault** from the product switcher and go to **Access Bundles**.
+ </Step>
+ <Step>
+ Select **Create Access Bundle**. Give the access bundle a **Name**, then select **Create Access Bundle**.
+
+ <Frame>
+ <img src="/images/platform/agent-vault/access-bundle-create.png" alt="The Create Access Bundle dialog with code-review entered as the name" />
+ </Frame>
+ </Step>
+ </Steps>
+
+ ### Add a service
+
+ <Steps>
+ <Step>
+ Select the access bundle you just created, then select **Add Service**.
+ </Step>
+ <Step>
+ Find the template for the API you want your agents to call, then select it.
+
+ <Frame>
+ <img src="/images/platform/agent-vault/service-template-picker.png" alt="The Choose a template panel with GitHub among the available services" />
+ </Frame>
+
+ If the API isn't on the list, select **Custom** and set the host, header name, and prefix yourself.
+ </Step>
+ <Step>
+ The template fills in the host and the header that the API expects. Paste your credential in the **Credential** section.
+ </Step>
+ <Step>
+ Select **Add Service**.
+ </Step>
+ </Steps>
+
+ Repeat these steps for each API your agents call.
+ </Tab>
+ <Tab title="API">
+ ### Log in as a machine identity
+
+ You call the Infisical API as a [machine identity](/documentation/platform/identities/machine-identities) with the **Admin** role in Agent Vault.
+
+ <Steps>
+ <Step>
+ In Agent Vault, go to **Access Control** > **Machine Identities** and select **Add Machine Identity**.
+ </Step>
+ <Step>
+ On the **Create New** tab, enter a **Name**, choose **Admin** in **Role**, then select **Create**.
+ </Step>
+ <Step>
+ On the machine identity's page, select **Universal Auth** under **Authentication**. Copy the **Client ID**, then select **Add Client Secret** and copy the client secret.
+ </Step>
+ </Steps>
+
+ Call [the login endpoint for Universal Auth](/api-reference/endpoints/universal-auth/login) with the client ID and client secret:
+
+ ```bash
+ curl -X POST https://app.infisical.com/api/v1/auth/universal-auth/login \
+ -H "Content-Type: application/json" \
+ -d '{"clientId": "<client-id>", "clientSecret": "<client-secret>"}'
+ ```
+
+ The response includes an `accessToken`, which you send with each request in the next steps. If you self-host Infisical, replace `https://app.infisical.com` with the address of your instance in every request.
+
+ ### Create an access bundle
+
+ Call [the endpoint that creates an access bundle](/api-reference/endpoints/agent-vault-access-bundles/create) with a name for the access bundle:
+
+ ```bash
+ curl -X POST https://app.infisical.com/api/v1/agent-vault/access-bundles \
+ -H "Authorization: Bearer <access-token>" \
+ -H "Content-Type: application/json" \
+ -d '{"name": "code-review"}'
+ ```
+
+ The response includes the access bundle's `id`, which you need to add a service.
+
+ ### Add a service
+
+ Call [the endpoint that creates a service](/api-reference/endpoints/agent-vault-services/create) with the hosts that the credential applies to and the credential itself. For example, to add a GitHub personal access token:
+
+ ```bash
+ curl -X POST https://app.infisical.com/api/v1/agent-vault/access-bundles/<access-bundle-id>/services \
+ -H "Authorization: Bearer <access-token>" \
+ -H "Content-Type: application/json" \
+ -d '{
+ "name": "github",
+ "hostPattern": "api.github.com, github.com",
+ "credential": {
+ "type": "basic",
+ "username": "x-access-token",
+ "password": "<github-token>"
+ }
+ }'
+ ```
+
+ `credential.type` is `bearer` for an API that takes a token in a header, `basic` for an API that takes a username and password, or `passthrough` for a host that the agent can call without a credential. See the [services documentation](/documentation/platform/agent-vault/services) for every field.
+
+ Repeat this request for each API your agents call.
+ </Tab>
+</Tabs>
+
+## Step 2: Connect your agents
+
+Pick the guide for where your agents run. Each guide sets up a [proxy](/documentation/platform/agent-vault/proxies) and sessions for that setup, using the access bundle from [Step 1](#step-1-add-your-credentials). If you're not sure which guide fits, [plan your setup](/documentation/platform/agent-vault/plan-your-setup) to get a recommendation.
+
+### Local agents
+
+Launch an agent from your terminal with the Infisical CLI.
+
+<CardGroup cols={3}>
+ <Card title="Claude Code" icon="/images/agent-vault-agents/claude-code.svg" href="/documentation/platform/agent-vault/guides/claude-code" />
+ <Card title="Codex" icon="/images/agent-vault-agents/OpenAI.png" href="/documentation/platform/agent-vault/guides/codex" />
+ <Card title="OpenCode" icon="/images/agent-vault-agents/opencode.svg" href="/documentation/platform/agent-vault/guides/opencode" />
+ <Card title="Hermes Agent" icon="/images/agent-vault-agents/hermes.png" href="/documentation/platform/agent-vault/guides/hermes" />
+ <Card title="OpenClaw" icon="/images/agent-vault-agents/openclaw.svg" href="/documentation/platform/agent-vault/guides/openclaw" />
+</CardGroup>
+
+### Sandboxes
+
+Start each agent in its own sandbox, with its own proxy.
+
+<CardGroup cols={2}>
+ <Card title="Modal sandboxes" icon="box" href="/documentation/platform/agent-vault/guides/modal">
+ Run an Agent Vault proxy in each Modal sandbox so the agent never holds a credential.
+ </Card>
+ <Card title="Daytona sandboxes" icon="box" href="/documentation/platform/agent-vault/guides/daytona">
+ Run an Agent Vault proxy beside each Daytona sandbox so the agent never holds a credential.
+ </Card>
+</CardGroup>
+
+### Messaging gateways
+
+Keep an assistant running on a server so people can message it from Slack, Telegram, or another platform.
+
+<CardGroup cols={2}>
+ <Card title="Hermes gateway" icon="/images/agent-vault-agents/hermes.png" href="/documentation/platform/agent-vault/guides/hermes-gateway" />
+ <Card title="OpenClaw gateway" icon="/images/agent-vault-agents/openclaw.svg" href="/documentation/platform/agent-vault/guides/openclaw-gateway" />
+</CardGroup>
+
+### Your own code
+
+<Card title="Your own agent" icon="code" href="/documentation/platform/agent-vault/guides/custom-agent">
+ Launch your custom agent with Agent Vault so it can make authenticated API calls without needing an actual token.
+</Card>
diff --git a/docs/documentation/platform/agent-vault/why-agent-vault.mdx b/docs/documentation/platform/agent-vault/why-agent-vault.mdx
index df678822dd..2afd94c19b 100644
--- a/docs/documentation/platform/agent-vault/why-agent-vault.mdx
+++ b/docs/documentation/platform/agent-vault/why-agent-vault.mdx
@@ -86,7 +86,7 @@ Here's an example of what a prompt injection attack might look like with and wit
<CardGroup cols={2}>
<Card title="Quickstart" icon="rocket" href="/documentation/platform/agent-vault/quickstart">
- Launch an agent that makes authenticated API calls without needing an actual token.
+ Store your API credentials in an access bundle and connect the agents that use them.
</Card>
<Card title="How it works" icon="settings-2" href="/documentation/platform/agent-vault/how-it-works">
Understand the Agent Vault mental model.
diff --git a/docs/snippets/agent-vault/QuickstartBody.mdx b/docs/snippets/agent-vault/QuickstartBody.mdx
index 55b7908e08..b2d11b6286 100644
--- a/docs/snippets/agent-vault/QuickstartBody.mdx
+++ b/docs/snippets/agent-vault/QuickstartBody.mdx
@@ -1,9 +1,5 @@
import AgentIntroNote from "/snippets/agent-vault/slots/AgentIntroNote.mdx";
import AgentPrereqLine from "/snippets/agent-vault/slots/AgentPrereqLine.mdx";
-import ServicePrereqLine from "/snippets/agent-vault/slots/ServicePrereqLine.mdx";
-import ServiceTemplatePick from "/snippets/agent-vault/slots/ServiceTemplatePick.mdx";
-import ServiceTemplatePickNote from "/snippets/agent-vault/slots/ServiceTemplatePickNote.mdx";
-import ServiceCredentialLine from "/snippets/agent-vault/slots/ServiceCredentialLine.mdx";
import AgentLaunchCommand from "/snippets/agent-vault/slots/AgentLaunchCommand.mdx";
import ServiceVerifyIntro from "/snippets/agent-vault/slots/ServiceVerifyIntro.mdx";
import ServiceVerifyProse from "/snippets/agent-vault/slots/ServiceVerifyProse.mdx";
@@ -11,64 +7,26 @@ import ServiceVerifyCurl from "/snippets/agent-vault/slots/ServiceVerifyCurl.mdx
import ServiceCheckCallout from "/snippets/agent-vault/slots/ServiceCheckCallout.mdx";
import SeparateMachinesNote from "/snippets/agent-vault/SeparateMachinesNote.mdx";
-This quickstart guide walks you through using Agent Vault to launch an agent that makes authenticated API calls without needing an actual token.
+This guide walks you through using Agent Vault to launch an agent that makes authenticated API calls without needing an actual token.
<AgentIntroNote />
## Prerequisites
<ul>
- <li>An Infisical organization where you're an Agent Vault admin</li>
+ <li>An Infisical organization where you're an [Agent Vault admin](/documentation/platform/agent-vault/access-control#product-membership)</li>
+ <li>An [access bundle](/documentation/platform/agent-vault/access-bundles) with a service for each API the agent calls (see the [quickstart](/documentation/platform/agent-vault/quickstart))</li>
<li>The [Infisical CLI](/cli/install) installed on the host that will run the Agent Vault proxy and on the host that will run the agent</li>
<AgentPrereqLine />
- <ServicePrereqLine />
</ul>
<SeparateMachinesNote />
## Step 1: Set up in Infisical
-### Create an access bundle
-
-First, create an [access bundle](/documentation/platform/agent-vault/access-bundles) that defines which APIs ([services](/documentation/platform/agent-vault/services)) the agent can access.
-
-<Steps>
- <Step>
- In Infisical, open **Agent Vault** from the product switcher and go to **Access Bundles**.
- </Step>
- <Step>
- Select **Create Access Bundle**. Give the access bundle a **Name**, then select **Create Access Bundle**.
-
- <Frame>
- <img src="/images/platform/agent-vault/access-bundle-create.png" alt="The Create Access Bundle dialog with code-review entered as the name" />
- </Frame>
- </Step>
- <Step>
- Select the access bundle you just created, then select **Add Service**.
-
- <ServiceTemplatePick />
-
- <Frame>
- <img src="/images/platform/agent-vault/service-template-picker.png" alt="The Choose a template panel with GitHub among the available services" />
- </Frame>
-
- <ServiceTemplatePickNote />
- </Step>
- <Step>
- <ServiceCredentialLine />
- </Step>
- <Step>
- Once you've configured the service, select **Add Service**.
- </Step>
-</Steps>
-
-<Tip>
- You can repeat these steps to add as many more services as you like to the access bundle.
-</Tip>
-
### Create a proxy
-Next, create a [proxy](/documentation/platform/agent-vault/proxies) to intercept API calls from your agent.
+First, create a [proxy](/documentation/platform/agent-vault/proxies) to intercept API calls from your agent.
<Steps>
<Step>
diff --git a/docs/snippets/agent-vault/slots/ServiceCredentialLine.mdx b/docs/snippets/agent-vault/slots/ServiceCredentialLine.mdx
deleted file mode 100644
index 6e2280455d..0000000000
--- a/docs/snippets/agent-vault/slots/ServiceCredentialLine.mdx
+++ /dev/null
@@ -1,150 +0,0 @@
-import { AgentVaultBranch } from "/snippets/AgentVaultQuickstartConfigurator.jsx";
-
-<AgentVaultBranch service="github">
- The template fills in the host and header. Paste a [GitHub personal access token](https://github.com/settings/tokens) in the **Credential** section.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="slack">
- The template fills in the host and header. Paste a [Slack bot token](https://api.slack.com/authentication/token-types#bot) in the **Credential** section.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="anthropic">
- The template fills in the host and header. Paste an [Anthropic API key](https://console.anthropic.com/settings/keys) in the **Credential** section.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="openai">
- The template fills in the host and header. Paste an [OpenAI API key](https://platform.openai.com/api-keys) in the **Credential** section.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="custom">
- Fill in the **Host**, **Header name**, and any **Prefix** the API expects. Then paste your credential in the **Credential** section.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="none">
- Follow the steps to set up the service. The template automatically fills in most fields, including:
-
- - The host (for example, `api.github.com`)
- - The header the API expects (for example, `Authorization: Bearer <token>`)
-
- Paste your credentials in the **Credential** section.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="gemini">
- The template fills in the host and header. Paste a [Google Gemini API key](https://aistudio.google.com/apikey) in the **Credential** section.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="mistral">
- The template fills in the host and header. Paste a [Mistral AI API key](https://console.mistral.ai/api-keys) in the **Credential** section.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="cohere">
- The template fills in the host and header. Paste a [Cohere API key](https://dashboard.cohere.com/api-keys) in the **Credential** section.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="groq">
- The template fills in the host and header. Paste a [Groq API key](https://console.groq.com/keys) in the **Credential** section.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="perplexity">
- The template fills in the host and header. Paste a [Perplexity API key](https://www.perplexity.ai/settings/api) in the **Credential** section.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="openrouter">
- The template fills in the host and header. Paste an [OpenRouter API key](https://openrouter.ai/keys) in the **Credential** section.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="together">
- The template fills in the host and header. Paste a [Together AI API key](https://api.together.xyz/settings/api-keys) in the **Credential** section.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="deepseek">
- The template fills in the host and header. Paste a [DeepSeek API key](https://platform.deepseek.com/api_keys) in the **Credential** section.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="xai">
- The template fills in the host and header. Paste an [xAI API key](https://console.x.ai/) in the **Credential** section.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="fireworks">
- The template fills in the host and header. Paste a [Fireworks AI API key](https://app.fireworks.ai/settings/users/api-keys) in the **Credential** section.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="stripe">
- The template fills in the host and header. Paste a [Stripe secret key](https://dashboard.stripe.com/apikeys) in the **Credential** section.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="twilio">
- The template fills in the host and header. Paste a [Twilio account SID and auth token](https://console.twilio.com/) in the **Credential** section.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="sendgrid">
- The template fills in the host and header. Paste a [SendGrid API key](https://app.sendgrid.com/settings/api_keys) in the **Credential** section.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="resend">
- The template fills in the host and header. Paste a [Resend API key](https://resend.com/api-keys) in the **Credential** section.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="discord">
- The template fills in the host and header. Paste a [Discord bot token](https://discord.com/developers/applications) in the **Credential** section.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="postmark">
- The template fills in the host and header. Paste a [Postmark server token](https://account.postmarkapp.com/servers) in the **Credential** section.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="gitlab">
- The template fills in the host and header. Paste a [GitLab personal access token](https://gitlab.com/-/user_settings/personal_access_tokens) in the **Credential** section.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="vercel">
- The template fills in the host and header. Paste a [Vercel API token](https://vercel.com/account/tokens) in the **Credential** section.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="cloudflare">
- The template fills in the host and header. Paste a [Cloudflare API token](https://dash.cloudflare.com/profile/api-tokens) in the **Credential** section.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="supabase">
- The template fills in the header and a `<your-project>.supabase.co` host. Replace `<your-project>` with your Supabase project ref, then paste your project's [`anon` or `service_role` API key](https://supabase.com/dashboard) (under **Project Settings** > **API Keys**) in the **Credential** section.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="npm">
- The template fills in the host and header. Paste an [npm access token](https://docs.npmjs.com/creating-and-viewing-access-tokens) in the **Credential** section.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="github-npm">
- The template fills in the host and header. Paste a [GitHub personal access token with the `read:packages` scope](https://github.com/settings/tokens) in the **Credential** section.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="datadog">
- The template fills in the host and header. Paste a [Datadog API key](https://app.datadoghq.com/organization-settings/api-keys) in the **Credential** section.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="sentry">
- The template fills in the host and header. Paste a [Sentry auth token](https://sentry.io/settings/account/api/auth-tokens/) in the **Credential** section.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="pagerduty">
- The template fills in the host and header. Paste a [PagerDuty API access key](https://support.pagerduty.com/main/docs/api-access-keys) in the **Credential** section.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="linear">
- The template fills in the host and header. Paste a [Linear API key](https://linear.app/settings/api) in the **Credential** section.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="notion">
- The template fills in the host and header. Paste a [Notion integration token](https://www.notion.so/profile/integrations) in the **Credential** section.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="jira">
- The template fills in the header and a `<your-tenant>.atlassian.net` host. Replace `<your-tenant>` with your Atlassian subdomain (for example, `mycompany` from `mycompany.atlassian.net`), then paste your [Jira email and API token](https://id.atlassian.com/manage-profile/security/api-tokens) in the **Credential** section.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="google-workspace">
- The template fills in the host and header. Paste a [Google Workspace OAuth token](https://developers.google.com/workspace/guides/create-credentials) in the **Credential** section.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="shopify">
- The template fills in the header and a `<your-store>.myshopify.com` host. Replace `<your-store>` with your Shopify store subdomain, then paste your [Shopify Admin API access token](https://shopify.dev/docs/apps/build/authentication-authorization/access-tokens) in the **Credential** section.
-</AgentVaultBranch>
diff --git a/docs/snippets/agent-vault/slots/ServicePrereqLine.mdx b/docs/snippets/agent-vault/slots/ServicePrereqLine.mdx
deleted file mode 100644
index 1532f7151e..0000000000
--- a/docs/snippets/agent-vault/slots/ServicePrereqLine.mdx
+++ /dev/null
@@ -1,145 +0,0 @@
-import { AgentVaultBranch } from "/snippets/AgentVaultQuickstartConfigurator.jsx";
-
-<AgentVaultBranch service="none">
- <li>Credentials for the API you want the agent to call (such as an API token)</li>
-</AgentVaultBranch>
-
-<AgentVaultBranch service="github">
- <li>A [GitHub personal access token](https://github.com/settings/tokens) with the scopes your agent will need</li>
-</AgentVaultBranch>
-
-<AgentVaultBranch service="slack">
- <li>A [Slack bot token](https://api.slack.com/authentication/token-types#bot) with the scopes your agent will need</li>
-</AgentVaultBranch>
-
-<AgentVaultBranch service="anthropic">
- <li>An [Anthropic API key](https://console.anthropic.com/settings/keys)</li>
-</AgentVaultBranch>
-
-<AgentVaultBranch service="openai">
- <li>An [OpenAI API key](https://platform.openai.com/api-keys)</li>
-</AgentVaultBranch>
-
-<AgentVaultBranch service="custom">
- <li>A credential for the API you want the agent to call (such as an API token)</li>
-</AgentVaultBranch>
-
-<AgentVaultBranch service="gemini">
- <li>A [Google Gemini API key](https://aistudio.google.com/apikey)</li>
-</AgentVaultBranch>
-
-<AgentVaultBranch service="mistral">
- <li>A [Mistral AI API key](https://console.mistral.ai/api-keys)</li>
-</AgentVaultBranch>
-
-<AgentVaultBranch service="cohere">
- <li>A [Cohere API key](https://dashboard.cohere.com/api-keys)</li>
-</AgentVaultBranch>
-
-<AgentVaultBranch service="groq">
- <li>A [Groq API key](https://console.groq.com/keys)</li>
-</AgentVaultBranch>
-
-<AgentVaultBranch service="perplexity">
- <li>A [Perplexity API key](https://www.perplexity.ai/settings/api)</li>
-</AgentVaultBranch>
-
-<AgentVaultBranch service="openrouter">
- <li>An [OpenRouter API key](https://openrouter.ai/keys)</li>
-</AgentVaultBranch>
-
-<AgentVaultBranch service="together">
- <li>A [Together AI API key](https://api.together.xyz/settings/api-keys)</li>
-</AgentVaultBranch>
-
-<AgentVaultBranch service="deepseek">
- <li>A [DeepSeek API key](https://platform.deepseek.com/api_keys)</li>
-</AgentVaultBranch>
-
-<AgentVaultBranch service="xai">
- <li>An [xAI API key](https://console.x.ai/)</li>
-</AgentVaultBranch>
-
-<AgentVaultBranch service="fireworks">
- <li>A [Fireworks AI API key](https://app.fireworks.ai/settings/users/api-keys)</li>
-</AgentVaultBranch>
-
-<AgentVaultBranch service="stripe">
- <li>A [Stripe secret key](https://dashboard.stripe.com/apikeys)</li>
-</AgentVaultBranch>
-
-<AgentVaultBranch service="twilio">
- <li>A [Twilio account SID and auth token](https://console.twilio.com/)</li>
-</AgentVaultBranch>
-
-<AgentVaultBranch service="sendgrid">
- <li>A [SendGrid API key](https://app.sendgrid.com/settings/api_keys) with the scopes your agent will need</li>
-</AgentVaultBranch>
-
-<AgentVaultBranch service="resend">
- <li>A [Resend API key](https://resend.com/api-keys)</li>
-</AgentVaultBranch>
-
-<AgentVaultBranch service="discord">
- <li>A [Discord bot token](https://discord.com/developers/applications) with the scopes your agent will need</li>
-</AgentVaultBranch>
-
-<AgentVaultBranch service="postmark">
- <li>A [Postmark server token](https://account.postmarkapp.com/servers)</li>
-</AgentVaultBranch>
-
-<AgentVaultBranch service="gitlab">
- <li>A [GitLab personal access token](https://gitlab.com/-/user_settings/personal_access_tokens) with the scopes your agent will need</li>
-</AgentVaultBranch>
-
-<AgentVaultBranch service="vercel">
- <li>A [Vercel API token](https://vercel.com/account/tokens) with the scopes your agent will need</li>
-</AgentVaultBranch>
-
-<AgentVaultBranch service="cloudflare">
- <li>A [Cloudflare API token](https://dash.cloudflare.com/profile/api-tokens) with the scopes your agent will need</li>
-</AgentVaultBranch>
-
-<AgentVaultBranch service="supabase">
- <li>A Supabase [project API key](https://supabase.com/dashboard) (<code>anon</code> or <code>service_role</code>, from <strong>Project Settings</strong> &gt; <strong>API Keys</strong>)</li>
-</AgentVaultBranch>
-
-<AgentVaultBranch service="npm">
- <li>An [npm access token](https://docs.npmjs.com/creating-and-viewing-access-tokens)</li>
-</AgentVaultBranch>
-
-<AgentVaultBranch service="github-npm">
- <li>A [GitHub personal access token with the `read:packages` scope](https://github.com/settings/tokens)</li>
-</AgentVaultBranch>
-
-<AgentVaultBranch service="datadog">
- <li>A [Datadog API key](https://app.datadoghq.com/organization-settings/api-keys)</li>
-</AgentVaultBranch>
-
-<AgentVaultBranch service="sentry">
- <li>A [Sentry auth token](https://sentry.io/settings/account/api/auth-tokens/) with the scopes your agent will need</li>
-</AgentVaultBranch>
-
-<AgentVaultBranch service="pagerduty">
- <li>A [PagerDuty API access key](https://support.pagerduty.com/main/docs/api-access-keys)</li>
-</AgentVaultBranch>
-
-<AgentVaultBranch service="linear">
- <li>A [Linear API key](https://linear.app/settings/api)</li>
-</AgentVaultBranch>
-
-<AgentVaultBranch service="notion">
- <li>A [Notion integration token](https://www.notion.so/profile/integrations) with the scopes your agent will need</li>
-</AgentVaultBranch>
-
-<AgentVaultBranch service="jira">
- <li>A [Jira email and API token](https://id.atlassian.com/manage-profile/security/api-tokens)</li>
-</AgentVaultBranch>
-
-<AgentVaultBranch service="google-workspace">
- <li>A [Google Workspace OAuth token](https://developers.google.com/workspace/guides/create-credentials) with the scopes your agent will need</li>
-</AgentVaultBranch>
-
-<AgentVaultBranch service="shopify">
- <li>A [Shopify Admin API access token](https://shopify.dev/docs/apps/build/authentication-authorization/access-tokens) with the scopes your agent will need</li>
-</AgentVaultBranch>
diff --git a/docs/snippets/agent-vault/slots/ServiceTemplatePick.mdx b/docs/snippets/agent-vault/slots/ServiceTemplatePick.mdx
deleted file mode 100644
index c90f22488c..0000000000
--- a/docs/snippets/agent-vault/slots/ServiceTemplatePick.mdx
+++ /dev/null
@@ -1,145 +0,0 @@
-import { AgentVaultBranch } from "/snippets/AgentVaultQuickstartConfigurator.jsx";
-
-<AgentVaultBranch service="none">
- Find the template for the API you want the agent to access, then select it.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="github">
- Select the **GitHub** template.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="slack">
- Select the **Slack** template.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="anthropic">
- Select the **Anthropic** template.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="openai">
- Select the **OpenAI** template.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="custom">
- Select **Custom**. You'll set the host, header name, and prefix yourself on the next step.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="gemini">
- Select the **Google Gemini** template.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="mistral">
- Select the **Mistral AI** template.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="cohere">
- Select the **Cohere** template.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="groq">
- Select the **Groq** template.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="perplexity">
- Select the **Perplexity** template.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="openrouter">
- Select the **OpenRouter** template.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="together">
- Select the **Together AI** template.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="deepseek">
- Select the **DeepSeek** template.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="xai">
- Select the **xAI** template.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="fireworks">
- Select the **Fireworks AI** template.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="stripe">
- Select the **Stripe** template.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="twilio">
- Select the **Twilio** template.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="sendgrid">
- Select the **SendGrid** template.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="resend">
- Select the **Resend** template.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="discord">
- Select the **Discord** template.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="postmark">
- Select the **Postmark** template.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="gitlab">
- Select the **GitLab** template.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="vercel">
- Select the **Vercel** template.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="cloudflare">
- Select the **Cloudflare** template.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="supabase">
- Select the **Supabase** template.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="npm">
- Select the **npm** template.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="github-npm">
- Select the **GitHub Packages** template.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="datadog">
- Select the **Datadog** template.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="sentry">
- Select the **Sentry** template.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="pagerduty">
- Select the **PagerDuty** template.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="linear">
- Select the **Linear** template.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="notion">
- Select the **Notion** template.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="jira">
- Select the **Jira** template.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="google-workspace">
- Select the **Google Workspace** template.
-</AgentVaultBranch>
-
-<AgentVaultBranch service="shopify">
- Select the **Shopify** template.
-</AgentVaultBranch>
diff --git a/docs/snippets/agent-vault/slots/ServiceTemplatePickNote.mdx b/docs/snippets/agent-vault/slots/ServiceTemplatePickNote.mdx
deleted file mode 100644
index f7b4284ad4..0000000000
--- a/docs/snippets/agent-vault/slots/ServiceTemplatePickNote.mdx
+++ /dev/null
@@ -1,7 +0,0 @@
-import { AgentVaultBranch } from "/snippets/AgentVaultQuickstartConfigurator.jsx";
-
-<AgentVaultBranch service="none">
- <Note>
- If the API you want to access isn't on the template list, pick **Custom** and set the host, header name, and prefix yourself. For more information, check out the [services](/documentation/platform/agent-vault/services) documentation.
- </Note>
-</AgentVaultBranch>
diff --git a/docs/style.css b/docs/style.css
index 1d4d509dce..00a79689c6 100644
--- a/docs/style.css
+++ b/docs/style.css
@@ -2856,3 +2856,16 @@ html[data-cli-nav] #sidebar-content li > a[aria-current="page"] {
html.dark[data-cli-nav] #sidebar-content li > a[aria-current="page"] {
color: #9f9f9f;
}
+
+/* Card and sidebar icons take one image, so swap in the dark-mode logo here. */
+html.dark img[src$="/images/agent-vault-agents/OpenAI.png"] {
+ content: url("images/agent-vault-agents/OpenAIWhite.png");
+}
+
+html.dark img[src$="/images/agent-vault-agents/hermes.png"] {
+ content: url("images/agent-vault-agents/hermes.on-dark.png");
+}
+
+html.dark img[src$="/images/agent-vault-agents/opencode.svg"] {
+ content: url("images/agent-vault-agents/opencode.on-dark.svg");
+}