Now with Ollama — run 100% offline

Talk to your
terminal.

Natural language to shell commands. No subscriptions, no cloud dependency, no login required. Bring your own keys or go fully offline with Ollama.

$ curl -fsSL https://shellai.dev/install.sh | sh
shellai — zsh — 120×32
~7MB Single binary
0 Login required
4+ LLM providers
$29 Pro, pay once

Six modes.
One command.

Everything you need to master your terminal, packed into a single binary with no runtime dependencies.

shellai ask
$ shellai ask "find all node_modules older than 30 days and delete them"
Generated command:
find . -type d -name "node_modules" -mtime +30 -exec rm -rf {} +
[WR] Writes/deletes files. Affects ~14 directories matching pattern.
[DG] Destructive — files cannot be recovered after deletion.
[E]xecute [C]opy [M]odify [Q]uit
shellai explain
$ shellai explain "awk 'NR%2==0' file.txt | sort -t: -k2 -rn | head -20"
Explanation:
awk 'NR%2==0' → prints every even-numbered line from file.txt
sort -t: -k2 -rn → sorts by 2nd colon-delimited field, numerically descending
head -20 → outputs the top 20 results
Risk: Read-only. Safe to run. No data will be modified.
shellai fix
$ gti commit -m "fix typo"
bash: gti: command not found
$ shellai fix !!
Fixed command:
git commit -m "fix typo"
[RO] Safe operation. gti → git
[E]xecute [C]opy [Q]uit
shellai debug
$ ./deploy.sh 2>&1 | shellai debug
Error: EACCES: permission denied, open '/var/log/app.log'
Analysis:
Process doesn't have write access to /var/log/app.log.
Suggested fix:
sudo chmod 664 /var/log/app.log && sudo chown $USER:adm /var/log/app.log
[WR][SU] Requires sudo. Changes file ownership.
shellai build
$ shellai build "watch my Go app, restart on changes, log to file"
Built command:
fswatch -o . | xargs -n1 -I{} sh -c \
'pkill -f "go run" 2>/dev/null; go run . 2>&1 | tee -a app.log'
[WR] Creates app.log. Kills existing processes.

Up and running in 30 seconds.

01 — Install

One-line install

A single curl script drops a self-contained binary onto your path. No Node, no Python, no runtime cruft.

curl -fsSL https://shellai.dev/install.sh | sh
02 — Configure

Point it at your LLM

Export your API key or point it at a local Ollama instance. ShellAI auto-detects which provider to use.

export ANTHROPIC_API_KEY=sk-ant-...
03 — Use it

Just describe what you want

Type natural language. Get the right command with a full safety analysis, every time.

shellai ask "archive logs older than 7 days"

We did the homework.

Here's how ShellAI stacks up against every alternative worth considering.

Feature ShellAI Warp Copilot CLI Gemini CLI Shell-GPT
Free tier BYOK + Ollama 75 credits/mo 2,000 completions 1K req/day BYOK only
Paid pricing $29 once $20/mo $10–39/mo PAYG Free
Login required ✗ None Required GitHub acct Google acct ✗ None
Local LLM (Ollama) ✓ First-class ⚠ Experimental
Smart auto-routing ✓ FrugalRoute
No runtime deps ✓ Single binary Full app Node.js + npm Node.js + npm Python + pip
Error piping
Workflow marketplace ✓ Built-in Warp Drive ⚠ MCP only
Safety analysis ✓ Badges + preview ⚠ Basic ⚠ Basic
MCP server

Pricing as of Q1 2026. Warp at $20/mo Build plan. Copilot CLI requires active Copilot subscription.

Your AI coding
partner. In the
terminal.

A persistent, context-aware AI session that knows your project, your git state, and your shell — like having a senior engineer sitting next to you.

🧠

Full workspace context

Knows your git branch, recent commits, project type, and directory — before you type a word.

Run commands inline

ShellAI suggests commands with [RUN]: — you confirm, it executes and feeds output back as context.

🗂️

Persistent named sessions

Sessions are saved and searchable. Resume exactly where you left off, across days or weeks.

🔍

Cross-session search

Regex search across every conversation you've ever had. Never lose a solution again.

🧩

Automatic task decomposition

Complex requests are silently broken into atomic steps before streaming — so even local models stay on track across multi-step tasks.

