[Open-source] Desktop Client AI Programming Tool, Zero Backend Agent Runs on Your Local Machine
![[Open-source] Desktop Client AI Programming Tool, Zero Backend Agent Runs on Your Local Machine](https://yy123.ink/api/img/1796368048369-9iz3d3.png)
1. Project Overview
SeekCode
Desktop Client · Local Agent · AI Programming Tool driven by DeepSeek-V4
A desktop AI coding agent that runs locally on your machine — powered by DeepSeek-V4.
FusionClaude Code(Pair Programming) withCodex(Task Delegation) ideas, based onElectron + Node + React/TypeScriptBuildDesktop ClientAI Programming Tool. Agentruns on your local machine in a tool cycle, deeply adaptedDeepSeek-V4with a hybrid reasoning level and prefix caching feature. IntegratedAgent tool cycle, local code index search, memory system, Skills / MCP extension, and built-in terminal and editor——Zero backend, just paste an API Key to use.
2. Open Source License
Licensed under MIT
3. Screenshots
4. Feature Overview
Why choose SeekCode?
|
|
SeekCode |
Cloud / Plugin-based AI Programming Tool |
| ️ Form |
Desktop ClientAgent runs multiple tool cycles on your local machine; file tree / terminal / editor integrated |
Mostly web / editor plugins |
| ️ Model Adaptation |
Deep adaptation of DeepSeek-V4: Hybrid reasoning three-tier + thinking decoupling + prefix caching |
General access, not optimized for a single model |
| Cost |
Only charged by DeepSeek APIReal-time transparent display of costs / cache hits / savings |
Subscription-based / opaque billing |
| Extensible |
Built-in
Skills / MCP / Extension Market, installed on demand |
Depending on the platform |
| ️ Code Understanding |
Local BM25 index + symbol outline(Offline zero dependency), optional semantic vector mixed recall |
Multiple cloud-based vector libraries |
| Easy to get started |
Paste an API Key and you're good to go,Zero-backend |
Register / Login / Configure required |
Frequently Asked Questions (FAQ)
Q: What's the difference between it and cloud-based / plugin-based AI programming tools?A: SeekCode isDesktop ClientAgent runs multi-step tools locally on your machine (read/write files, run commands, search code), file tree / terminal / editor integrated; and has a deep adaptation forDeepSeek-V4mixed reasoning and prefix caching.
Q: Do I need to set up my own backend?A: No. SeekCode is a pure desktop application, zero-backend, only requires a DeepSeek API Key.
Q: Will large projects put the entire codebase into the prompt?A: No. Local BM25 index + symbol outline only injects the "code map", and the main text is searched on demand; when the project is large, it will also prompt the model to use search_code to locate.
Q: Which platforms are supported?A: Windows / macOS / Linux can all be built and packaged.
Q: Will my code be uploaded?A: The application itself defaults to only communicating with DeepSeek (your questions and context), and code indexing and image recognition are all completed locally. Note: The commands you or Agent execute through the terminal / run_command (such as git push, npm publish) are your normal development operations that you actively initiate.
5. Tech Stack
Quick Start
Preconditions:Node.js ≥ 18。
git clone https://github.com/kafkazhang/seek_code.gitcd seek_codenpm install # Pure JS dependency, no native compilation toolchain requirednpm run dev # Start development mode (electron-vite)
The first time you start, a configuration dialog will pop up:
-
PasteDeepSeek API Key(default interface https://api.deepseek.com) -
Click "Test Connection" to confirm availability → "Save and Start" -
Click the title bar "Open Project Folder..." to select a local project -
Enter a question in the bottom input box, for example: "Rearrange this project's overall structure"
Development and Quality
npm run typecheck # Type checking (Node side + Web side)npm run lint # ESLint(Flat configuration, covers main/render layer)npm test # Vitest unit testingnpm run format # Prettier formatting (optional, local use)
Build and Packaging
npm run build # Compile main/preload/render to out/npm run package:win # Build Windows installernpm run package:mac # macOS (supports --x64 / --arm64)npm run package:linux # Linux(AppImage)
Project Structure
src/main/ # Main process (Node)index.ts Application entry, window, and run configurationconfig.ts Configuration and API Key (safeStorage encryption)gateway.ts DeepSeek gateway + cache priority prompt + cost accounting + FIM completionretry.ts Instant error retry / exponential backoff (pure logic)agent.ts Agent loop (streaming + tool calls + permission gate + context compression)subagents.ts Subagent orchestration (concurrent delegation + approval uplift + progress events)tools.ts File/command tools (limited to project directory)editing.ts Editing pure logic: error-tolerant matching / bulk editing / syntax inspection / glob / outline (pure logic)checks.ts Project quality gate detection (typecheck/lint/test, pure logic)symbols.ts Symbol navigation: definition line recognition / word boundary reference (pure logic)todos.ts Todo list todo_write (pure logic)bgproc.ts Background process (run_background/bg_output/bg_kill)webfetch.ts Controlled network read (forced approval + trusted exit registration)htmltext.ts HTML to plain text (pure logic)cmdsafety.ts Command safety categorization (danger/self-destruct command identification, pure logic)codeindex.ts Local code index: symbol outline + BM25 search (persistent/incremental/listening)hybrid.ts Hybrid recall pure logic: chunking / cosine / RRF fusion (pure logic)vecindex.ts Semantic vector index (embedding cache / incremental / hybrid search entry)git.ts Git Panel (status/diff/stage/commit + AI Submission Information and Review)gitparse.ts git Output Parsing (porcelain/log, Pure Logic)memory.ts Memory System (SEEK.md / Global)skills.ts Skills: Scan / Install / Update / Repository Discoverymcp.ts MCP Client (stdio + Streamable HTTP)marketplace.ts Extension Marketplace (Built-in Directory + Online Search and Install)tasks.ts Background Tasks (Concurrent Autonomous Agent + Queue + Persistence)terminal.ts Built-in Terminal (Streamed, UTF-8, stdin Interactive)ocr.ts Local OCR Recognition (tesseract.js)sessions.ts Session Persistenceegress.ts Application Exit Whitelist + Main Process Controlled Fetch (guardedFetch)net.ts Rendering Layer Exit Whitelist (webRequest Interception)ipc.ts IPC Handling + Project File Tree + Approval Feedbackpreload/ # Preloading (contextBridge Secure Bridge)renderer/ # Rendering Process (React + TS): Dialog, Editor, Terminal, File Tree, Market, Settings, Cost Dashboardshared/ # Shared Types and IPC Constants for Main/Rending
6. Source Code Repository
Open-source project address:
https://github.com/kafkazhang/seek_code
Next steps