Butterfish Shell: Revolutionizing the Command Line Experience with AI
Butterfish Shell is an innovative tool that brings the power of AI to the command line. It is designed for those who work primarily from the command line and aims to enhance their productivity and efficiency.
Overview
Butterfish Shell integrates seamlessly with bash and zsh on MacOS and Linux. When you run it, it starts a new instance of your shell and intercepts the input and output. By starting a command with a capital letter, you can send a prompt to ChatGPT. The AI has access to your shell history, allowing for contextual questions and assistance.
Core Features
- Integrates with Popular Shells: Works well with bash and zsh, ensuring a smooth experience without interfering with your customized shell settings.
- Capital Letter Prompts: Easily send prompts to ChatGPT by starting a command with a capital letter.
- Manages Shell and Prompting History: Enables you to carry on a conversation with ChatGPT, with the shell history included in the context.
- GPT Autosuggest: Similar to Github Copilot, Butterfish Shell autosuggests commands based on your recent history.
- Customizable Prompts: Gives you control over the prompt language sent to the AI model.
- Select Your Own Model: Allows you to configure Butterfish Shell to use different models.
- Goal Mode: Enables an agent to execute commands to reach a goal, with options for confirmation or automatic execution.
- Transparent Prompts: Makes the prompts sent to the AI model transparent and configurable.
Basic Usage
To install Butterfish Shell, you can use Homebrew on MacOS or go install. The first invocation will prompt you to paste in an OpenAI API secret key. Once installed, you can start using Butterfish Shell by running the appropriate commands. For example, you can ask for commands, get help with command failures, or use Goal Mode to have the agent execute commands on your behalf.
In conclusion, Butterfish Shell is a game-changer for command line users, offering a unique and powerful way to leverage AI in their workflow.