# auto-dev
**Repository Path**: duraemon/auto-dev
## Basic Information
- **Project Name**: auto-dev
- **Description**: AutoDev: The AI-powered coding wizard(AI 驱动编程助手)with multilingual support 🌐, auto code generation 🏗️, and a helpful bug-slaying assistant 🐞! Customizable prompts 🎨 and a magic
- **Primary Language**: Unknown
- **License**: MPL-2.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2025-03-12
- **Last Updated**: 2025-03-12
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
AutoDev for Intellij
> 🧙AutoDev: The AI-powered coding wizard with multilingual support 🌐, auto code generation 🏗️, and a helpful
> bug-slaying assistant 🐞! Customizable prompts 🎨 and a magic Auto Dev/Testing/Document/Agent feature 🧪 included! 🚀
VSCode Version: [https://github.com/unit-mesh/auto-dev-vscode](https://github.com/unit-mesh/auto-dev-vscode)
[Quick Start →](https://ide.unitmesh.cc/quick-start)
🆕🆕🆕: New AI agent language: [https://github.com/phodal/shire](https://github.com/phodal/shire)
## AutoDev 2.0 Sketch - the Cursor Composer in Intellij IDEA
Video demo (YouTube) — English
[](https://youtu.be/b1pO641-A54)
**AutoDev Sketch** is an IDE canvas feature provided by [Shire](https://github.com/phodal/shire), designed to simplify interactions and enhance the
developer experience within the IDE.
| Sketch Name | Description | Screenshots |
|-----------------------------|--------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------|
| **Code Sketch** | Real-time code editor with syntax highlighting |  |
| **Diff Sketch** | Diff content comparison tool with patch handling |  |
| **Terminal Sketch** | Editable pop-up terminal interface and integration with other sketch, like frontend dev localhost in WebView |  |
| **WebView Sketch** | HTML/React/Ionic mockup generator with WebView display |  |
| **OpenAPI Sketch`*`** | OpenAPI editor with bidirectional code-OpenAPI synchronization |  |
| **Dependency Sketch`*`** | Security-builtin vulnerable dependency checker |  |
| **Go Playground Sketch`*`** | Go Playground with bidirectional code preview/edit |  |
| **Mermaid Sketch`*`** | Real-time flowchart preview/edit with bidirectional binding |  |
| **PlantUML Sketch`*`** | UML diagram editor with bidirectional code-diagram synchronization |  |
`*` means requires additional plugin installation.
### Unite Your Dev Ecosystem, Create Your AI Copilot

### Demos
Video demo (Bilibili) - 中文/Chinese
[](https://www.bilibili.com/video/BV115c6eUEps/)
## AutoDev Architecture
Here is the AutoDev architecture:

## AutoDev 1.0~ Feature Overview
Features:
- Languages support: Java, Kotlin, JavaScript/TypeScript, Rust, Python, Golang, C/C++/OC (TBC), or others...
- Auto development mode
- AutoCRUD (Spring framework). With DevTi Protocol (like `devti://story/github/1102`) will auto
generate Model-Controller-Service-Repository code.
- AutoSQL (required Database plugin). Context-aware SQL generation.
- AutoPage (React). Context-aware Web Page generation.
- AutoArkUI (HarmonyOS). Auto generate HarmonyOS ArkUI code.
- AutoTesting. create unit test intention, auto run unit test and try to fix test.
- AutoDocument. Auto generate document.
- Copilot mode
- AutoDev will help you find bug, explain code, trace exception, generate commits, and more.
- Pattern specific. Based on your code context like (Controller, Service `import`), AutoDev will suggest the best
code to you.
- Related code. Based on recent file changes, AutoDev will call calculate similar chunk to generate the best code.
- Chat with AI. Chat with selection code and context-aware code.
- Customize.
- Custom specification of prompt. For example, Controller, Service, Repository, Model, etc.
- Custom intention action. You can add your own intention action.
- Custom LLM Server. You can customize your LLM Server in `Settings` -> `Tools` -> `AutoDev`
- Custom Living documentation. Customize your own living documentation, like annotation.
- Team AI. Customize your team prompts in codebase, and distribute to your team.
- Prompt override. You can override AutoDev's prompt in your codebase.
- SDLC
- VCS. Generate/improve commit message, release note, and more.
- Code Review. Generate code-review content.
- Smart Refactoring. AI based Rename, refactoring with code smell, refactoring suggetion and more.
- Dockerfile. Based on your project, generate Dockerfile.
- CI/CD config. Based on build tool, generate CI/CD config file, like `.github/workflows/build.yml`.
- Terminal. In Terminal ToolWindow, you can use custom input to generate shell/command
- Custom AI Agent
- Executable AI Agent language: DevIns.
- Custom AI Agent. You can integrate your own AI Agent into AutoDev.
- Model
- Built-in LLM Fine-tune
- [UnitEval](https://github.com/unit-mesh/unit-eval) evaluate llm result
- [UnitGen](https://github.com/unit-mesh/unit-gen) generate code-llm fine-tune data.
AutoDev fine-tune models:
download from [HuggingFace](https://huggingface.co/unit-mesh)
| name | model download (HuggingFace) | model download (OpenBayes) |
|---------------|-----------------------------------------------------------------|------------------------------------------------------------------------------------|
| DeepSeek 6.7B | [AutoDev Coder](https://huggingface.co/unit-mesh/autodev-coder) | AutoDev Coder](https://openbayes.com/console/phodal/models/rCmer1KQSgp/9/overview) |
## Language Features
### Language Support
We follow [Chapi](https://github.com/phodal/chapi) AST analysis engine for language support tier.
| Features | Java | Python | Go | Kotlin | JS/TS | C/C++ | C# | Scala | Rust | ArkTS |
|---------------------------|------|--------|----|--------|-------|-------|----|-------|------|-------|
| Chat Language Context | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | | | ✅ | ✅ |
| Structure AST | ✅ | | ✅ | ✅ | ✅ | ✅ | | | | |
| Doc Generation | ✅ | ✅ | ✅ | ✅ | ✅ | | | | ✅ | ✅ |
| Precision Test Generation | ✅ | ✅ | ✅ | ✅ | ✅ | | | | ✅ | |
| Precision Code Generation | ✅ | | | ✅ | | | | | | |
| AutoCRUD | ✅ | | | ✅ | | | | | | |
### Extensions
see in [exts](exts)
## Demo
DevIns Language demo (Bilibili) - 中文
[](https://www.bilibili.com/video/BV12H4y1W7sE/)
Video demo (YouTube) — English
[](https://youtu.be/gVBTBdFV5hA)
Video demo (Bilibili) - 中文
[](https://www.bilibili.com/video/BV1yV4y1i74c/)
## Useful Links
- [Copilot-Explorer](https://github.com/thakkarparth007/copilot-explorer) Hacky repo to see what the Copilot extension
sends to the server.
- [GitHub Copilot](https://github.com/saschaschramm/github-copilot) a small part of Copilot Performance logs.
- [花了大半个月,我终于逆向分析了Github Copilot](https://github.com/mengjian-github/copilot-analysis)
## Who is using AutoDev?
Welcome to add your company here.
- Thoughtworks, a leading technology consultancy.
## License
Inspired by:
- Multiple target inspired
by: [https://github.com/intellij-rust/intellij-rust](https://github.com/intellij-rust/intellij-rust)
- SimilarFile inspired by: GitHub Copilot
- DevIn Language refs
on [JetBrains' Markdown Util](https://github.com/JetBrains/intellij-community/tree/master/platform/markdown-utils),
which is licensed under the Apache 2.0 license.
- Stream Diff based on [Continue Dev](https://github.com/continuedev/continue) under the Apache 2.0 license.
- Ripgrep inspired by [Cline](https://github.com/cline/cline) under the Apache 2.0 license.
- MCP based on [JetBrains' MCP](https://plugins.jetbrains.com/plugin/26071-mcp-server)
This code is distributed under the MPL 2.0 license. See `LICENSE` in this directory.