MCPcopy
hub / github.com/HKUDS/DeepCode

github.com/HKUDS/DeepCode @v1.2.0 sqlite

repository ↗ · DeepWiki ↗ · release v1.2.0 ↗
1,473 symbols 4,592 edges 186 files 1,113 documented · 76%
README
DeepCode Logo
    ██████╗ ███████╗███████╗██████╗  ██████╗ ██████╗ ██████╗ ███████╗
    ██╔══██╗██╔════╝██╔════╝██╔══██╗██╔════╝██╔═══██╗██╔══██╗██╔════╝
    ██║  ██║█████╗  █████╗  ██████╔╝██║     ██║   ██║██║  ██║█████╗
    ██║  ██║██╔══╝  ██╔══╝  ██╔═══╝ ██║     ██║   ██║██║  ██║██╔══╝
    ██████╔╝███████╗███████╗██║     ╚██████╗╚██████╔╝██████╔╝███████╗
    ╚═════╝ ╚══════╝╚══════╝╚═╝      ╚═════╝ ╚═════╝ ╚═════╝ ╚══════╝

HKUDS%2FDeepCode | Trendshift

DeepCode Logo DeepCode: Open Agentic Coding

Advancing Code Generation with Multi-Agent Systems

English 中文

🖥️ Interface Showcase

#### 🖥️ **CLI Interface** **Terminal-Based Development** CLI Interface Demo 🚀 Advanced Terminal Experience ⚡ Fast command-line workflow 🔧 Developer-friendly interface 📊 Real-time progress tracking *Professional terminal interface for advanced users and CI/CD integration* #### 🌐 **Web Interface** **Visual Interactive Experience** Web Interface Demo 🎨 Modern Web Dashboard 🖱️ Intuitive drag-and-drop 📱 Responsive design 🎯 Visual progress tracking *Beautiful web interface with streamlined workflow for all skill levels*

🎬 Introduction Video

DeepCode Introduction Video

🎯 Watch our complete introduction - See how DeepCode transforms research papers and natural language into production-ready code

Watch Video


"Where AI Agents Transform Ideas into Production-Ready Code"


📑 Table of Contents


📰 News

🎉 [2025-02] DeepCode + nanobot Integration — Chat with DeepCode via Feishu Bot!

DeepCode

nanobot
  • nanobot now connects to DeepCode — send messages in Feishu and get auto-generated code back
  • Supports Paper-to-Code and Chat-to-Code, plus real-time task tracking, all from your chat app
  • One-command deploy: ./nanobot/run_nanobot.shSetup Guide →
Feishu Chat Example 1 Feishu Chat Example 2

Feishu Bot in Action — Natural language → Full code generation with setup instructions


🎉 [2025-02] New Web UI Experience Upgrade!

  • 🔄 User-in-Loop Interaction: Support real-time user interaction during workflows - AI asks clarifying questions directly in the chat
  • 💬 Inline Interaction Design: Interaction prompts appear naturally within the chat flow for a seamless experience
  • 🚀 One-Click Launch: Simply run deepcode to start the new UI (cross-platform: Windows/macOS/Linux)
  • 🔧 Improved Process Management: Enhanced service start/stop mechanism with automatic port cleanup
  • 📡 WebSocket Real-time Communication: Fixed message loss issues, ensuring proper interaction state synchronization

DeepCode New UI

DeepCode New Web UI - Modern React-based Interface


🎉 [2025-10-28] DeepCode Achieves SOTA on PaperBench!

DeepCode sets new benchmarks on OpenAI's PaperBench Code-Dev across all categories:

  • 🏆 Surpasses Human Experts: 75.9% (DeepCode) vs Top Machine Learning PhDs 72.4% (+3.5%).
  • 🥇 Outperforms SOTA Commercial Code Agents: 84.8% (DeepCode) vs Leading Commercial Code Agents (+26.1%) (Cursor, Claude Code, and Codex).
  • 🔬 Advances Scientific Coding: 73.5% (DeepCode) vs PaperCoder 51.1% (+22.4%).
  • 🚀 Beats LLM Agents: 73.5% (DeepCode) vs best LLM frameworks 43.3% (+30.2%).

