deepshell-agent
A desktop agent powered by DeepSeek Harness.
- Stars
- 1
- Language
- Rust
- Created
- Sep 9, 2026
- Updated
- Sep 9, 2026
Introduction
Language: English | 简体中文
DeepShell Agent
A desktop agent powered by DeepSeek Harness.
DeepShell Agent is a desktop Agent product built on DeepSeek Harness (DSH). It combines the official DSH Web UI, a pinned DSH runtime, bundled Node.js, DeepShell first-party Bundle/Preset integration, and desktop lifecycle management to provide an out-of-the-box, recoverable, packageable local Agent workstation.
DeepShell Agent does not reimplement the Agent Runtime and does not fork the official DSH Web UI. Its architectural boundary is:
Tauri owns the desktop shell and process lifecycle; the official DSH Web UI owns the base interaction; the DSH Runtime owns the Agent; DeepShell differentiates through official extension points.
Current status
The current source baseline is v0.1.0 MVP (Minimum Viable Product).
Capabilities already included in the source baseline:
- macOS arm64 desktop app build and disk-image generation;
- Windows x64 runtime asset locking and platform-aware path baseline;
- bundled Node.js, so end users do not need to install Node.js, npm, pnpm, or DSH;
- pinned official DSH runtime;
- official DSH React Web UI;
- DeepShell first-party
deepshell-desktopDSH Bundle; deepshell-coding,deepshell-work, and legacydeepshellAgent Presets;- DeepSeek official API, OpenAI-compatible API, and Responses API routing;
- official
workspace-writePermission Preset; - official
credentials-localcredential scheme; - DeepSeek Web Search and public HTTP(S) Web Fetch;
- Sidecar dynamic port, token cleanup, Ready Gate, process cleanup, and basic recovery;
- E2E/Release artifact security-boundary comparison.
Still required before formal public binary distribution:
- Windows x64 hardware or CI installer acceptance;
- Windows WebView2 first-run, shutdown, and process-tree cleanup acceptance;
- macOS Developer ID signing and Apple notarization;
- Windows code signing;
- release-level license/NOTICE inventory review.
Main capabilities
Coding Mode
Coding Mode targets code workspaces. It reuses DSH file, search, Shell, test, Git, Session, and Approval capabilities for code understanding, modification, verification, and change explanation.
Work Mode
Work Mode targets general research and text output. The MVP focuses on:
- Web Search;
- Web Fetch;
- local text/Markdown file read/write;
- structured result capture;
- session-history recovery.
Native Office/PDF/PPTX/XLSX parsing, complex knowledge bases, enterprise connectors, and dedicated document UI are not part of the v0.1.0 scope.
Model Providers
The current route supports:
- DeepSeek official API;
- OpenAI-compatible API;
- Responses API.
Models, routes, base URLs, API keys, and model lists are managed through the official DSH Models Settings whenever possible. DeepShell does not create a second model registry or credential system.
Getting and running
After formal public binary packages are released, users should download the installer for their platform from GitHub Releases.
The current source baseline has not completed all binary-release gates. The public repository is primarily for source publication, architecture review, and reproducible builds. If you want to build from source, see “For contributors” below.
macOS users
Target platform:
- Apple Silicon Mac;
- macOS 13.0 or later.
After a formal release, macOS users should download the .dmg, drag DeepShell Agent.app into Applications, and launch it from there.
The current source baseline has not completed Developer ID signing or Apple notarization. Signing, notarization, and Gatekeeper verification are required before public binary distribution.
Windows users
Target platform:
- Windows 10 22H2 or Windows 11 x64;
- WebView2 Runtime.
After a formal release, Windows users should download the NSIS installer and install through the setup wizard.
The current source baseline has locked Windows x64 runtime assets, but the Windows installer, WebView2 first-run behavior, shutdown, and process-tree cleanup still require validation on Windows hardware or CI.
Usage
A typical first-run flow is:
- Open DeepShell Agent.
- Configure the DeepSeek official API, or add an OpenAI-compatible / Responses API Provider in Models Settings.
- Select or create a Workspace.
- Create a Coding Mode or Work Mode Session.
- Ask the Agent to read, search, or modify Workspace files, run necessary commands, or use Web Search / Web Fetch for research and text output.
Permissions and credentials
DeepShell Agent uses the official DSH workspace-write Permission Preset by default:
- writes inside the Workspace are allowed according to official permission semantics;
- writes outside the Workspace, permission expansion, and dangerous requests must use official Approval or fail closed;
- Shell commands follow official DSH Sandbox/Approval semantics;
- credentials use the official
credentials-localscheme.
Note: credentials-local is not the system Keychain. It can use local file permissions to separate OS users, but it must not be described as a strong security boundary between processes running as the same OS user.
Build and distribution boundary
The public source repository keeps only source code, tests, build scripts, lock manifests, and public documentation.
It does not commit:
- full runtime;
- installed dependency trees;
- build cache;
- local
.app,.dmg, or installer artifacts; - E2E staging manifests;
- local acceptance evidence;
- logs, screenshots, diagnostic bundles, or real secrets.
Binary packages should be distributed through GitHub Releases or another release channel. A platform-specific license/NOTICE inventory must be regenerated for each binary release artifact.
License
DeepShell Agent source code is released under the MIT License. See LICENSE.
Third-party dependencies, bundled runtime components, and binary-release components remain under their own licenses. Before distributing binary packages, regenerate the platform-specific license/NOTICE inventory and ship or publish it with the release artifact. The current baseline is documented in THIRD_PARTY_NOTICES.md.
Documentation
docs/plans/ is a local process-document directory for requirement exploration, design drafts, implementation plans, and acceptance evidence. It is not published with the public source repository by default.
Branding and icon
DeepShell Agent uses an independent icon language:
- deep-sea-blue rounded square;
- bright cyan-blue minimal scallop;
- large
>_terminal prompt; - flat, lightly skeuomorphic, and suitable for modern macOS / Windows desktop icon styles.
Current icon assets:
src-tauri/icons/app-icon-source.svgsrc-tauri/icons/app-icon-source.pngsrc-tauri/icons/icon.pngsrc-tauri/icons/icon.icnssrc-tauri/icons/icon.ico
Relationship to DeepSeek Harness / DeepSeek
DeepShell Agent is an independent desktop Agent product built on DeepSeek Harness. DeepSeek Harness provides the core Agent Runtime, Web UI, and plugin mechanism; DeepShell Agent provides desktop packaging, runtime distribution, productized Bundle, default modes, diagnostics/recovery, and release workflow.
This project is not an official DeepSeek product and does not imply affiliation, partnership, authorization, or endorsement by DeepSeek. DeepSeek, DeepSeek Harness, and related names belong to their respective owners. They are used here only to describe technical compatibility and upstream dependency relationships.
For contributors
The following sections are for contributors who build, develop, and validate DeepShell Agent from source.
Technology stack
- Desktop Shell: Tauri 2 + Rust
- Web Bootstrap: Vite + TypeScript
- UI Runtime: official DSH React Web UI
- Agent Runtime: DeepSeek Harness
0.1.2-rc.1 - Bundled Node.js: Node.js
24.20.0 - Package Manager: pnpm
10.30.2 - Test: Rust test, Vitest, WebdriverIO/Tauri E2E
Source build flow
The build flow has three stages:
- Install development dependencies.
- Prepare the bundled runtime and DSH Profile.
- Build the platform-specific application package on the target operating system.
The public source repository does not commit the full runtime, installed dependency tree, or local build artifacts. On first build, scripts download and verify the Node.js runtime from runtime/manifest/runtime-lock.json, then install the locked DSH production dependency tree from runtime/manifest/dsh-install/package-lock.json.
macOS arm64 build
Build environment:
- Apple Silicon Mac;
- macOS 13.0 or later;
- Xcode Command Line Tools;
- Node.js
>=24.0.0; - pnpm
10.30.2; - Rust
1.96.0; - macOS system dependencies required by Tauri 2.
Prepare the environment:
xcode-select --install
corepack enable
corepack prepare pnpm@10.30.2 --activate
rustup toolchain install 1.96.0
Install project dependencies:
pnpm install
Prepare runtime and Profile:
pnpm runtime:prepare --target all
pnpm runtime:verify --target all
pnpm profile:prepare
pnpm profile:verify
Run in development:
pnpm dev
Build the macOS .app, generate .dmg, and run the current macOS release checks:
pnpm package:verified
Notes:
pnpm package:verifiedfirst builds an E2E-only.app, then builds the Release.app/.dmg, and compares their security boundaries.- If you only need to rebuild the Release package using an existing E2E manifest, run
pnpm package:mvp. - Local
.appand.dmgoutputs are under the Tauri build output directory and are ignored by Git. - The current source baseline does not include Developer ID signing or Apple notarization. Complete them separately before formal binary distribution.
Windows x64 build
Build environment:
- Windows 10 22H2 or Windows 11 x64;
- WebView2 Runtime;
- Microsoft C++ Build Tools / Visual Studio Build Tools, including MSVC and Windows SDK;
- Node.js
>=24.0.0; - pnpm
10.30.2; - Rust
1.96.0with the MSVC toolchain; - Windows system dependencies required by Tauri 2.
Prepare the environment:
corepack enable
corepack prepare pnpm@10.30.2 --activate
rustup toolchain install 1.96.0-msvc
rustup default 1.96.0-msvc
Install project dependencies:
pnpm install
Prepare runtime and Profile:
pnpm runtime:prepare --target all
pnpm runtime:verify --target all
pnpm profile:prepare
pnpm profile:verify
Run in development:
pnpm dev
Build the Windows NSIS installer:
pnpm package:mvp
Notes:
- On Windows,
pnpm package:mvpcalls Tauri to build the NSIS installer. - Windows installer behavior, WebView2 first run, shutdown, and process-tree cleanup must be accepted on Windows hardware or CI.
- The current source baseline does not include Windows code signing. Complete signing separately before formal binary distribution.
Common development commands
pnpm check
pnpm runtime:smoke
pnpm runtime:verify --target all
pnpm profile:verify
pnpm package:e2e
pnpm package:mvp
pnpm package:verified
pnpm package:compare
Notes:
pnpm checkruns formatting checks, Clippy, TypeScript, unit tests, contract tests, integration tests, security tests, and profile/runtime validation.pnpm runtime:smokestarts the real DSH Web runtime and validates loopback, token exchange, CSP, Ready Gate, and branding plugin boot-graph integration.pnpm runtime:verify --target allvalidates macOS arm64 and Windows x64 runtime lock manifests.pnpm profile:verifyvalidates DeepShell Bundle/Profile/Preset relationships against the official DSH baseline.pnpm package:e2ebuilds the E2E-only app package and captures its artifact manifest.pnpm package:mvpis platform-aware:- macOS: builds
.app, signs, verifies, and generates.dmg; - Windows: builds an NSIS installer in a Windows build environment.
- macOS: builds
pnpm package:verifiedrebuilds E2E and Release artifacts and compares their security boundaries.