Command Reference
Complete reference for every command in the Knaix CLI. All commands require authentication unless otherwise noted.
Authentication
login
v0.3.3Initiates SSO login via the Kovalent Identity Center. Opens your default browser to authenticate, then stores the JWT token and username locally in ~/.knaix/config.json. A local callback server is spawned on port 4242 to receive the auth response.
$ knaix login
Starting Knaix SSO Login...
Opening browser to: https://app.kovalentai.com/cli-auth...
✓ Successfully logged in!
Welcome, diego!
Info: Synchronizing with private mesh..
status
v0.3.3Displays your current authentication state, default node context, and API endpoint. This command reads from your local ~/.knaix/config.json, which is protected with 0o600 permissions.
$ knaix status
Knaix CLI Configuration:
Username: diego
Default Node: claude-ai-demo
API URL: https://api.kovalentai.com
Auth: Connected (Active Session)
Context & Configuration
use
v0.3.3Set a default node context for subsequent commands. This allows you to omit the <node-id> argument in other commands. Knaix will persist this to your config using the atomic-save pattern.
$ knaix use <node-id>
Info: Set default node to claude-ai-demo
Node Management
list (alias: ls)
v0.3.3Lists all AI nodes provisioned in your account. For each node, displays status, private IP, and the active model. Also supports listing documents within a specific node's knowledge base.
Options
[node-id]Optional. If provided, lists documents stored in the Knowledge Base for that specific node.$ knaix list [node-id]
Your Kovalent Nodes:
Claude-Node-Alpha
Node ID: claude-e146c33e46
Status: running
IP: 100.64.12.5
Model: anthropic.claude-3-5-sonnet-20241022-v2:0
AI Interaction
repl
v0.3.3Launches an immersive, continuous AI session. Features include persistent history, multi-line support, and rich Markdown rendering for agent responses.
$ knaix repl [node-id]
[Knaix] AI Session: Claude-Node-Alpha (Type /exit to end)
knaix [Claude-Node-Alpha]> /remember I work on highly classified projects
Intent recognized: I work on highly classified projects
✓ Explicit memory securely stored and available across sessions.
knaix [Claude-Node-Alpha]> /memory
Thinking... (busy)
AI: Here is a summary of what I know about you...
chat
v0.3.3Send a single message to a node. If no node ID is specified, Knaix features 'Smart Failover' - it will automatically trigger the selection menu if your default node is unreachable.
$ knaix chat 'Hello, World!' [node-id]
Thinking... (busy)
Info: Responding...
Rust provides memory safety without garbage collection...
memory
v0.3.3View files stored in your Sovereign Agentic Memory local isolated directory. If run without a file argument, the command lists all tracked memory files for the node. If given a file name, it reads the memory file and elegantly renders the markdown into your terminal.
Options
-f, --file <file>Specific memory file to read instead of listing.$ knaix memory [node-id] [OPTIONS]
● Sovereign Memory | Node: claude-ai-demo
Use `knaix memory --file <filename>` to read a file.
📄 _knaix_durable_memory.md
📄 _knaix_ephemeral_log.md
upload
v0.3.3Upload a local file to a node's document storage for RAG. Includes real-time byte-rate tracking and ETA progress bars.
$ knaix upload <file-path> [node-id]
Uploading research-paper.pdf (1.2 MB)
[===================>---------] 1.2MB/2.4MB (12MB/s)
✓ research-paper.pdf uploaded to knowledge base.
Observability
metrics
v0.3.3Retrieve real-time health and performance metrics for a specific node. Shows the node's health status (HEALTHY/UNHEALTHY), response latency in milliseconds, and the last health check timestamp.
$ knaix metrics [node-id]
[Metrics] Fetching metrics for claude-e146c33e46...
Node Health & Metrics:
Node ID: claude-e146c33e46
Status: HEALTHY
Latency: 16ms
Checked: 2026-02-15T10:30:00Z
logs
v0.3.3Stream application logs from a private node. Fetches the last N lines from the node's system log endpoint through the private proxy. Useful for debugging agent behavior and monitoring request flow.
Options
-l, --lines <N>Number of log lines to retrieve. Default: 100.$ knaix logs [node-id] [OPTIONS]
[Logs] Streaming logs for agent-prod-1 (last 100 lines)...
--- Log Start ---
[2026-02-15 10:28:01] INFO: Received chat request
[2026-02-15 10:28:02] DEBUG: Querying local vector store
[2026-02-15 10:28:05] INFO: Generated response (142 tokens)
--- Log End ---
Need more control?
Explore private mesh networking, SSO configuration, and manual config file editing in the advanced guide.
Advanced Config ->