VaultAgent|Documentation

┌─ Getting Started ─┐

VaultAgent is a secure secret management system designed specifically for AI coding agents. Store your API keys, database credentials, and sensitive tokens with zero-knowledge encryption, then grant time-limited access to your AI tools without ever exposing the actual values.

The Problem

AI coding agents like Claude Code, Cursor, and GitHub Copilot need access to your secrets to be truly useful. But giving agents direct access is risky:

[!] Secrets might appear in code suggestions
[!] Accidental logging exposes credentials
[!] Keys could be sent to unexpected endpoints

The Solution

[1] Store secrets in your encrypted vault
[2] Create a scoped, time-limited session
[3] VaultAgent injects secrets to the environment
[4] Agent uses secrets without seeing values
[5] Session expires automatically

Quick Start

terminal
# Install the CLI
$ npm install -g vaultagent

# Initialize your vault
$ vaultagent init
[/] Vault initialized at ~/.vaultagent

# Add a secret
$ vaultagent add OPENAI_API_KEY
Enter value: ****************************
[/] Secret stored (encrypted)

# Create a session for your AI agent
$ vaultagent session create --agent claude-code --duration 1h
[/] Session created: va_sess_xK7m9pL2qR4tN8vB3cD6fH1j
[/] Secrets injected to environment
[/] Expires in 60 minutes

Supported AI Agents

Claude Code[/] Supported
Cursor[/] Supported
GitHub Copilot[~] Coming Soon
Windsurf[~] Coming Soon