#319319th of 328 in Coding agents and AI editors
ai-shell
CLI that turns natural-language prompts into shell commands via OpenAI
- Stars
- 5.3k
- License
- MIT
- Last commit
- Jan 2026
- Language
- TypeScript
5,191 on 26 Apr 20265,311 on 22 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
AI Shell is an npm-installed CLI (`ai <prompt>`) that sends a plain-language request to OpenAI and returns a suggested shell command with an explanation. You can run it, revise it with another prompt, or cancel. It also has a chat mode, a silent flag to skip explanations, a configurable API endpoint, and 14 interface languages.
Who it is for: Developers who want shell commands generated from plain English in the terminal
Strengths
- Run, revise or cancel step before any generated command executes
- OPENAI_API_ENDPOINT setting allows proxies or compatible endpoints
- Interactive `ai config` UI and 14 interface languages
- One global npm install; Node.js v14 minimum
Weaknesses
- Requires an OpenAI API key with billing; no local model support documented
- Prompts go to a remote API, so it does not work offline
- No tagged releases; last commit 2026-01-05
- Generated commands can be wrong; the confirmation step is the only safeguard
What it needs
- no GPU
- Needs OpenAI API key, Node.js >= 14
- Models: OpenAI (default gpt-4o-mini)
Also in Coding agents and AI editors
See all 328| Rank | Project | Score |
|---|---|---|
| #317 | aiacCLI that generates Terraform, Dockerfiles, k8s manifests and queries from prompts | 26 out of 100 |
| #318 | inferoaTerminal coding agent with a durable /loop mode and prefix-cache-aware context | 26 out of 100 |
| #320 | coffeeWatches React files and generates or edits components from inline prompts | 23 out of 100 |
| #321 | asyncElectron desktop IDE with a built-in agent loop, Git and terminal | 23 out of 100 |
| #322 | chatgpt.nvimNeovim plugin for chat, code editing and actions via the OpenAI API | 21 out of 100 |