Android
Universal beta.27 debug APK for review; not production-signed. Termux uses the Android-compatible source build below, never the Linux archive.
beta preview v0.3.9 · Rust · local-first · MIT
4 native binaries, including a Linux GTK desktop and read-only MCP workspace server. 58 built-in tools, MCP and LSP over stdio, 4 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.8 CLI release has six target archives with matching SHA-256 files for Linux, macOS and Windows (x86_64 and ARM64); source installs use the current CLI/Termux 0.3.9 source candidate, while prebuilt downloads are v0.3.8. 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.27 debug APK (version code 30) is available below and the in-app updater feed points to it; it is not production-signed or a GitHub Release asset. Its signer matches beta.26, so code 30 is expected to be eligible over beta.26/code 29; device installation has not been tested. 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 agent tools are available to the TUI, Linux desktop, daemon and SDK subject to policy; browser execution is currently disabled. A separate dcode-mcp-server binary exposes only read-only workspace inspection.
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.
58 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 · json_validate
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: 11 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 / GTK / daemon → agent → tools
↘ client → provider
↘ rpc → configured mcp / lsp
dcode-mcp-server → external MCP client (workspace read-only)
core · config · events · permissions · snapshots
dcode-coreconfig, events, permissionsdcode-clientOpenAI, Anthropic, Google, Ollamadcode-rpcJSON-RPC, MCP + LSP framingdcode-tools58 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.27 (version code 30) is prepared for the beta branch and updater feed. It is a debug-signed review build, not a production release. Its signer matches beta.26, so code 30 is expected to be eligible as an in-place update from beta.26/code 29; no device installation test has been performed. Export the project ZIP before migrating from the older 0.3.0 beta, which uses a different signer. 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 local SAF selections to the actual shared-storage path for direct Project access and passes the chosen folder to Termux; cloud providers and protected Android data folders are unsupported. Host tests cover path checks and Termux working-directory selection, but SAF and cross-app behavior remain 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 images. HTTPS Markdown image URLs offer an explicit tap-to-load action; remote fetches accept PNG/JPEG/GIF/WebP only, reject non-HTTPS redirects, cap responses at 4,000,000 bytes, and decode oversized images at a bounded sample size. The updater closes APK streams before committing the install session. Remote Markdown image fetches reject private/special-use DNS addresses and pin each vetted public IP to prevent DNS rebinding. API keys are encrypted with Android Keystore.
The beta.27 source candidate includes ten regression-tested bug fixes: session ID and record validation, parallel-cancellation history repair, SSE termination, usage accounting, invalid-UTF-8 index paths, LSP URI encoding, updater backup/version-probe safety, and MCP handshake validation. Seven fixes in the shared agent, client, index, and tools crates are included in this Android rebuild; the standalone MCP server and CLI updater fixes are source-CLI-only. Host Rust checks and APK assembly passed, but Android runtime was not tested on a device or emulator. 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 · 50576481 bytes
SHA-256 · checksum file ↗8f94142d0606f3cd435f3fc2e7e93a21a58a394c7fa5d33c7b675cfa06bc6651
This beta/debug APK is not production-signed or physically device-tested. apksigner verified APK v2, and its signer certificate matches beta.26; because code 30 is newer than beta.26/code 29, an in-place update is expected to be eligible, but no device installation test was performed. The older 0.3.0 beta uses a different signer: export your project ZIP and uninstall that app before installing beta.27; unexported app data may be lost. Beta.27 includes ten regression-tested defects in the 0.3.6 source release, with seven shared agent/client/index/tools fixes in the Android build and the MCP-server and CLI-updater fixes specific to source CLI; it does not include the 0.3.8 source-release changes or the current 0.3.9 candidate fixes. Remote image fetches remain user-initiated, HTTPS-only, MIME- and size-bounded, and pin vetted public addresses. 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.27 (version code 30) remains the linked review build and does not include the 0.3.9 source candidate fixes. Its signer matches beta.26, 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.
The latest published CLI downloads are v0.3.8. The six target archives cover Linux, macOS and Windows (x86_64 and ARM64), each with a SHA-256 file. Source installs from main use the 0.3.9 candidate; prebuilt downloads are v0.3.8.
Universal beta.27 debug APK for review; not production-signed. Termux uses the Android-compatible source build below, never the Linux archive.
CLI v0.3.8 release archives. The installer selects only GNU/Linux assets; this is separate from the GTK desktop package.
CLI v0.3.8 MSVC archives; the PowerShell installer rejects non-Windows hosts.
CLI v0.3.8 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: