HomeAI Code AssistantButterfish
Butterfish

Butterfish

Shell with AI superpowers

AIshellcommand line
Visit Website

Introduction

Butterfish is a shell with AI superpowers

Key Features

AI prompting with OpenAI

Autocomplete shell commands

Customizable prompts

Goal Mode for executing commands to reach a goal

Transparent Prompts

GPT autosuggest similar to Github Copilot

Integration with bash and zsh shells

Support for MacOS and Linux

Frequently Asked Questions

What is Butterfish?

Butterfish is a shell with AI superpowers

How to use Butterfish?

Start the Butterfish shell wrapper by typing 'butterfish shell' in your terminal. Use your shell as normal, and start a command with a capital letter to prompt the AI. The AI sees the shell history and can provide contextual help and suggestions.

How does Butterfish work?

Butterfish intercepts shell input and output, allowing users to prompt the AI by starting commands with a capital letter. The AI leverages the shell history to provide contextual help and suggestions.

How can I install Butterfish?

You can install Butterfish via Homebrew on MacOS or by using 'go install' command. Authentication requires an OpenAI API key.

What shell does Butterfish support?

Butterfish integrates well with bash and zsh on MacOS and Linux.

What is Goal Mode?

Goal Mode in Butterfish allows the AI to execute commands on its own to reach a specified goal. Users can trigger Goal Mode by starting a command with '!' in the shell.

Use Cases

  • Getting AI-powered contextual help in the command line
  • Asking the AI for command recommendations
  • Debugging commands and fixing issues
  • Summarizing files
  • Managing embeddings of local files

How to Use