butterfish-shell

butterfish-shell

Butterfish Shell is an open-source CLI tool that wraps your existing shell (bash/zsh) and adds integrated ChatGPT-style LLM prompting, autosuggestions, and an optional agent (Goal Mode) so you can ask for commands, debug failures, and get contextual help directly in the terminal.

butterfish-shell is developer tools software teams evaluate for developer tools. Use this page to review pricing, integration signals, and the best alternatives before you commit.

Freemium Enterprise
#69 in Developer Tools (69 tools)
Added 0 year ago
Data reviewed Jul 16, 2026

Profile facts come from the vendor source. AiMatch labels unknown pricing or API details instead of estimating them.

Review official source →

Quick Overview

Best for: Developer Tools

What it does

Developer Tools software for decision-makers comparing workflow fit and alternatives.

Best fit

Developer Tools

Pricing snapshot

Freemium from Free (MIT license)

Next step

Compare butterfish-shell with similar tools before you shortlist it.

Compare this tool before you shortlist it

Review alternatives, pricing posture, and workflow fit side by side.

butterfish-shell

Butterfish Shell is a shell wrapper that provides integrated LLM prompting and autosuggestions inside your existing terminal (bash or zsh) on macOS and Linux. By starting a command with a capital letter you send a prompt to an OpenAI-compatible model; the LLM receives recent shell history and output so you can ask contextual questions like why a command failed or request a command to accomplish a task. It also includes Goal Mode (agents that propose or optionally execute commands), CLI utilities for summarization, embeddings-based indexing/search, and a Neovim plugin for LLM-driven edits. Butterfish is open source (MIT) and stores configurable prompt wrappers and auth tokens in the user's configuration directory.

AI-powered command-line tool for shell prompting and autocompletion.

Own this listing?

Claim this page for a one-time $29 to add pricing, features, screenshots, verified owner details, and a clearly labeled 30-day category position after the profile is live.

Claim this listing for $29

Key Features

Shell wrapper for bash and zsh

Runs a wrapped instance of your existing shell (defaults to zsh on macOS), intercepts IO and buffers input/output to provide contextual LLM prompting without altering typical shell workflows.

Prompt by capitalized commands

Start a command with a capital letter to send it as a ChatGPT-style prompt; the AI sees recent shell history and output so you can ask contextual questions and iterate on answers.

Goal Mode (agent)

Start a command with ! to let Butterfish propose commands to achieve a goal and with !! to allow unsafe execution without confirmation; the agent can iterate on failures and request feedback.

GPT autosuggest

Provides command autosuggestions (Copilot-like) based on shell history and LLM outputs, which can be applied with Tab; autosuggest model and timeout are configurable.

Configurable and transparent prompts

Prompt wrappers are visible and editable at ~/.config/butterfish/prompts.yaml; verbose mode prints raw API requests/responses and logs to a temp file.

Model & provider flexibility

Defaults to OpenAI but can target any OpenAI-compatible API via --base-url (-u), and the manual/ autosuggest models are configurable with flags like -m and -a.

CLI utilities (summarize, index, gencmd, etc.)

Includes commands to summarize files, generate shell commands from prompts (gencmd), manage embeddings and index local files for semantic search (index, indexsearch, indexquestion).

Neovim plugin

butterfish.nvim enables LLM prompting from inside Neovim to rewrite code blocks and perform in-editor LLM tasks.

Installation options

Install via Homebrew (brew install bakks/bakks/butterfish) or go install; first run prompts for an OpenAI API key and stores it at ~/.config/butterfish/butterfish.env.

Verbose logging and debugging

Verbose flags (-v, -vv, -L) expose full LLM prompts and responses and may write logs to /var/tmp/butterfish.log for inspection.

Pricing

Free Tier Available

Butterfish itself is open source and free to use under the MIT license. However, using LLM features requires an OpenAI API key and may incur charges from OpenAI (the page notes you will need a subscription or pay for API use if you do not have free credits).

Open Source

Free (MIT license)
  • Complete Butterfish source and CLI available under the MIT license
  • Installable via Homebrew or go install

Use Cases

Generate shell commands

