Loading...
Loading...
Command-line interface for Novita AI - An OpenAI-compatible AI API client for DeepSeek, GLM, and other models.
npx skill4agent add hkuds/cli-anything cli-anything-novitapip install cli-anything-novita# Show help
cli-anything-novita --help
# Start interactive REPL mode
cli-anything-novita
# Chat with model
cli-anything-novita chat --prompt "What is AI?" --model deepseek/deepseek-v3.2
# Streaming chat
cli-anything-novita stream --prompt "Write a poem about code"
# List available models
cli-anything-novita models
# JSON output (for agent consumption)
cli-anything-novita --json chat --prompt "Hello"cli-anything-novita
# Enter commands interactively with tab-completion and history| Command | Description |
|---|---|
| Chat with the Novita API |
| Stream chat completion |
| Command | Description |
|---|---|
| Show session status |
| Clear session history |
| Show command history |
| Command | Description |
|---|---|
| Set a configuration value |
| Get a configuration value (or show all) |
| Delete a configuration value |
| Show the config file path |
| Command | Description |
|---|---|
| Test API connectivity |
| List available models |
# Set API key via config file (recommended)
cli-anything-novita config set api_key "sk-xxx"
# Or use environment variable
export NOVITA_API_KEY="sk-xxx"# Simple chat
cli-anything-novita chat --prompt "Explain quantum computing" --model deepseek/deepseek-v3.2
# Streaming chat
cli-anything-novita stream --prompt "Write a Python function to calculate factorial"# Verify API key and connectivity
cli-anything-novita test --model deepseek/deepseek-v3.2
# List all available models
cli-anything-novita models| Model ID | Provider | Description |
|---|---|---|
| DeepSeek | DeepSeek V3.2 model (default) |
| Zhipu AI | GLM-5 model |
| MiniMax | MiniMax M2.5 model |
--json# Human output
cli-anything-novita chat --prompt "Hello"
# JSON output for agents
cli-anything-novita --json chat --prompt "Hello"--json