Let's do useful things with LLMs from the command line, with a bent towards software engineering.
Butterfish is an innovative command-line tool designed for those who work from the terminal. It enhances your shell (bash, zsh) experience by integrating AI prompting capabilities through OpenAI's APIs. It acts like GitHub Copilot but tailored specifically for shell commands, allowing users to interact with AI directly in their command-line interface.
When running Butterfish Shell, users can perform a variety of tasks, including:
Butterfish is compatible with both MacOS and Linux systems. Here’s how to get started:
During the first use, you will need to provide an OpenAI API key, which can be obtained here.
~/.config/butterfish/prompts.yaml
for more tailored interactions.gpt-4-turbo
, but you can opt for other models as needed.Butterfish Shell includes a feature called Goal Mode, where users can initiate an agent to execute commands on their behalf. By starting a command with !
, the AI will respond with directives while maintaining context through previous shell activities. For instance, using !!
allows the agent to execute commands without confirmation, which should be used cautiously.
Engaging with Butterfish Shell is straightforward:
!
for Goal Mode and !!
for executing commands without confirmation.butterfish shell --help
for more advanced usage options.While Butterfish itself is open-source and free to use, leveraging it necessitates access to OpenAI’s API, which may incur costs depending on your usage and the plan chosen. If frequent use exceeds the free credits, a subscription may be needed for extended access.
-A
flag or adjust the autosuggest timeout using the -t
option.No, you need an API key to authenticate and access AI services through Butterfish.
Yes, while Butterfish uses your command history for contextual awareness, user privacy is prioritized, and sensitive data will not be stored.
Butterfish is designed for shell environments like bash and zsh, making it versatile for both MacOS and Linux users.
You can directly ask Butterfish why certain commands fail, allowing you to troubleshoot efficiently with the AI's assistance.
Go Beyond Keywords. Truly Understand Your Documents.
Transform your ideas into live websites or apps with biela.dev. Use AI-driven prompts to build custom digital products effortlessly
Open Launch is a platform to discover and upvote the best tech products. Find top products launching daily.
Translate image text across 70+ languages with our advanced AI Image Translator to help you better expand your products globally to various countries
Featured
Advertised Here
Reach thousands of visitors daily. Get your spot now!