Beautiful TUI
A modern terminal UI built with Vue.
A multi-model coding agent with sessions, safe approvals, and ACP editor integrations.
DimCode is a multi-model CLI and TypeScript SDK for coding agents, ACP editor integrations, and plugin-driven workflows.
DimCode Desktop 0.2.4 is available for macOS and Windows:
npm install -g dimcode@latest
# pnpm add -g dimcode
# yarn global add dimcode
# bun add -g dimcodedim
# or: npx dimcodeCtrl+P → Connect Provider (or type /connect) to add API-key providers (OpenAI / OpenRouter / etc.).Ctrl+P: command palette (sessions, connect, models, approvals, MCP, plugins)./connect: connect a provider (or add a custom / local provider)./models: pick a model./approvals: set tool approvals (auto, normal, or strict).Shift+Enter: new line; Enter: send; Ctrl+O: expand/collapse tool calls & thinking.By default DimCode stores local state under ~/.dimcode/:
~/.dimcode/config.json~/.dimcode/mcp.json~/.dimcode/tools.json~/.dimcode/dimcode/cache.json~/.dimcode/dimcode/state/For a full breakdown, see: /config.
You can relocate it with:
DIMCODE_HOME (base directory)DIMCODE_STATE_DIR (state store directory)WebSearch needs a Serper API key. Configure it in Plugins (Ctrl+P → Plugins or /plugins).
Configure MCP servers in MCP (Ctrl+P → MCP or /mcp).
# One-shot prompt (tools auto-approved)
dim "Review this repo and propose a refactor plan"
# One-shot prompt without interactive fallback
dim --no-interaction "Review this repo and propose a refactor plan"
# One-shot prompt from stdin
echo "Review this code" | dim
# Authenticate Next API OAuth
dim auth next-api-oauth
# Editor integration (ACP)
dim acpSee ACP guide: /acp.
For embeddable agent runtime work, see SDK guide: /sdk.
dim --help prints commands and flags.dim --debug enables diagnostics and writes ./dimcode-debug.log by default.