$ dex
pair in the TUI
Watch it work live. Steer mid-run, ask follow-ups, /undo oopsies, /resume anytime.
Your terminal-native coding buddy. It reads, edits, tests — you review and ship.
Your code. Your models. Your terminal. ♥
curl -fsSL https://raw.githubusercontent.com/sumofbytes/dex/HEAD/scripts/install.sh | sh windows .zip & all binaries + checksums on github releases
click + type — Enter sends · / for commands · try /clear or /model
// plugs into your stack
// why dex
Every tool call, edit, and test — out in the open. Steer it, undo it, ship it.
fast loop. tiny surface. full ctrl.
$ dex
Watch it work live. Steer mid-run, ask follow-ups, /undo oopsies, /resume anytime.
$ dex "fix the flaky test"
One-shot, single-tool, or raw JSON. Pipe it, cron it, CI it via $DEX_BIN.
$ dex serve · dex connect
Agent stays on your big box, you chill on your laptop. Reconnects pick up where you left off.
$ read · bash · ffgrep
read, write, edit, grep, find, shell. Sandboxed to your repo. Nothing sneaky, all visible.
$ dex doctor
OpenAI, Anthropic, Codex, what's next. One knob: model:. doctor shows where each value came from.
$ dex mcp login github
GitHub + any MCP server over stdio / HTTP / SSE. Skills + AGENTS.md ride along with your repo.
// demo
One prompt → searched, patched, tested. You just review the diff.
// capabilities
search, edits, models, memory — handled with care.
$ ffgrep "refrsh" → 23 files, typo forgiven
Same engine as fff.nvim. Typo-tolerant, ranks definitions first. You land on the thing, not every mention.
ffgrep + fffind: same engine as fff.nvim, sandboxed to your repo.
$ edit src/auth/tokens.ts → /undo ready
Write → fsync → swap. Crashes never leave half-files. Changed underneath you? dex stops, never clobbers. /undo has your back.
stale file? undo tells you straight, no guessing.
$ /model anthropic/claude-sonnet · /thinking high
Responses, Chat Completions, Anthropic Messages — done right. Thinking stays signed, reasoning survives swaps. codex --login and go.
one knob: model:. zero protocol yoga.
$ 212k → 18k · $0.42 this session
Full context? Older turns get summarized — free, no extra call. Overflow still? Compact once more and retry. Spend always in view.
sessions are JSONL. reconnect = right where you left off.
// open source
MIT / Apache-2.0. All of it. For all of us.
everything, for everyone — TUI, sessions, skills, MCP — no paywall, no seat plan. Ever.
mit / apache-2.0 — Use it at work, fork it, make it yours.
your keys, your data — No proxy, no collection, no phone-home. Straight to your provider.
built in the open, with love — Issues are the backlog. contributing.md shows you how to jump in.
// get started
Tell dex what's broken. Grab a coffee. Come back to a tested diff.
curl -fsSL https://raw.githubusercontent.com/sumofbytes/dex/HEAD/scripts/install.sh | sh or download a binary for your platform from github releases