The open source AI coding agent for the terminal.
# Quick install (curl)
curl -fsSL https://raw.githubusercontent.com/obinopaul/malibu/main/install | bash
# npm (all platforms)
npm i -g malibu-ai@latest # or bun/pnpm/yarnThe install script respects the following priority order for the installation path:
$MALIBU_INSTALL_DIR- Custom installation directory$XDG_BIN_DIR- XDG Base Directory Specification compliant path$HOME/bin- Standard user binary directory (if it exists)$HOME/.malibu/bin- Default fallback
# Examples
MALIBU_INSTALL_DIR=/usr/local/bin curl -fsSL https://raw.githubusercontent.com/obinopaul/malibu/main/install | bash
XDG_BIN_DIR=$HOME/.local/bin curl -fsSL https://raw.githubusercontent.com/obinopaul/malibu/main/install | bashMalibu includes two built-in agents you can switch between with the Tab key.
- build - Default, full-access agent for development work
- plan - Read-only agent for analysis and code exploration
- Denies file edits by default
- Asks permission before running bash commands
- Ideal for exploring unfamiliar codebases or planning changes
Also included is a general subagent for complex searches and multistep tasks.
This is used internally and can be invoked using @general in messages.
- Provider-agnostic: works with Claude, OpenAI, Google, or local models
- 100% open source (MIT)
- Out-of-the-box LSP support
- Terminal UI (TUI) focused
- Client/server architecture
- MCP (Model Context Protocol) support
# Clone and install
git clone https://github.com/obinopaul/malibu.git
cd malibu
bun install
# Run in dev mode
bun run devIf you're interested in contributing to Malibu, please read our contributing docs before submitting a pull request.
It's very similar to Claude Code in terms of capability. Here are the key differences:
- 100% open source
- Not coupled to any provider. Malibu can be used with Claude, OpenAI, Google, or even local models. As models evolve, the gaps between them will close and pricing will drop, so being provider-agnostic is important.
- Out-of-the-box LSP support
- A focus on TUI — pushing the limits of what's possible in the terminal.
- A client/server architecture. This, for example, can allow Malibu to run on your computer while you drive it remotely from a mobile app.
GitHub: obinopaul/malibu