Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/Emanuele-web04/dpcode/llms.txt

Use this file to discover all available pages before exploring further.

DP Code is a minimal web and desktop GUI that wraps AI coding agents. Instead of running agents directly in a terminal, you get a unified interface that manages sessions, streams output in real time, and keeps your work organized across projects and threads. It runs as a downloadable desktop app or as a self-hosted Node.js server you open in a browser.

Key features

Multi-provider support

Connect Codex, Claude Code, Gemini, Grok, Kilo Code, OpenCode, Cursor, and more from a single interface. Switch providers per thread without reconfiguring your environment.

Projects and threads

Organize work into projects mapped to directories on disk. Each project holds persistent conversation threads so you can pick up where you left off.

Real-time output streaming

Agent output streams to the UI as it arrives over WebSocket. You see tool calls, approvals, and responses without polling or refreshing.

Integrated terminal

Open split terminal panes alongside your AI sessions. Run builds, tests, and Git commands without leaving the DP Code window.

Git integration

Manage branches, worktrees, diffs, and stacked pull requests from within the UI. DP Code surfaces Git state alongside your agent conversation.

Split view

Run two AI threads side by side in a split-panel layout. Compare outputs or delegate separate tasks to different agents at the same time.

Desktop and web

Download a native Electron desktop app for macOS, Linux, or Windows, or self-host the Node.js server and access it from any browser on your network.

Authentication

Protect your self-hosted instance with an auth token. The WebSocket server rejects unauthenticated connections when a token is configured.

Supported providers

DP Code currently supports the following AI coding agents:
Provider keyAgent
codexCodex CLI (OpenAI)
claudeAgentClaude Code (Anthropic)
geminiGemini CLI (Google)
grokGrok CLI (xAI)
kiloKilo Code
opencodeOpenCode
cursorCursor
piPi
Codex is the default and best-tested provider. Other providers are supported but may have rougher edges. DP Code is early software — expect bugs.

Architecture

DP Code is built as a monorepo with three main components:
  • Server (apps/server) — A Node.js WebSocket server that starts and manages provider sessions (for example, codex app-server over JSON-RPC/stdio), persists state in SQLite, and serves the React web app.
  • Web (apps/web) — A React/Vite single-page app that connects to the server over WebSocket. It owns the session UX, conversation rendering, and client-side state.
  • Desktop (apps/desktop) — An Electron wrapper around the server and web app, packaged as a native desktop app for macOS, Linux, and Windows.
The server and web communicate exclusively through WebSocket push messages, which means the desktop app and the browser-based web app use the same protocol.

Next steps

Quickstart

Install a coding agent and open your first thread in minutes.

Installation

Download the desktop app or run DP Code from source.

Build docs developers (and LLMs) love