ButterfishButterfish

What is Butterfish?

Butterfish is a command-line tool that adds AI prompting to your shell (bash, zsh) using OpenAI or compatible APIs. It’s like Github Copilot for your shell, allowing you to use LLMs for software engineering tasks directly from the command line. It provides contextual AI help, command autocompletion, and more.


How to use Butterfish?

Install Butterfish via Homebrew or go install. Run `butterfish shell` to start a new shell instance with AI capabilities. Start commands with a capital letter to prompt the AI. Use `!` for Goal Mode and `!!` for Unsafe Goal Mode.


Butterfish’s Core Features

AI prompting in shell (bash, zsh) Command autocompletion Goal Mode for automated task execution Customizable prompts Integration with OpenAI and compatible APIs


Butterfish’s Use Cases

  • Getting command suggestions
  • Debugging command failures
  • Automating tasks with Goal Mode
  • Generating shell commands from prompts
  • Summarizing text from the command line

Relevant Navigation