Installation
- pip (Python)
- npm (Node.js)
- curl (no install)
vrin command globally.Authentication
Set your API key as an environment variable:Quick start
Output modes
The CLI automatically detects its environment:
JSON output format:
For AI agents
VRIN is built to be called by AI agents. Key patterns: 1. Auto-discovery: Runvrin --describe to get a machine-readable JSON schema of all commands, arguments, and flags. Point your agent here first.
--json when invoking programmatically:
4. Errors go to stderr, data goes to stdout. Your agent can parse stdout for results and stderr for errors independently.
Next steps
- Query commands — modes, depth levels, streaming, conversations
- Knowledge commands — insert, upload, bulk-insert, async jobs
- Admin commands — health, limits, specialization, graph
- Auth commands — login, register, API key management
- Python SDK — programmatic access from Python code
- MCP Server — connect VRIN to Claude, Cursor, or any MCP-compatible agent
- Vrin for AI Agents — the 3-minute agent-onboarding page