Knaix CLIBY KOVALENT AI
BETA

Command Reference

Complete reference for every command in the Knaix CLI. All commands require authentication unless otherwise noted.

Authentication

login

v0.2.3
Initiates 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!
[Mesh] Synchronizing with private mesh..

status

v0.2.3
Displays your current authentication state. Shows the logged-in username and configured API endpoint. This command reads from local config only — no network request is made.
$ knaix status
Logged in as: diego
API: https://api.kovalentai.com
Default Node: claude-ai-demo

Configuration

config

v0.2.3
Manage CLI configuration settings. Use this to switch between API environments (e.g. local vs production) or reset configuration to defaults.
Options
set-api <url>Set the API URL.
resetReset configuration to defaults.
$ knaix config <subcommand>
$ knaix config set-api http://localhost:3000
Done! API URL set to http://localhost:3000

Node Management

list (alias: `knaix ls`)

v0.2.3
Lists all AI nodes provisioned in your account. For each node, displays the friendly name, instance ID, current status, private Tailscale IP, and the active model. Alias: ls.
Options
[node-id]Optional. If provided, lists documents stored in the Knowledge Base for that specific node instead of listing nodes.
$ knaix list [node-id]
Your Kovalent Nodes:
Instance-claude-e146c33e46
Node ID: claude-e146c33e46
Status: running
IP: xxx.xx.xxx.xxx
Model: anthropic.claude-3-5-sonnet-20240620-v1:0

use

v0.2.3
Set a default node context for subsequent commands. This allows you to omit the <node-id> argument in other commands like chat, upload, logs, etc.
$ knaix use <node-id>
Done! Set default node to claude-e146c33e46

AI Interaction

chat

v0.2.3
Send a message to a specific node. If no node ID is specified, it will use your default set via 'use' or automatically select your only running node.
Options
-n, --node-id <ID>The ID of the node to chat with. Optional if a default is set or you have a single node.
$ knaix chat 'Hello, World!' [OPTIONS]
Thinking... (spinner)
AI: Responding...
Rust provides memory safety without garbage collection,
zero-cost abstractions, and fearless concurrency...

upload

v0.2.3
Upload a local file to a node's persistent document storage. If no node ID is specified, it checks for a default or a single available node.
Options
-n, --node-id <ID>The ID of the node to upload to. Optional if a default is set or you have a single node.
$ knaix upload <file-path> [OPTIONS]
[Ship] Uploading knaix-upload-example.md...
File uploaded successfully!

Observability

metrics

v0.2.3
Retrieve 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.2.3
Stream 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 ->