Ask the LLM for a command to accomplish a task (e.g., find files, install deps) and receive suggested commands that include context from recent history.

Debug failing commands

Ask 'Why did that command fail?' and the LLM, with access to shell output, will explain failures and suggest corrected commands.

Agentic task execution (Goal Mode)

Use Goal Mode to have the agent propose and iterate on commands to reach a stated goal, optionally allowing unsafe execution with !!.

Code/file summarization and search

Use the summarize and embeddings-based index/indexsearch/indexquestion commands to semantically summarize files and query local codebases.

Autocomplete and command suggestions

Receive Copilot-style autosuggestions in the terminal based on prior commands and LLM outputs, applied with Tab.

LLM-driven edits in Neovim

Use the butterfish.nvim plugin to prompt LLMs from within Neovim for code transformations and rewrites.

General ChatGPT-style prompts

Because it exposes a ChatGPT interface, you can also ask general questions (e.g., recipes) directly from the terminal.

Integrations

OpenAI (and OpenAI-compatible APIs)

Uses OpenAI models by default and accepts a --base-url (-u) for any OpenAI-compatible API including local model servers.

Neovim (butterfish.nvim)

Plugin for prompting LLMs and performing edits from within Neovim.

Homebrew / Go toolchain

Distributed via Homebrew formula and as a Go installable binary.

Benefits

High-context AI assistance directly in the terminal without copy/paste by including shell history and outputs in prompts.
Speeds up command-line workflows with autosuggested commands and an ability to iterate on LLM responses conversationally.
Transparent and editable prompts let users control model instructions and behavior instead of hidden wrappers.
Flexible model/provider support for using OpenAI or any compatible local/remote API endpoint.
Open-source MIT-licensed project that can be audited, extended, and integrated into developer workflows.

Limitations

Goal Mode is experimental and "hit or miss"; success varies with task complexity and guidance.
Agent may struggle with manipulating very large text/code files and is biased toward specific command versions or flags.
History and large command outputs are truncated to fit model token windows (per-token limits and truncation rules apply).
Unsafe Goal Mode (!!) can execute commands without confirmation and is potentially dangerous; use with caution.

Frequently Asked Questions

Which platforms and shells does Butterfish support?
Butterfish works on macOS and Linux and wraps common shells such as bash and zsh (zsh is the default on macOS).
How do I install Butterfish?
Install via Homebrew on macOS: brew install bakks/bakks/butterfish, or install from source with go install github.com/bakks/butterfish/cmd/butterfish@latest.
Where is my OpenAI API key stored?
The OpenAI token is written to ~/.config/butterfish/butterfish.env (e.g., OPENAI_TOKEN=sk-foobar).
Is Butterfish free?
Butterfish is open source under the MIT license and free to use; however, LLM usage requires an OpenAI API key and may incur charges from OpenAI if you lack free credits.

Getting Started

  1. 1 Install Butterfish: either brew install bakks/bakks/butterfish (macOS) or go install github.com/bakks/butterfish/cmd/butterfish@latest.
  2. 2 Run the shell wrapper: start it with butterfish shell (or alias bf="butterfish" to shorten).
  3. 3 Provide OpenAI credentials when prompted: paste your OpenAI API key; it's saved to ~/.config/butterfish/butterfish.env.
  4. 4 Optionally configure model, autosuggest, prompts, and verbose logging via flags and by editing ~/.config/butterfish/prompts.yaml.
  5. 5 Use the command reference (butterfish shell --help and butterfish --help) to explore features like Goal Mode, autosuggest, and the CLI utilities.

Support

GitHub (issues/repo)

Project and support available at https://github.com/bakks/butterfish for issues, feedback, and source code.

Docs / CLI help

In-tool help via butterfish --help and butterfish shell --help; verbose logging (-v, -vv) and logs are written to /var/tmp/butterfish.log.

API

Available: No

Compare butterfish-shell with similar tools

See how it stacks up against alternatives

Free
Docs.dev Your Own Hosted Docs Platform in Minutes

Docs.dev Your Own Hosted Docs Platform in Minutes

Docs.dev is a deployable documentation template that runs as a Cloudflare Worker in your account, using your GitHub repo as the source of truth and agent-powered drafting (e.g., Claude Code or Codex) to generate reviewable docs branches that your team publishes via commit.

