Beautiful TUI
A modern terminal UI built with Vue.
A multi-model coding agent with sessions, tools, and safe approvals.
DimCode is a multi-model CLI coding agent for developers comparing Claude Code, Codex, OpenCode, and Cursor workflows.
npm install -g dimcode
# 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, settings, models, approvals, tool settings)./connect: connect a provider (or add a custom / local provider)./models: pick a model./approvals: set tool approvals (auto or all).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/dimcode/cache.json~/.dimcode/dimcode/state/For a full breakdown (including tools.json and XDG rules), 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 Tool Settings (Ctrl+P → Tool Settings or /tool-settings).
Configure MCP servers in MCP Settings (Ctrl+P → MCP Settings or /mcp-settings).
# One-shot prompt (tools auto-approved)
dim exec "Review this repo and propose a refactor plan"
# Start local API server and open the web GUI
dim server --open
# Start GUI dev server (repo only, requires bun)
dim gui
# Editor integration (ACP)
dim acpSee ACP guide: /acp.
dim --help prints commands and flags.dim --debug enables diagnostics and writes ./dimcode-debug.log by default.