DeepCode  by HKUDS

AI agents transform ideas into production-ready code

Created 4 months ago
6,743 stars

Top 7.6% on SourcePulse

GitHubView on GitHub
Project Summary

DeepCode is an open-source, multi-agent AI system designed to automate the conversion of research papers, natural language descriptions, and URLs into production-ready code. It targets researchers, developers, and product teams seeking to accelerate algorithm implementation, front-end web development, and back-end service generation, thereby reducing development bottlenecks and repetitive coding tasks.

How It Works

DeepCode employs a sophisticated multi-agent architecture orchestrated by a central decision-making system. This system coordinates specialized agents for tasks like document parsing, intent understanding, code planning, reference mining, and code generation. It leverages a "CodeRAG" (Retrieval-Augmented Generation) system for deep code comprehension and context management, enabling it to analyze complex interdependencies across codebases and discover optimal implementation patterns. The system is powered by the Model Context Protocol (MCP) for seamless integration with various tools and services.

Quick Start & Requirements

  • Installation: pip install deepcode-hku
  • Configuration: Requires API keys for LLM providers (OpenAI, Anthropic) and optionally for search engines (Brave, Bocha-MCP) configured in mcp_agent.secrets.yaml and mcp_agent.config.yaml.
  • Launch: deepcode for the web interface (defaulting to http://localhost:8501).
  • Development: Requires Python 3.13+ (or 3.11/3.12 for pip) and requirements.txt. Development installation can use uv for dependency management.
  • Documentation: README

Highlighted Details

  • Paper2Code: Automates the implementation of complex algorithms from research papers.
  • Text2Web: Generates front-end web code from textual descriptions.
  • Text2Backend: Creates back-end code from simple text inputs.
  • Multi-Interface: Offers both a CLI and a responsive web interface.

Maintenance & Community

The project is developed by the Data Intelligence Lab at The University of Hong Kong. Further community engagement details are not explicitly provided in the README.

Licensing & Compatibility

The project is released under the MIT License, permitting commercial use and integration with closed-source projects.

Limitations & Caveats

The system requires significant API key configuration for LLM and search services, which may incur costs. Specific performance benchmarks or detailed comparisons against other code generation tools are not yet available, though a "PaperBench Performance Showcase" is listed as a future feature.

Health Check
Last Commit

16 hours ago

Responsiveness

Inactive

Pull Requests (30d)
9
Issues (30d)
17
Star History
6,011 stars in the last 30 days

Explore Similar Projects

Starred by Alex Yu Alex Yu(Research Scientist at OpenAI; Former Cofounder of Luma AI), Will Brown Will Brown(Research Lead at Prime Intellect), and
7 more.

avante.nvim by yetone

0.5%
16k
Neovim plugin emulating Cursor AI IDE for AI-driven code assistance
Created 1 year ago
Updated 16 hours ago
Feedback? Help us improve.