Talk to your shell in natural language (runs locally with Ollama) (github.com)

🤖 AI Summary
A new command-line interface (CLI) tool, "ask," has been unveiled, allowing users to interact with their shell using natural language queries. This innovative application utilizes Ollama models to translate plain language requests into shell commands, all processed locally without requiring any API keys or cloud interaction. Significantly, it is designed to be project-aware, detecting languages such as Go, Node.js, Python, and Rust to tailor commands accordingly, thereby enhancing the coding experience. The tool offers several intriguing features, including an interactive Read-Eval-Print Loop (REPL), command explanations, and safety warnings for potentially dangerous commands like `rm -rf`. Users can engage in a conversational format, asking for command help or clarifications whenever needed, making the CLI approach more intuitive for novices and experts alike. With its focus on privacy and locality, "ask" represents a meaningful step towards enabling seamless interaction with codebases while bridging the gap between coding knowledge and practical implementation in the AI/ML community.
Loading comments...
loading comments...