CLI tool for adding AI to your shell
Top 69.5% on sourcepulse
Butterfish is a command-line tool that integrates AI superpowers into your shell (bash, zsh) using OpenAI. It targets developers and power users who spend significant time in the terminal, offering contextual AI assistance for command generation, debugging, and general queries directly within their workflow, eliminating the need for context switching.
How It Works
Butterfish operates by wrapping your existing shell. Users can invoke AI by prefixing commands with a capital letter. The tool leverages shell history as context for AI prompts, enabling natural language queries like "Why did that command fail?" or agent-like execution of tasks with commands starting with "!". This approach provides high-context AI help seamlessly within the terminal.
Quick Start & Requirements
brew install bakks/bakks/butterfish
) or Go (go install github.com/bakks/butterfish/cmd/butterfish@latest
).Highlighted Details
!
).~/.config/butterfish/prompts.yaml
.Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
3 months ago
1 day