Developer Tools
High-growth
Free
Bullet · Fast, by design.

Bullet · Fast, by design.

Bullet is a fast coding agent and developer tool that routes, searches, and executes code-focused tasks with a tight loop to minimize latency — offered as a macOS download and currently available in private beta.

Developer Tools
High-growth
Free
Codify

Codify

Codify is a cross-platform tool that declares and automates developer environments as code—via a CLI and dashboard—so teams and individuals can standardize, reproduce, and apply development setups on macOS, Linux, and WSL.

Developer Tools
High-growth
Contact for pricing
Make Sense of Any GitHub PR

Make Sense of Any GitHub PR

MakeSense (powered by LiveReview) gives a concise, easy-to-understand explanation of any public GitHub pull request, classifies issues by severity across security/maintainability/performance/correctness, and includes a short quiz to check understanding — ready in under 30 seconds.

Developer Tools
High-growth
Paid
OTP Inspired actor supervisor based full stack templates

OTP Inspired actor supervisor based full stack templates

ShipStacks provides production-grade, OTP-inspired full-stack SaaS templates that include supervisors/actor patterns, auth, payments, uploads, AI chat and agent playbooks, and Docker-ready deployment in multiple languages and frameworks.

Developer Tools
High-growth
Freemium
Sign in with your ChatGPT account for free AI

Sign in with your ChatGPT account for free AI

Sign in with ChatGPT lets developers add ChatGPT account authentication to web apps so users can access OpenAI AI capabilities (works across free and paid ChatGPT accounts). It provides React components and helper methods to obtain encrypted, locally stored credentials and call the AI SDK from the signed-in account.

Developer Tools
High-growth
Contact for pricing
Projektor

Projektor

Projektor is an agent-native issue tracker and wiki designed to run with AI coding agents as first-class clients, deployable as a single Cloudflare Worker and intended for cross-project, fleet-scale self-hosting.

Developer Tools
High-growth
Free
Zlvox

Zlvox

Zlvox is a privacy-first collection of 30+ fast, browser-based developer utilities — AI tools, PDF and image processors, JSON/data utilities, QR and security tools — designed to run client-side with no sign-up or server-side data retention.

Developer Tools
High-growth

Premium Alternatives

Paid
OTP Inspired actor supervisor based full stack templates

OTP Inspired actor supervisor based full stack templates

ShipStacks provides production-grade, OTP-inspired full-stack SaaS templates that include supervisors/actor patterns, auth, payments, uploads, AI chat and agent playbooks, and Docker-ready deployment in multiple languages and frameworks.

Developer Tools
High-growth
Paid
Finetunefast

Finetunefast

FinetuneFast provides finetuning boilerplates, inference templates, and deployment tooling to accelerate building and shipping ML models (text-to-image, LLMs, RAG, TTS) — aimed at developers, indie makers and businesses who want production-ready examples and fast time-to-deploy.

Developer Tools
Enterprise-ready
Paid
runpod

runpod

Runpod is an AI Developer Cloud that provides on-demand GPU infrastructure—Pods, Serverless endpoints, and multi-node Clusters—enabling teams to experiment, train, fine-tune, deploy, and scale AI workloads across 31 global regions with support for 30+ GPU SKUs.

Developer Tools
Enterprise-ready High-growth
Paid
Defapi

Defapi

Defapi is an enterprise-grade AI model orchestration platform that provides developers unified access to leading AI models (OpenAI, Anthropic, Google, and more) with intelligent routing, load balancing, usage monitoring, and enterprise-grade security.

Developer Tools
Enterprise-ready
Paid
coder

coder

Coder provides self-hosted AI-native development infrastructure—workspaces, AI coding agents, and centralized AI governance—designed to let enterprises run, observe, and control LLM-powered development on infrastructure they own.

Developer Tools
Paid
monokit

monokit

MonoKit is a production-ready, AI-friendly full-stack monorepo starter that combines Next.js, Fastify, TypeScript, and a curated set of infrastructure and developer tools to accelerate building and shipping web applications.

Developer Tools

Explore Related Categories

Explore by Outcome