Features¶
Smart-Shell offers a rich set of features to make your terminal experience smarter and safer:¶
-
๐ง Natural Language to Command
Convert plain English into valid Bash/Zsh commands instantly. -
๐ Shell Auto-Detection
Automatically detects and supports both Bash and Zsh environments. -
๐ฌ Interactive Mode with Command History
Rich REPL interface with protected prompt and support for special commands like:
!help
,!docs
,!models
,!history
,!clear
,!redo
,!last
,!creator
,!forget-sudo
,!update
,!errors
,!web
, and more. -
๐ก๏ธ Built-in Safety System
Analyzes each command and classifies it into four risk levels with detailed reasoning: - โ Safe โ Executed automatically.
- ๐ต Info Leak โ May expose sensitive data (requires confirmation).
- ๐ก Medium โ Sudo operations and system changes (requires y/n confirmation).
-
๐ด High โ Dangerous operations like file deletion (requires y/n confirmation).
This ensures potentially destructive commands are never run without user awareness. -
๐ค AI-Powered Command Planning
Generates and refines shell commands using Google Gemini models. -
๐ Multi-Model Support with Smart Warnings
Easily switch between Gemini Pro, Flash, and Legacy models with detailed cost information and confirmation prompts for premium models. -
๐ณ Smart Cost Awareness
Real-time model pricing information with detailed cost breakdowns and confirmation prompts when switching to premium models. -
๐งช Dry-Run Mode
Preview the exact command before execution for extra safety and transparency. -
๐ Standard CLI Commands
Includes--help
,--version
, and other CLI flags for quick access. -
๐ฅ๏ธ Desktop Integration
Comes with a.desktop
entry โ launch directly from your system's Application Menu. -
โจ๏ธ Tab Completion
Supports intelligent tab completion for both Bash and Zsh shells. -
๐ Simple Setup
Easy configuration of your API key and sudo password during first run. -
๐ Web Search Integration
When enabled, Smart-Shell performs relevant web searches in real-time to enhance command accuracy.
AI combines local knowledge with live web results to refine its suggestions โ giving you smarter, context-aware commands.
You can toggle web search anytime using the!web
command. -
โก Modern CLI Experience
A clean and user-friendly terminal UI with colorful output and rich formatting. -
๐ ๏ธ Open Source & Extensible
Easily extend functionality or contribute โ fully open and developer-friendly. -
๐ฆ Reliable Installation with pipx
Install and manage Smart-Shell usingpipx
for an isolated and reliable setup, adhering to modern Linux standards (PEP 668). -
๐ Smart Update System
Real-time version checking against GitHub releases with automatic updates using!update
command. -
๐ Protected Interactive Prompt
Smart prompt protection prevents accidental deletion of the "Smart-Shell (model):" prefix when backspacing. -
๐จ Smart Command Detection
Detects when users try to run Smart-Shell CLI commands within the interactive mode and provides helpful guidance. -
โก Enhanced AI Performance
Optimized generation parameters and more resilient error handling for faster, more reliable command generation. -
๐ฏ Flexible Confirmation System
All confirmations accept bothy
/yes
andn
/no
responses in any case for better user experience.
For a full list of commands and usage, see the Installation and Usage docs.