›_Terminal TUI
Streaming tool cards, a live status line, plan checklists, and a
settled-turn footer with real token costs. Works over SSH.
python -m cli.tui
HKUDS · open source · model-agnostic
A coding agent that lives where you work — a terminal-native TUI, a desktop app, and a headless CLI over one shared runtime. Your sessions, skills, and memory stay on your machine.
Start a conversation in the terminal over lunch, open it in the desktop app in the afternoon. Sessions, skills, permissions, and history are one shared record — not four copies.
Streaming tool cards, a live status line, plan checklists, and a
settled-turn footer with real token costs. Works over SSH.
python -m cli.tui
A Tauri app over the same runtime: threads, approvals, skills, automations, and settings — with the identical session IDs the CLI uses.
One-shot execution that streams structured events for scripts and
CI. deepcode exec --json
Expose DeepCode as an MCP server, schedule goal-driven runs, and let a goal loop work an objective against a real test command.
DeepCode treats the request as something derived from the session record — append-only, reconstructable, and priced by what the provider actually reports. These numbers are from the changelog, not the brochure.
The environment block is a durable slot in history, so a new turn extends the previous request instead of invalidating its prefix cache.
Two windows on one session alternate safely; a mid-turn collision gets a sentence naming who is running it — not a crashed process.
The built-in estimator prices Chinese prose at more than twice its real cost; the gate now trusts the number the provider reports.
Every request must be rebuildable from the session file alone — a resumed agent can answer “what did you just run?”, and a test keeps it that way.
Compaction keeps the recent tail verbatim — assistant messages and tool results included — and replays correctly after resume. Each claim above ships with its regression test.
Progressive-disclosure playbooks in .agents/skills/ —
the open Agent-Skills format, so a skill written for Claude Code or
Codex works here too.
Reads AGENTS.md from repo root to workspace and keeps
durable notes under .deepcode/memory/, indexed and
injected each session.
Hand it an objective and a test command; the loop works, verifies against your tests, and reports — interruptible and resumable at any point.
An opt-in loop that distills your own sessions into project skills — every learned skill carries provenance, passes a guardrail check, and reverts with one click.