AI coding assistant with a split-pane editor — chat on the left, preview / design canvas / files / git / terminal on the right.
The landing page currently ships a macOS (Apple Silicon) build only:
| Platform | Download |
|---|---|
| macOS (Apple Silicon) | Coodeen-mac-arm64.dmg |
Other architectures / platforms may appear in the releases feed as they're cut by CI.
After installing on macOS, clear the quarantine xattr so Gatekeeper lets the app run:
xattr -cr /Applications/Coodeen.app- Chat with your codebase — Ask the AI to build, edit, explain, or debug. The agent runs tool calls (read, write, grep, bash, etc.) inline in the chat.
- Live preview — Embedded browser pointed at your dev server. Default URL is
http://localhost:3000; editable per session. - Design canvas — Every page of your app rendered as a live iframe on a pannable, zoomable React Flow canvas. Three-mode toggle (Preview / Interact / Select) lets you scan visually, click around inside a page, or pick an element to attach as a screenshot.
- Element selection → screenshot — Click an element in the preview or design canvas to capture it and attach it to your next prompt.
- File explorer — Browse, view, create, and delete files in the project directory.
- Git panel — Branches, status, diffs, conflicts, commit, push, pull, merge.
- Built-in terminal — node-pty shell with one tab per project directory. Persists while collapsed.
- Sessions — Persistent sessions, each with its own project directory and preview URL. Drawer in the top-left toggles the list. Project folder is locked once the session has started.
- Custom action buttons — Drop a
coodeen.jsonin your project and buttons show up in the top bar to run shell scripts scoped to the project. - Fully local — API keys and sessions live on your machine.
The current UI has a single OpenAI key dialog (key icon in the top bar). API keys are written to opencode's auth store (~/.local/share/opencode/auth.json). The model used for prompts is currently fixed by the app; the "Agent" badge in the composer shows what's in use.
The underlying sidecar is opencode, which supports more providers — but the Coodeen UI doesn't yet expose that surface.
Coodeen is an Electron shell around the opencode agent. On launch the main process spawns opencode serve --hostname=127.0.0.1 --port=0 as a child and connects to it through @opencode-ai/sdk. The renderer (React) drives the split-pane UI; Electron main handles filesystem, git, terminal (node-pty), and opencode RPC.
- Agent, sessions, tool execution, provider auth — opencode sidecar (local HTTP)
- Event stream —
/global/eventSSE from the sidecar, fanned out to the renderer over IPC - Filesystem / git / terminal — Electron main-process handlers
- UI — React + Tailwind + Radix in the Electron renderer
coodeen/
├── apps/
│ ├── desktop/ # Electron app
│ │ ├── src/
│ │ │ ├── main.ts # Electron main process
│ │ │ ├── preload.ts # IPC bridge (context isolation)
│ │ │ ├── handlers/ # opencode, sessions, chat, fs, git, pty,
│ │ │ │ # providers, config, actions, coodeen
│ │ │ └── renderer/ # React UI (chat, preview, design, files, git, terminal)
│ │ ├── resources/bin/ # opencode binary (fetched at build time)
│ │ └── electron-builder.yml
│ └── docs/ # Docs site (Next.js + Fumadocs)
└── scripts/
├── fetch-opencode.js # Download platform-matched opencode binary
├── copy-modules.js # Copy prod deps for packaging
└── rebuild-native.js # Rebuild native modules for Electron
# Install deps + rebuild native modules for Electron
bun run setup
# Dev mode (auto-fetches opencode binary on first build)
bun run dev
# Type check
bun run --cwd apps/desktop typecheck
# Unpacked build
bun run build
# Build + package installers for the current platform
bun run --cwd apps/desktop build:prod
# Docs site (Next.js)
bun run dev:docsPin a specific opencode version:
OPENCODE_VERSION=0.x.y bun run --cwd apps/desktop fetch-opencodeThe downloaded version is tracked in apps/desktop/resources/bin/.opencode-version.
| What | Where |
|---|---|
| Sessions, messages, tool history | opencode — ~/.local/share/opencode/ |
| Provider API keys | opencode — ~/.local/share/opencode/auth.json |
| Per-session preview URL | Electron userData — session-prefs.json |
| Active provider selection | Electron userData — app-config.json |
Electron userData paths:
| Platform | Path |
|---|---|
| macOS | ~/Library/Application Support/coodeen/ |
| Windows | %APPDATA%/coodeen/ |
| Linux | ~/.config/coodeen/ |
No data is sent off-machine except requests to the provider endpoint.
Optional per-project file at the project root. Two independent blocks:
actions— buttons in the top bar that run scripts viash -cin the project directory. A.envnext to it is loaded into the child's environment. Read byhandlers/actions.ts.design— page list rendered on the design canvas. Auto-generated the first time you open the Design tab (the agent scans your project and writes the file); also hand-editable. Read and watched byhandlers/coodeen.ts.
{
"name": "my-app",
"actions": [
{ "label": "Dev", "script": "bun run dev" },
{ "label": "Test", "script": "bun run test" }
],
"design": {
"host": "http://localhost:3000",
"pages": [
{ "route": "/" },
{ "route": "/login" },
{ "route": "/dashboard" }
]
}
}The main process watches the file via chokidar and broadcasts a coodeen:changed event so the design canvas refreshes live whenever the file is rewritten by you or the agent.
Sidecar won't start — Check that apps/desktop/resources/bin/opencode exists in dev or <app>/Contents/Resources/bin/opencode in the packaged app. Re-run bun run --cwd apps/desktop fetch-opencode.
macOS "damaged app" / Gatekeeper warning — Run xattr -cr /Applications/Coodeen.app (the app isn't yet code-signed).
Fresh start — Delete the Electron userData folder and ~/.local/share/opencode/.
MIT