Beautiful TUI
A modern terminal UI built with Vue.
DimAgentOne agent. Everywhere.
An agent runtime — one command to start, every model at your disposal. Terminal, scripts, editor, desktop. Local-first, grows with your project.
A modern terminal UI built with Vue.
Keep multiple threads per project; sessions are grouped by cwd and easy to switch.
Granular control over tool execution — stay safe by default.
Built-in providers (OpenAI, OpenRouter, etc.), local providers (Ollama / LM Studio), and custom endpoints.
Run ACP server mode for editor integrations (e.g., Zed).
Native desktop app for macOS, Windows, and Linux with the same powerful features.
DimAgent is a multi-model CLI and desktop coding agent with ACP editor integrations.
DimAgent Desktop 0.9.32 is available for macOS, Windows, and Linux:
npm install -g dimcode@latest
# pnpm add -g dimcode
# yarn global add dimcode
# bun add -g dimcode
dim
# or: npx dimcode
Ctrl+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, approve-for-me, or normal).Shift+Enter: new line; Enter: send; Tab: switch AGENT / PLAN; Ctrl+O: background-work panel./tui: switch between the fullscreen and scrollback forms — see the "Fullscreen TUI" and "Scrollback TUI" pages.By default DimAgent stores local state under ~/.dimcode/v2/:
~/.dimcode/v2/dimcode.sqlite~/.dimcode/v2/mcp.json~/.dimcode/v2/credentials/For a full breakdown, see the config page.
You can relocate it with:
DIMCODE_HOME (base 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 (default full-access policy)
dim exec --policy full-access "Review this repo and propose a refactor plan"
# Read-only one-shot prompt
dim exec --policy read-only "Review this repo without making changes"
# One-shot prompt with verification
dim exec --verify "pnpm test" "Review this repo and propose a refactor plan"
# One-shot prompt from stdin
echo "Review this code" | dim exec --stdin
# Authenticate with DimAgent OAuth
dim auth login
# Editor integration (ACP)
dim acp
See ACP guide.
dim --help prints commands and flags.