Slash commands
/run /compact /search /model /diff /insights /copy /sessions /effort /sync @file Ctrl+E Ctrl+F
Explore Chat docs →
docker-perf-investigation claude-sonnet-4 ctx 42%
you
You
My Docker builds are taking 8+ minutes. Dockerfile hasn't changed but it started after we added the monorepo structure. What should I look at?
>_
ShellAI
In a monorepo, the most common culprit is build context size — Docker sends the entire context to the daemon before it even reads the Dockerfile. Let me check yours first.
▸ RUN
du -sh . && cat .dockerignore 2>/dev/null | wc -l
[RO] safe · read-only
you
You
✓ executed — 4.2G · 3 lines in .dockerignore
>_
ShellAI
4.2GB context — that's the problem. node_modules, build artifacts, and other packages are all being sent. Your .dockerignore has only 3 rules — it needs at minimum:
▸ RUN
cat >> .dockerignore <<'EOF'
**/node_modules
**/.git
**/dist
**/*.log

EOF
[WR] appends to .dockerignore
slash commands — tab to complete
/compact Summarise conversation to free context window
/diff Show git changes since session start
/copy Copy last response to clipboard
/
connected
session: docker-perf-investigation
msgs: 7
Ctrl+F search · Ctrl+E editor

Simple. Honest. No surprises.

No subscriptions. No credit card for the free tier. Pay once for Pro and own it forever.

Free Forever
BYOK / Ollama
$0
Use your own API keys or run fully offline with Ollama. No account, no limits, no tracking.
  • All CLI modes included
  • OpenAI, Anthropic, Gemini, Ollama
  • Auto-routing via FrugalRoute
  • No account required
  • Unlimited usage
  • Community support
Download Free
Cloud
Token Buckets
$5 / 500K tokens
No API key management. We handle everything. Tokens never expire.
  • No API key needed
  • $5 / $15 / $40 buckets
  • Usage dashboard
  • Tokens never expire
  • Team plans available
Get Cloud Access

30-day money-back guarantee on all paid plans · Student discount available · Enterprise? Contact us

Ready-to-run workflows.

Pre-built playbooks for the tasks you do every week. Run with one command, no setup needed.

🐳
docker-cleanup
Remove unused containers, images & volumes
📜
log-rotation
Archive and compress old application logs
🌿
git-cleanup
Remove merged branches safely
📦
deps-audit
Scan for known vulnerabilities in dependencies
💾
backup-db
Dump, compress and upload database to S3
🔐
ssl-check
Check SSL certificate expiry across hosts
☸️
k8s-report
Cluster resource utilisation analysis
📊
disk-report
Find what's consuming your disk space
Browse all workflows

AI agents with
a brain.

Give Claude Desktop, Cursor, and other AI tools intelligent shell access — not a dumb pipe that blindly executes whatever it's told.

🎯

Generates safe commands

Translates natural language to shell, never executes raw user intent blindly.

🛡️

Destructive operation detection

Every command is risk-analysed before execution. Catastrophic patterns are blocked.

📚

Pre-built workflow library

Agents can trigger entire DevOps playbooks with a single tool call.

Learn about ShellAI MCP →
Claude Desktop — ShellAI MCP connected
Tool call · shellai_execute
shell.generate(prompt: "list all services with high memory")
→ ps aux --sort=-%mem | head -20
→ safety: RO · risk: low
shell.execute(confirmed: true)
stdout
USER PID %MEM COMMAND
root 1337 24.1 postgres
app 2891 18.7 node index.js
...

Devs who live in terminals.

★★★★★
Finally an AI shell tool that doesn't try to replace my workflow — it just makes me faster. The safety badges are genuinely useful, not just theater.
MK
Marcus K.
Senior SRE · fintech startup
★★★★★
The offline Ollama support is what sold me. My work laptop can't touch external APIs and this is the only tool that respects that without friction.
SL
Sarah L.
DevOps Engineer · defense contractor
★★★★★
I got burned by Copilot CLI auto-running something destructive once. ShellAI's "never auto-run" principle means I actually trust it. That's worth $29 alone.
TN
Tiago N.
Staff Engineer · e-commerce platform

Ready to talk
to your terminal?

Join developers who've ditched the man pages. Free forever with BYOK.

$ curl -fsSL https://shellai.dev/install.sh | sh