Introducing Whisp - Your AI Co-pilot for the Terminal
Whisp is an AI-powered shell assistant that generates commands from natural language, fixes errors automatically, and keeps you in the flow.
We're excited to announce Whisp, an AI-powered shell assistant that brings natural language to your terminal.
Why We Built Whisp
Every developer has experienced that moment โ you know what you want to do, but the exact command syntax escapes you. Whether it's a complex find command, arcane git operations, or system administration tasks, memorizing every flag and option is impractical.
Whisp changes this. Describe what you want in plain English, and Whisp translates it into the exact command you need.
Key Features
Natural Language Commands
Type a comma followed by your query:
, find all python files modified in the last week
, show disk usage by directory sorted by size
, list running docker containers with their portsWhisp generates the command and adds it to your shell history โ press Up to use it.
Automatic Error Recovery
When commands fail, Whisp analyzes the error and suggests fixes. No more copying error messages into search engines:
$ npm run build
> Error: Cannot find module 'react'
Whisp suggests:
> npm install react
(Added to history - press Up to use)Explain and Dry-Run
Understand unfamiliar commands before running them:
,. tar -czvf archive.tar.gz ./docs # Explain what this does
,d rm -rf ./node_modules # Preview effects without runningMultiple Providers
Choose from 5 LLM providers based on your needs:
- OpenAI โ Fast and reliable (default:
gpt-5-nano-2025-08-07) - Anthropic Claude โ Strong reasoning (default:
claude-sonnet-4-20250514) - Ollama โ Local and private, no API key needed
- Google Gemini โ Large context window
- Cerebras โ High-speed inference
Switch providers with a single command:
whisp config set provider ollama
whisp restartPipe Mode
Analyze command output with AI:
cat server.log | , summarize errors
git diff | , explain these changes
kubectl get pods | , which pods are failingInteractive Chat
For complex problems that need back-and-forth:
whisp chatSafety Features
Whisp protects you from dangerous commands:
- Destructive command detection: Confirms before running
rm -rf,dd,mkfs, fork bombs - Secret redaction: API keys, tokens, and credentials are stripped before sending to LLMs
Metrics and Cost Tracking
Monitor your usage:
whisp metrics # Response times, token usage
whisp metrics --period day # Filter by time period
whisp health # Daemon uptime, memory, requestsArchitecture
Whisp runs as a lightweight daemon that handles all LLM communication. This means:
- Fast responses (no cold starts)
- Session context across commands
- Automatic rate limiting and retries
- Works offline with Ollama
Shell Integration
Whisp integrates with bash, zsh, and fish. All shortcuts work the same across shells:
| Shortcut | Action |
|---|---|
, | Generate command from query |
,! | Run last generated command |
,. | Explain a command |
,d | Dry-run (preview effects) |
,, | Show alternative commands |
,/ | Search history |
,c | Copy to clipboard |
Ctrl+F | Quick query mode |
Getting Started
Install Whisp in one line:
curl -fsSL https://github.com/n-f9/whisp/releases/download/latest/install.sh | bashOr build from source:
git clone https://github.com/n-f9/whisp.git
cd whisp
./install.shRun the setup wizard:
whisp initCheck out the installation guide for detailed instructions.