Agentic Shell (AGIsh) is an experimental shell where commands are interpreted and run by a large language model (LLM). AGIsh can be used to test and evaluate LLMs on a variety of tasks as well as used as your natural language shell.
- Command completion & directory autocomplete
- History (persistent across sessions)
- Use your own API keys
- Agentic loop to fix commands
- Pipe commands into shell to run
- Mac OS & Linux shell support
- Run against multiple LLM providers (in progress)
- Windows & Powershell support (in progress)
- Support for plugins to extend agish functionality
- Run with local LLM models
- Support for .agishrc file to set default LLM provider, API keys, etc.
- MCP Server support
- Interactive commands (vim, nano, top, read, etc.) - these are not supported because they require stdin input and are not supported by the current version of agish. Adding proper support for these will require recreating an entire terminal emulator (or using node-pty with custom shell interceptors for every shell) in agish which is not a goal of this project.
Download from releases, chmod +x and move to a directory in your PATH or follow one of the guides below.