Getting Started
muxd is an AI coding agent that lives in your terminal. It connects to LLM APIs (Anthropic Claude and OpenAI, including any OpenAI-compatible API) to help you read, write, and edit code through a streaming TUI interface.
Sessions are persisted in a local SQLite database so you can resume, branch, and search conversations across terminal sessions.
Quick Start
Install
Linux / macOS:
curl -fsSL https://raw.githubusercontent.com/batalabs/muxd/main/install.sh | bash
Windows (PowerShell):
irm https://raw.githubusercontent.com/batalabs/muxd/main/install.ps1 | iex
From source (Go 1.25+):
go install github.com/batalabs/muxd@latest
Prerequisites
- git (required for undo/redo)
- API key for your chosen provider
First run
# Start a new session
muxd
# Resume the latest session
muxd -c
What's in the docs
- Commands: full slash command reference
- Configuration: API keys, model aliases, pricing
- Tools: all 18 built-in agent tools
- Architecture: codebase internals for contributors
- Undo / Redo: how git-based checkpoints work
- Contributing: build, test, and code style guide