Skip to main content
agentVault requires @infisical/sdk version 5.3.0 or newer.

Sessions

client.agentVault().sessions manages Agent Vault sessions. A session lets an AI agent use the services in one access bundle, the inline services sent with the session, or both, until the session expires or someone revokes it. What the client can do with sessions depends on the role that the user or machine identity the client logs in as has in the Agent Vault project:

Proxies

client.agentVault().proxies manages Agent Vault proxies. A proxy attaches API credentials to the requests that agents send through it. To use any method in this section except list, the client must log in as a user or machine identity with the Admin role in the Agent Vault project.

Access bundles

client.agentVault().accessBundles manages Agent Vault access bundles and who they’re granted to. An access bundle is a list of services that an agent can use during a session. To use any method in this section except list and get, the client must log in as a user or machine identity with the Admin role in the Agent Vault project.

Delegations

client.agentVault().delegations manages delegations, which let a machine identity create sessions on behalf of users. To use any method in this section, the client must log in as a user or machine identity with the Admin role in the Agent Vault project. A machine identity without the role can still get its own delegation.