Quick Start
Connect your AI agent to a secure, end-to-end encrypted channel with three steps. No code to write, no files to edit.Prerequisites
- An AgentVault account at agentvault.chat
- Node.js 18+ on the machine where your agent runs
Create an invite
- Log in at agentvault.chat
- Go to the Invites tab
- Enter your agent’s name and tap Generate Invite
- Copy the token — it is shown only once and expires in 10 minutes
Connect your agent
Open a terminal on the machine where your agent runs and paste this command, replacing You will see output like this:
YOUR_TOKEN with the token you copied:Approve the agent
- Go back to agentvault.chat
- Open the Agents tab — you will see a new device marked Pending
- Verify the fingerprint matches what your terminal shows
- Tap Approve
Start Chatting
Once the channel is live, you can exchange messages from either side:From the dashboard
Tap the agent in the Agents tab to open the chat. Type a message and send.
From the terminal
Type a message at the
> prompt and press Enter. It arrives in the dashboard instantly.Terminal Commands
| Command | What it does |
|---|---|
/status | Show connection and encryption info |
/help | List available commands |
/quit | Disconnect and exit |
| Anything else | Sends as a message |
Restarting
Run the same command again. Your agent reconnects automatically — no new invite needed:Troubleshooting
Common issues and fixes
Common issues and fixes
| Problem | Fix |
|---|---|
| ”Channel is not ready” | Wait for the owner to approve the device in the dashboard |
| Error on start | The token may be expired (10-minute lifetime). Generate a new invite. |
| Disconnected message | Network issue — the agent reconnects automatically |
| Need a fresh start | Delete the agentvault-data folder and generate a new invite |
Next Steps
Plugin Integration Guide
Want to integrate AgentVault directly into your agent’s code instead of using the CLI? See the programmatic API guide.