@priv8/cli
v1.0.2
Published
Official CLI for Priv8Agent — run powerful AI agent tasks from your terminal
Maintainers
Readme
Priv8Agent CLI
Run powerful AI agent tasks directly from your terminal.
Install
npm install -g priv8agent-cliQuick Start
# Set your API token (get it from app.privatehash.online)
priv8 config set token YOUR_TOKEN
# Run a task
priv8 "write a Python script to parse CSV files"
# Use a specific model
priv8 --model deepseek-reasoner "solve this math problem: ..."
# Analyze a file
priv8 --file data.csv "find the top 10 customers by revenue"
# Continue a previous session
priv8 --session abc123 "now add error handling"
# Interactive chat mode
priv8 interactiveCommands
| Command | Description |
|---|---|
| priv8 "task" | Run a task |
| priv8 --session <id> "task" | Continue a session |
| priv8 --model <model> "task" | Use a specific model |
| priv8 --file <path> "task" | Attach a file to the task |
| priv8 --url <url> "task" | Process a URL |
| priv8 sessions | List recent sessions |
| priv8 history <id> | Show session history |
| priv8 interactive | Interactive chat mode |
| priv8 config | Show current config |
| priv8 config set <key> <val> | Set a config value |
Models
| Model ID | Name | Description |
|---|---|---|
| deepseek-chat | Priv8 Brain | Default, fast, full tools |
| deepseek-reasoner | Priv8 Think | Deep reasoning, chain-of-thought |
| or/claude-sonnet-4-6 | Priv8 Elite | Claude Sonnet (premium) |
| or/claude-opus-4-6 | Priv8 Ultra | Claude Opus (premium) |
| gemini/flash | Priv8 Flash | 1M context, vision |
| or/codestral | Priv8 Code | Code specialist |
Configuration
Config is stored at ~/.priv8/config.json:
priv8 config set apiUrl wss://app.privatehash.online/api/ws
priv8 config set token YOUR_JWT_TOKEN
priv8 config set model deepseek-chatLinks
- Web App: https://app.privatehash.online
- Docs: https://app.privatehash.online/docs
