{"slug": "show-hn-running-a-full-ai-coding-agent-inside-cloudflare-durable-object", "title": "Show HN: Running a full AI coding agent inside Cloudflare Durable Object", "summary": "A new open-source project, dsh-edge, enables running DeepSeek Harness, an AI coding agent, on Cloudflare Workers, requiring Node.js 22.14 or newer and a DeepSeek API key. The project, maintained by pawaca and not affiliated with DeepSeek, offers persistent workspaces, support for DeepSeek V4 Flash, V4 Pro, and V4 Flash Vision Exp models, and deploys via 'npx dsh-edge install'.", "body_md": "English | [中文](/pawaca/dsh-edge/blob/main/README.zh.md)\n\n`dsh-edge`\n\nruns the published DeepSeek Harness Web experience on Cloudflare Workers, so your personal coding agent is available wherever you have a browser. No server to maintain, GitHub repository to connect, or build pipeline to configure.\n\nIt keeps the upstream UI, agent loop, model selection, image experience, and Web Search. dsh-edge supplies only the Cloudflare runtime, durable workspace, owner login, and guided installer.\n\nIndependent community project:`dsh-edge`\n\nis maintained by[pawaca]. It is not affiliated with or endorsed by DeepSeek.[DeepSeek Harness]is the upstream project.\n\nYou need Node.js 22.14 or newer and your own DeepSeek API key:\n\n```\nnpx dsh-edge install\n```\n\nThe installer guides you through every choice and deploys the Worker. You can try it without an existing Cloudflare login, or install it permanently in your own Cloudflare account. No source checkout is required.\n\n- Persistent conversations and workspaces from any browser.\n- DeepSeek V4 Flash, V4 Pro, and the experimental V4 Flash Vision Exp model through the upstream selector.\n- PNG/JPEG image input and DeepSeek's native Web Search tool.\n- A persistent\n`/workspace`\n\nwith the native DSH`bash`\n\ntool. - Your own Cloudflare deployment, credentials, and data.\n- In-place upgrades without a repository or Cloudflare Builds integration.\n\n| Path | What you need | Best for |\n|---|---|---|\nTry now |\nNo existing Cloudflare login; claim within 60 minutes to keep it | Exploring the complete experience with the lowest friction |\nKeep it |\nAn existing or new Cloudflare account with R2 enabled | A long-lived personal deployment |\n\nThe default **Free — Direct Shell** runtime works on Cloudflare Workers Free. The optional **Isolated — Dynamic Worker** runtime executes commands in a separate Worker and requires Workers Paid. Both modes use the same product UI, conversations, workspace, images, and tools; Direct Shell is a sandboxed shell runtime, not a Linux container.\n\n```\nnpx dsh-edge upgrade\n```\n\nThe installer finds your Worker and upgrades it in place while preserving its durable data. See the [release notes](/pawaca/dsh-edge/blob/main/docs/releases) for version-specific details.\n\n- dsh-edge is designed for one owner; it does not provide registration, multiple users, roles, or tenant routing.\n- Your DeepSeek key is stored as a secret in your Cloudflare Worker, and the deployment's durable data stays in your Cloudflare account.\n- Vision Exp is experimental and account-dependent. Some upstream capabilities are not yet adapted to Edge; see the\n[compatibility matrix](/pawaca/dsh-edge/blob/main/apps/dsh-edge/README.md#cloudflare-compatibility-matrix)for the current status.\n\ndsh-edge wraps exact published DeepSeek Harness packages instead of copying its monorepo. Upstream remains responsible for the Web UI, plugin composition, agent loop, and session protocols; this repository implements the Cloudflare runtime and storage adapters needed to run them at the edge.\n\nFor the upstream architecture and plugin APIs, see the [DeepSeek Harness repository](https://github.com/deepseek-ai/deepseek-harness) and [reference documentation](https://deepseek-harness.github.io/deepseek-harness/reference/).\n\n[Runtime reference, compatibility, security, and limits](/pawaca/dsh-edge/blob/main/apps/dsh-edge/README.md)[Release notes](/pawaca/dsh-edge/blob/main/docs/releases)[DeepSeek Harness upstream documentation](https://deepseek-harness.github.io/deepseek-harness/reference/)\n\nSource checkout is only required for development. The repository toolchain requires Node.js `^22.19.0`\n\nor `>=24.0.0`\n\n:\n\n```\ngit clone https://github.com/pawaca/dsh-edge.git\ncd dsh-edge\npnpm install\npnpm --dir apps/dsh-edge/standalone install --frozen-lockfile\npnpm run check\n```\n\nSee the [local Edge setup](/pawaca/dsh-edge/blob/main/apps/dsh-edge/README.md#run-locally) to run the Worker locally.\n\n- Report dsh-edge bugs and installation problems in\n[Issues](https://github.com/pawaca/dsh-edge/issues). - Report vulnerabilities through the\n[private security process](/pawaca/dsh-edge/blob/main/SECURITY.md), not a public Issue. - Follow\n[CONTRIBUTING.md](/pawaca/dsh-edge/blob/main/CONTRIBUTING.md)and[AGENTS.md](/pawaca/dsh-edge/blob/main/AGENTS.md)when changing the repository.\n\n[MIT](/pawaca/dsh-edge/blob/main/LICENSE). Third-party components and their licenses are listed in [THIRD_PARTY_NOTICES.md](/pawaca/dsh-edge/blob/main/THIRD_PARTY_NOTICES.md).", "url": "https://wpnews.pro/news/show-hn-running-a-full-ai-coding-agent-inside-cloudflare-durable-object", "canonical_source": "https://github.com/pawaca/dsh-edge", "published_at": "2026-08-22 13:58:50+00:00", "updated_at": "2026-08-22 14:13:53.684581+00:00", "lang": "en", "topics": ["ai-agents", "ai-products", "developer-tools"], "entities": ["dsh-edge", "DeepSeek Harness", "Cloudflare Workers", "pawaca", "DeepSeek", "Node.js"], "alternates": {"html": "https://wpnews.pro/news/show-hn-running-a-full-ai-coding-agent-inside-cloudflare-durable-object", "markdown": "https://wpnews.pro/news/show-hn-running-a-full-ai-coding-agent-inside-cloudflare-durable-object.md", "text": "https://wpnews.pro/news/show-hn-running-a-full-ai-coding-agent-inside-cloudflare-durable-object.txt", "jsonld": "https://wpnews.pro/news/show-hn-running-a-full-ai-coding-agent-inside-cloudflare-durable-object.jsonld"}}