Talk to AI from your terminal ยท v4.1.0

๐Ÿ’ฌ Live Chat ยท via WebSocket Disconnected
Connect and start chatting with AI โšก

โšก Quick Start

Install and start using AI from your terminal in seconds.

# Option 1: Run directly
node cli/proxima-cli.cjs ask claude "What is AI?"

# Option 2: npm script
npm run cli -- ask claude "Hello"

# Option 3: Register globally (use from any folder on this PC)
npm link
proxima ask claude "Hello"
๐Ÿ“‹ All Commands
ask [model] "msg"
Chat with any AI provider
compare "question"
Ask all providers, compare side-by-side
search "query"
Web search via Perplexity
brainstorm "topic"
Generate creative ideas
translate "text" --to Lang
Translate to any language
code "description"
Generate / review / explain code
debate "topic"
Multi-AI debate on any topic
audit "code"
Security vulnerability scan
analyze "url"
Analyze URL or content
fix "error" NEW
Fix errors with AI help
models
List all providers (ON/OFF)
status
Server health check
stats
Provider response times
new
Reset all conversations
๐Ÿค– Provider Control

Choose Your AI

# Specific provider
proxima ask claude "Explain quantum computing"
proxima ask chatgpt "Write a poem about AI"
proxima ask gemini "Summarize this topic"
proxima ask perplexity "Latest news on AI"

# Auto-pick best available
proxima ask "Hello"
proxima ask auto "Hello"

# All providers at once
proxima ask all "What is consciousness?"
proxima compare "Is water wet?"
๐Ÿ”ง Context-Aware Features SMART

Pipe command output, errors, or file content directly to AI for instant help.

๐Ÿ“ฅ Pipe Error Output

# Build error โ†’ AI fixes it
npm run build 2>&1 | proxima fix

# Python error โ†’ AI fix
python app.py 2>&1 | proxima fix

# Any command output
docker logs app | proxima ask "any errors?"

๐Ÿ“„ File as Context

# Explain a file
proxima ask "explain this" --file src/app.js

# Review a file
proxima ask "review for bugs" --file server.py

# Fix error with source file
proxima fix "TypeError" --file src/utils.js

๐Ÿ”€ Pipe + Question

# Log analysis
cat error.log | proxima ask "what went wrong?"

# Git changes โ†’ code review
git diff | proxima code review

# Config check
cat nginx.conf | proxima ask "any issues?"

โšก Auto-Fix Mode

# Just pipe anything โ€” auto detects
npm test 2>&1 | proxima fix
cargo build 2>&1 | proxima fix
go build . 2>&1 | proxima fix

# Even without a command name:
some-command 2>&1 | proxima
๐Ÿ’ป Code Tools

Generate, Review, Explain, Debug

# Generate code
proxima code "REST API with auth" --lang Python
proxima code "sort algorithm" --lang JavaScript

# Review code
proxima code review "def fib(n): return fib(n-1)+fib(n-2)"
cat app.js | proxima code review

# Explain code
proxima code explain "async/await patterns"
cat complex.py | proxima code explain

# Debug
proxima code debug "function fails on empty array"
โš™๏ธ Options & Environment

Flags

--model, -m    Specify AI model
--to           Target language (translate)
--from         Source language (translate)
--lang, -l     Programming language (code)
--file         Send file as context
--q            Question for analyze
--json         Raw JSON output

Environment Variables

# Custom port
set PROXIMA_PORT=4000
proxima ask claude "Hello"

# Custom host
set PROXIMA_HOST=192.168.1.100
proxima status

# Default: 127.0.0.1:3210
Proxima CLI v4.1.0 โ€” Zen4-bit โšก