
Crush
charmbracelet · AI coding agents·
Not open source. Functional Source License: Free to use, change and self-host, also at work, but not to build a competing product. Each release becomes MIT two years later. Read the licence ↗
What is Crush?
Crush is an AI coding agent that runs in the terminal, built by Charm on its own Bubble Tea and Lip Gloss libraries. You pick a model from a cloud provider, a local server or Charm's paid Hyper service, and Crush runs the session. It reads and edits files, runs shell commands, asks before using tools, and pulls in context from language servers and MCP servers. It records pseudonymous usage metrics but never prompts or responses, and CRUSH_DISABLE_METRICS=1 or DO_NOT_TRACK=1 turns them off.
Crush is an AI coding agent for the terminal from Charm, the team behind Bubble Tea and Lip Gloss. It works with models from Anthropic, OpenAI, Gemini, Bedrock, OpenRouter, local servers and many others, and uses language servers and MCP tools for context. It is source-available under the FSL-1.1-MIT licence.
Core capabilities
- Switch models mid-session and keep the context, or add any OpenAI- or Anthropic-compatible API.
- Uses language servers for code context and adds tools from MCP servers over stdio, HTTP or SSE.
- Runs in any terminal on macOS, Linux, Windows, Android and the BSDs, via Homebrew, npm, winget or apt.
Models and providers
Press ctrl+l to open the model picker, choose a provider and paste a key, or set an environment variable such as ANTHROPIC_API_KEY or OPENROUTER_API_KEY. Supported providers include Anthropic, OpenAI, Google Gemini and Vertex AI, Amazon Bedrock, Azure OpenAI, Groq, xAI, Cerebras and Hugging Face, plus any OpenAI- or Anthropic-compatible endpoint. For Ollama, LM Studio, llama.cpp, oMLX and LiteLLM, Crush discovers the models on its own. The default model list comes from Catwalk, an open source catalogue that Crush updates automatically unless you turn that off.
- Models
- Local models
- Catwalk
Tools, permissions and config
Crush asks before each tool call unless you allow chosen tools, and the --yolo flag skips every prompt. Read-only shell commands such as ls or git status run without asking. MCP servers connect over stdio, HTTP or SSE, with OAuth support. Crush reads AGENTS.md and global context files, supports the Agent Skills standard, and can write an AGENTS.md for a new project. Configuration is a crushrc file written in Bash, which Crush runs with a built-in interpreter, so the same file works on Windows. Several terminals can share one session through crush serve, and hooks have preliminary support.
- MCP
- Agent Skills
- Permissions
- crushrc
Licence, install and Hyper
Crush is under the Functional Source License 1.1 with an MIT future licence (FSL-1.1-MIT), which is not an open source licence. You may use, change and redistribute it, also at work, but not in a commercial product or service that competes with Crush or other Charm products. Each version becomes MIT two years after release, and the earliest code, written by Kujtim Hoxha up to May 2025, stays MIT. Crush itself is free and runs on your machine; install it with Homebrew, npm, winget, Scoop, apt, yum, Nix or go install. Charm's optional model service, Hyper, has personal plans from $10 a month, team plans from $30 per user a month and pay-as-you-go credits from $5.
- FSL-1.1-MIT
- Free
- Hyper
Where it fits
Use cases
- 01
Pair with an AI agent in the terminal
Ask Crush to read, edit and run code in a project, approving each tool call or allowing chosen tools ahead of time. Each project keeps several sessions with their own context.
- 02
Code with local or private models
Point Crush at Ollama, LM Studio, llama.cpp or LiteLLM and it finds the models itself. Amazon Bedrock, Vertex AI and Azure OpenAI work with your own cloud account.
- 03
Share one agent setup across projects
Keep project rules in AGENTS.md, add Agent Skills from project or global folders, and check a crushrc file into the repo. A .crushignore file keeps chosen files out of context.