Android
Universal beta.21 debug APK for review; not production-signed. Termux uses the Android-compatible source build below, never the Linux archive.
beta preview v{{stats.version}} · Rust · local-first · MIT
{{stats.binaries}} native binaries. {{stats.tools}} built-in tools, MCP and LSP over stdio, {{stats.providers}} provider protocols, a TUI, a universal Android app preview, an embeddable SDK and a headless daemon. dcode runs locally, but prompts and relevant context are sent to your configured LLM provider; this is separate from telemetry, which is local-only.
The published v0.3.4 CLI release has six target archives with matching SHA-256 files for Linux, macOS and Windows (x86_64 and ARM64); the current source candidate is CLI/Termux 0.3.5, not yet a published desktop release. In Termux, this same install command bootstraps the Android-compatible Rust CLI source and builds it without a Linux GNU binary. A universal Android 0.4.0-beta.21 debug APK (version code 24) is available below for review, not production-signed or a GitHub Release asset. Beta.21 retains beta.20's debug signer and can update beta.20 and earlier same-signer betas in place; the older 0.3.0 beta uses a different signer. The APK packages four ABIs; its Rust JNI bridge and the Termux CLI build from shared Rust SDK/core source but run and update separately. Call is an icon-only handset beside Chat's note-and-pencil control, separate from Send. The composer + opens an in-place attachment sheet. Project code resolves supported local shared-storage selections to a filesystem path intended to be the live working directory for Rust tools and the in-app browser/editor; it does not use an app-private copy as a substitute. Cloud document providers and protected Android data folders are unsupported. Direct-path resolution, permissions, and ZIP behavior remain unverified on a physical device or emulator. See the platform notes and Android build guide.
The latest published download may not include the Android beta preview. Provider settings live in ~/.config/dcode/dcode.json by default; DCODE_HOME or XDG_CONFIG_HOME can change the directory. See config paths and examples.
01 / proof
Read, edit, run, verify. The transcript is the interface: every action is a tool call, every result is inspectable, and the next step is chosen from what actually happened.
Captured from the rebuilt DCode TUI running locally in an X11 terminal. The D mark, current slash-command help, composer and ready status are from the application itself. Full image ↗
02 / the loop
The agent is ordinary code around an ordinary loop. What makes it useful is what it refuses to guess.
Edits require a fresh read. File-tool writes and deletes snapshot the affected file for /undo; undo does not reverse arbitrary shell effects such as files changed by a command. No blind overwrites.
Sandboxing run_command and run_background is opt-in with --sandbox (or sandbox_commands), Linux-only, and requires /usr/bin/bwrap; if unavailable, these tools refuse to run rather than fall back. Commands are not sandboxed by default, and checks, tests, hooks and MCP/LSP subprocesses are not covered by this option.
Read-only subagents run concurrently. delegate isolate=true promotes one to a write-capable child inside its own git worktree and branch, then returns the diff.
Tests, formatters, linters and the scripted harness are tools, not promises. The agent reports what the command returned, including the failure.
Git, shell, web, MCP servers and LSP servers share one registry. The same tools are available to the TUI, the daemon and the SDK subject to policy; browser execution is currently disabled.
03 / tools
The agent can request registered tools subject to deny and permission rules; approval and hooks apply where relevant. Network tools need host permission, and browser execution is currently disabled.
{{stats.tools}} registered built-in tools (including disabled browser)
read_file · read_many · write_file · append_file · edit_file · multi_edit · apply_workspace_edit · create_dir · delete_file · copy_file · move_file · list_files · search · file_info
Read focused, numbered line ranges when inspecting a file.
git_status · git_diff · git_log · git_branch · git_show · git_stage · git_unstage · git_commit · git_worktree
Review bounded staged or unstaged unified diffs, or keep the default summary.
lsp_definition · lsp_references · lsp_symbols · lsp_workspace_symbols · lsp_hover · lsp_completion · lsp_diagnostics · lsp_code_actions · lsp_formatting · lsp_apply_code_action · lsp_rename
run_background · process_output · process_wait · process_list · process_kill
web_fetch · http_request · web_search · browser_open
delegate · parallel · todo · remember
list_skills · read_skill
run_tests · check
mcp_tools · mcp_call
apply_patch
run_command
env_info
semantic_search
04 / workbench
The loop stays close to the terminal: stream a turn, inspect each tool call, approve side effects, then resume the same session tomorrow.
The full-screen TUI renders Markdown and live tool output. Sessions save, resume, rename, fork and export locally under .dcode/; /stats and /context show what the model is carrying.
Run a one-shot prompt, use --repl, embed a Rust SessionBuilder, or speak JSONL with dcode-daemon. dcode run prompts.txt --out report.json takes one prompt per line, skips blanks and # comments, and writes a result you can archive in CI.
dcode init writes AGENTS.md. Load skills with /skill, or let the agent discover and read workspace skills through its tools. Durable facts live in .dcode/memory.md via remember; plugin manifests sit beside MCP and LSP configuration.
Read-only children split investigations in parallel. delegate isolate=true gives a write-capable child its own Git worktree and branch, then returns the diff. The parent can adopt reviewed changes into its index without auto-committing. That is isolation for review, not a claim that every operation is sandboxed.
05 / numbers
Not a leaderboard. A surface you can inspect, on hardware you own.
Scripted harness: {{stats.harness_cases}} cases in examples/cases.json ↗. Performance varies by machine and configuration; run dcode bench and bench/compare.py locally. Method ↗
06 / architecture
The TUI handles rendering and input. Tools execute operations; the agent orchestrates the loop and applicable policy. The client handles wire formats.
main / tui / daemon → agent → tools
↘ client → provider
↘ rpc → mcp / lsp
core · config · events · permissions · snapshots
dcode-coreconfig, events, permissionsdcode-clientOpenAI, Anthropic, Googledcode-rpcJSON-RPC, MCP + LSP framingdcode-tools{{stats.tools}} tools and guardsdcode-agentloop, plan, hooks, compactiondcode-harnessscripted eval runnerdcode-tuiratatui interfacedcode-sdkRust embeddingdcode-daemonJSONL integrationdcode-telemetrylocal-only metricsdcode-doctorenvironment checksdcode-updateverified self-updatedcode-indexincremental searchdcode-desktopnative GTK4 Linux GUI07 / Android beta
A native Android preview wraps the Rust Dcode engine in a focused mobile workspace. Universal APK 0.4.0-beta.21 (version code 24) is available from the beta branch as a debug-signed review build, not a production release. Beta.21 keeps beta.20's signer, so earlier same-signer betas can update in place; export the project ZIP and uninstall only the older 0.3.0 beta before installing. Call is an icon-only handset beside the note-and-pencil control at the upper-right of the Chat header, separate from Send; the composer + opens an in-place image/text attachment sheet. Dcode resolves supported SAF selections to a local shared-storage path for direct Project access; cloud providers and protected Android data folders are unsupported. Direct Project and Termux behavior remains unverified on a physical device.
Project code resolves supported local Storage Access Framework (SAF) selections to a shared-storage filesystem path and is designed to route Rust tools and the in-app file browser/editor directly there. Cloud document providers and protected Android data folders are unsupported; this direct-path implementation, permissions, and ZIP behavior await real-device testing. ZIP imports are capped at 256 MiB unpacked. Termux integration code uses approved foreground commands and a Python helper for long-lived processes plus local LSP/MCP stdio; its Android lifecycle and operation also remain unverified. The icon-only handset beside Chat starts a separate voice call. Its timer and waveform reflect live on-device microphone input; the only call controls are Mute and End call. Speech input uses Android's on-device recognizer and speech output uses installed non-network voices only when available. Missed speech gets at most three automatic retries before Listen again appears. There is no cloud-voice fallback; model replies still use the configured endpoint. The composer + exposes supported image and text-file attachments; camera, plugin, and deep-reasoning actions are not presented as available controls. Chat renders Markdown and copyable code, opens safe HTTP(S) links only when tapped, previews supported attachments, and renders app-local Markdown image references without fetching remote images automatically. The updater closes APK streams before committing the install session. API keys are encrypted with Android Keystore.
Beta.21 fixes ten newly reproduced issues: safe release checksum basenames, workspace symlink escapes, predicted temporary-file collisions, child-process cleanup, LSP server requests, stale MCP reconnects, tool-call compaction integrity, lone-CR SSE framing, symlink-safe export, and symlink-safe session resume. Host tests passed; no Android device or owner-PC runtime test was performed. Android uses the Rust tool-using Dcode agent, not a stateless one-message chatbot: one native session is reused for each active conversation, and later turns receive earlier conversation history. Typed messages and on-device voice transcripts use that same session and agent loop. New Chat intentionally starts a fresh session; saved sessions can be resumed, and very long histories may be compacted to fit the context budget. Agent actions that need access use in-app approval. Provider settings now commit and read back before showing success; slash-qualified model IDs are accepted, and leaving the API-key field blank keeps the Keystore-protected key. Only supported local folders are intended to serve as direct Project roots; cloud document providers and protected Android data folders are unsupported. If the selected Project path becomes unavailable, reconnect it before working—Dcode does not silently substitute an app-private workspace.
While Dcode prepares a reply, the chat shows a stateful animated Dcode orb in the conversation instead of a thinking label in the header; it does not reveal internal reasoning. The same orb follows voice states and reacts to on-device microphone level while listening. The Call page adds an elapsed/on-device status chip, color-coded Listening/Thinking/Speaking state, an adaptive orb and a live microphone-level meter; Mute and End call remain its only controls. Primary actions keep accessible tap targets, and labels wrap on narrow layouts and larger fonts. Page, message, and popup transitions run at full speed even when Android's reduced-motion or animation-scale settings would normally reduce or disable motion. This preview remains on Java Views with Rust/JNI; live token streaming, a Jetpack Compose rewrite, shared-element morphs, and unsupported Audio/More/Tools controls are not included. These UI changes are compile-validated only, not tested on a physical device. This is a debug review build; host-side tests and APK assembly do not establish Android or Termux runtime behavior.
Project search uses a bounded incremental Rust index for filename and text queries. It respects root and nested .gitignore rules, prunes ignored folders, detects file changes, and matches Unicode text case-insensitively. A native dialog debounces input, discards stale results, and opens selected hits in Project. Rust host regression tests and Android APK compilation passed; no Android device or emulator runtime test has been performed.
APK size · 50212933 bytes
SHA-256 · checksum file ↗21f1fe4c769a7361e3c84c2e7c9a076840d99b15a5a9bce1a0a73b32ac55ba97
This is a beta/debug APK, not production-signed or physically device-tested. Its APK v2 signer certificate fingerprint matches beta.20, but full signature verification and an in-place install were not tested because apksigner and an Android device were unavailable. The older 0.3.0 beta uses a different signer: export your project ZIP and uninstall that app before installing beta.21; unexported app data may be lost. This candidate includes ten distinct, regression-tested fixes in filesystem safety, process cleanup, RPC/MCP transport, agent compaction, SSE parsing, export, and session resume. Direct Project, Termux, process-lifecycle, and LSP/MCP runtime behavior remains unverified. Prompts and submitted project context go to your configured provider.
08 / install
Build native binaries from source. Universal Android beta APK 0.4.0-beta.21 (version code 24) is available above for manual review; its signer certificate identity matches beta.20, but no in-place device update was tested. The older 0.3.0 beta uses a different signer and requires a fresh install after exporting its project.
Universal beta.21 debug APK for review; not production-signed. Termux uses the Android-compatible source build below, never the Linux archive.
CLI v0.3.4 release archives. The installer selects only GNU/Linux assets; this is separate from the GTK desktop package.
CLI v0.3.4 MSVC archives; the PowerShell installer rejects non-Windows hosts.
CLI v0.3.4 Darwin archives. The POSIX installer selects only macOS assets on macOS.
# Rust stable, git, Linux/macOS/Termux source install
git clone https://github.com/dikaofcx/dcode
cd dcode
./packaging/install.sh
dcode init dcode doctor dcode "summarize this repository" dcode update --check
cd android ./gradlew assembleDebug
Requires Android SDK/NDK and Rust; output is a locally debug-signed APK. See the build guide.
Windows source install: run packaging/install.ps1 from PowerShell in the cloned repository. It builds and installs into the current user's programs directory. The Android app uses app-private storage before a Project folder is connected; a supported selected local Project folder is intended to become the live working directory for Rust tools and the in-app browser/editor, not a copy-back target. ZIP import/export is available. Cloud document providers and protected Android data folders are unsupported; direct-path behavior remains device-unverified. The APK supports arm64-v8a, armeabi-v7a, x86_64, and x86. See the platform matrix ↗ for CI coverage and limits.
09 / creator
DikaOfc publishes as DikaCode. The public DikaCode profile also links to ObitoGlory.
Find the project author and related public work: