Free & Open Source

AI coding agent
that lives in your terminal

Connect any model from any provider. Claude, GPT, and any OpenAI-compatible API. Branch, fork, undo, and resume sessions anywhere.

curl -fsSL https://raw.githubusercontent.com/batalabs/muxd/main/install.sh | sh

Features

18 Built-in Tools

Read, write, edit, grep, bash, web search, Twitter posting, git status, todos, multi-file patches, plan mode, and sub-agents. The agent picks the right tool automatically โ€” you just describe what you want.

Any Model

Connect Claude, GPT, or any OpenAI-compatible API. Switch models mid-session with a single command. Bring your own API key โ€” no proxy, no middleman.

Branch & Fork

Fork any conversation at any point to explore an alternative approach without losing the original. Compare strategies side-by-side and resume whichever branch works best.

Git Undo / Redo

Every agent turn creates a git checkpoint. Roll back any change instantly with /undo, or re-apply it with /redo. You stay in control of every line the agent writes.

Telegram Access

Connect a Telegram bot and chat with your agent from your phone, anywhere. Send tasks on the go and review results when you're back at your desk.

Always-on Daemon

Runs as a background service that survives terminal closes, SSH disconnects, and reboots. Start it once and connect from any terminal session โ€” your agent is always ready.

Your code stays on your machine

Zero telemetry. Zero data collection. Sessions live in local SQLite. API calls go directly to your chosen provider.

muxd is a local AI agent โ€” no cloud service sits between you and your model. Your source code, conversations, and API keys never leave your machine. Everything is stored locally, nothing is phoned home, and the entire codebase is open source under Apache 2.0. If you want a private coding agent with no data collection, this is it.