🚀 Key Features

🚀 Paper2Code

Algorithm Badge Automated Implementation of Complex Algorithms Effortlessly converts complex algorithms from research papers into high-quality, production-ready code, accelerating algorithm reproduction.

🎨 Text2Web

Frontend Badge Automated Front-End Web Development Translates plain textual descriptions into fully functional, visually appealing front-end web code for rapid interface creation.

⚙️ Text2Backend

Backend Badge Automated Back-End Development Generates efficient, scalable, and feature-rich back-end code from simple text inputs, streamlining server-side development.

📊 Experimental Results

<img src='./assets/result_main02.jpg' />

We evaluate DeepCode on the PaperBench benchmark (released by OpenAI), a rigorous testbed requiring AI agents to independently reproduce 20 ICML 2024 papers from scratch. The benchmark comprises 8,316 gradable components assessed using SimpleJudge with hierarchical weighting.

Our experiments compare DeepCode against four baseline categories: (1) Human Experts, (2) State-of-the-Art Commercial Code Agents, (3) Scientific Code Agents, and (4) LLM-Based Agents.

① 🧠 Human Expert Performance (Top Machine Learning PhD)

**DeepCode: 75.9% vs. Top Machine Learning PhD: 7

Extension points exported contracts — how you extend this code

InboundMessage (Interface)
(no doc)
nanobot/bridge/src/whatsapp.ts
Message (Interface)
(no doc)
new_ui/frontend/src/types/common.ts
WhatsAppClientOptions (Interface)
(no doc)
nanobot/bridge/src/whatsapp.ts
Notification (Interface)
(no doc)
new_ui/frontend/src/types/common.ts
SendCommand (Interface)
(no doc)
nanobot/bridge/src/server.ts
LayoutConfig (Interface)
(no doc)
new_ui/frontend/src/types/common.ts
BridgeMessage (Interface)
(no doc)
nanobot/bridge/src/server.ts
WorkflowStep (Interface)
(no doc)
new_ui/frontend/src/types/workflow.ts

Core symbols most depended-on inside this repo

get
called by 817
nanobot/nanobot/agent/tools/registry.py
print_status
called by 74
cli/cli_interface.py
run
called by 53
nanobot/nanobot/agent/loop.py
log_operation
called by 31
tools/code_implementation_server.py
print_separator
called by 29
cli/cli_interface.py
register
called by 18
nanobot/nanobot/agent/tools/registry.py
print_status
called by 15
utils/cli_interface.py
start
called by 15
nanobot/nanobot/channels/qq.py

Shape

Method 862
Function 382
Class 148
Interface 56
Route 25

Languages

Python90%
TypeScript10%

Modules by API surface

tools/document_segmentation_server.py56 symbols
workflows/agents/memory_agent_concise_index.py42 symbols
workflows/agents/memory_agent_concise.py42 symbols
nanobot/nanobot/agent/tools/deepcode.py38 symbols
cli/cli_interface.py33 symbols
workflows/code_implementation_workflow_index.py32 symbols
workflows/code_implementation_workflow.py32 symbols
tools/code_indexer.py32 symbols
tools/pdf_downloader.py31 symbols
nanobot/nanobot/cli/commands.py31 symbols
workflows/agents/memory_agent_concise_multi.py30 symbols
workflows/agents/code_implementation_agent.py30 symbols

Dependencies from manifests, versioned

@monaco-editor/react4.6.0 · 1×
@radix-ui/react-dialog1.0.5 · 1×
@radix-ui/react-dropdown-menu2.0.6 · 1×
@radix-ui/react-progress1.0.3 · 1×
@radix-ui/react-toast1.1.5 · 1×
@tanstack/react-query5.17.0 · 1×
@types/node20.14.0 · 1×
@types/react18.2.47 · 1×
@types/react-dom18.2.18 · 1×
@types/ws8.5.10 · 1×
@typescript-eslint/eslint-plugin6.18.1 · 1×

For agents

$ claude mcp add DeepCode \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact