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

First run

# Start a new session
muxd

# Resume the latest session
muxd -c

What's in the docs