Discover and explore top open-source AI tools and projects—updated daily.
fluffyponyAI-powered terminal assistant for natural language command execution
Top 49.4% on SourcePulse
Summary
nsh is an AI-powered shell assistant designed to enhance terminal productivity by transforming natural language requests into executable commands or direct answers. It targets developers and power users who rely heavily on the command line, offering intelligent assistance without leaving their current shell environment. The core benefit is a significant reduction in cognitive load and execution time for common and complex terminal tasks.
How It Works
nsh wraps the user's shell in a pseudo-terminal (PTY) to capture scrollback and command history, storing it locally in an SQLite database. It dynamically assembles rich context from the OS, project structure, Git state, and terminal output, then leverages configured LLM providers to generate responses. A key architectural choice is its multi-step agent loop, enabling chained tool calls for complex problem-solving, investigation, and verification before executing actions.
Quick Start & Requirements
curl -fsSL https://nsh.tools/install.sh | bash (Unix/WSL/MSYS) or native Windows PowerShell installer. Source builds require Rust 1.85+.nsh autoconfigure --interactive or manually configure ~/.nsh/config.toml. Integrate with your shell via eval "$(nsh init <shell>)".https://nsh.tools/install.sh.Highlighted Details
?, ??, ?!) for standard queries, reasoning, and private modes, with optional auto-execution (!!).Maintenance & Community
The project provides a self-update mechanism via DNS TXT records. No specific community channels or contributor details were found in the README.
Licensing & Compatibility
Licensed under the permissive BSD 3-Clause license, allowing for broad compatibility with commercial and closed-source applications.
Limitations & Caveats
Requires configuration of an LLM provider and API key. The "coding agent" operates with working-directory constraints. While extensive, the README does not detail specific performance benchmarks or known bugs.
4 days ago
Inactive
microsoft