Skip to content

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 using pipx 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 both y/yes and n/no responses in any case for better user experience.

For a full list of commands and usage, see the Installation and Usage docs.