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
import { AgentVaultBranch } from "/snippets/AgentVaultQuickstartConfigurator.jsx";
<AgentVaultBranch agent="none">
For example, with Claude:
```bash
infisical agent-vault run --session-token <session-token> --proxy <proxy-host>:17323 -- claude
```
</AgentVaultBranch>
<AgentVaultBranch agent="claude-code">
For Claude Code, the command is `claude`:
```bash
infisical agent-vault run --session-token <session-token> --proxy <proxy-host>:17323 -- claude
```
</AgentVaultBranch>
<AgentVaultBranch agent="codex">
For Codex, the command is `codex`:
```bash
infisical agent-vault run --session-token <session-token> --proxy <proxy-host>:17323 -- codex
```
<Note>
Codex first tries to reach the OpenAI API over a WebSocket, which [fails through the proxy](/documentation/platform/agent-vault/proxies#supported-connections). You may see a few connection errors before Codex switches to HTTPS and responds.
</Note>
</AgentVaultBranch>
<AgentVaultBranch agent="hermes">
Hermes reads its API keys from `~/.hermes/.env`, and it won't start without them. If the service you added holds one of those keys, such as your model provider's key, replace the key's value in that file with a placeholder, such as `agent-vault-openai`. The proxy attaches the real key, so Hermes only needs a value it accepts. If the service uses a [substitution](/documentation/platform/agent-vault/http-apis#substitutions), use the exact value you entered in **Replace** instead.
<Warning>
Hermes treats some values as an unset key, including `dummy`, `placeholder`, `changeme`, `none`, and values made only of `x` characters, such as `sk-xxxx`. If you use one of these values, Hermes reports the key as missing instead of sending it to the proxy.
</Warning>
Then start Hermes. For Hermes Agent, the command is `hermes --tui`:
```bash
infisical agent-vault run --session-token <session-token> --proxy <proxy-host>:17323 -- hermes --tui
```
</AgentVaultBranch>
<AgentVaultBranch agent="opencode">
For OpenCode, the command is `opencode`:
```bash
infisical agent-vault run --session-token <session-token> --proxy <proxy-host>:17323 -- opencode
```
</AgentVaultBranch>
<AgentVaultBranch agent="openclaw">
If the service you added holds your model provider's key, OpenClaw needs a placeholder in its place. Onboarding saves the key in OpenClaw's credential store. Run `openclaw models auth list` to find the saved profile, then remove it with `openclaw models auth logout <profile-id>`.
Then create `~/.openclaw/.env`, or add to it if it already exists, with a placeholder for the key, such as `OPENAI_API_KEY=agent-vault-openai`. The proxy attaches the real key, so OpenClaw only needs a value to send. If the service uses a [substitution](/documentation/platform/agent-vault/http-apis#substitutions), use the exact value you entered in **Replace** instead.
Then start OpenClaw's terminal UI in local mode, so it runs without a separate Gateway. For OpenClaw, the command is `openclaw tui --local`:
```bash
infisical agent-vault run --session-token <session-token> --proxy <proxy-host>:17323 -- openclaw tui --local
```
</AgentVaultBranch>