An open API service indexing awesome lists of open source software.

https://github.com/unit-mesh/auto-dev

🧙‍AutoDev: The AI-powered coding wizard(AI 驱动编程助手)with multilingual support 🌐, auto code generation 🏗️, and a helpful bug-slaying assistant 🐞! Customizable prompts 🎨 and a magic Auto Dev/Testing/Document/Agent feature 🧪 included! 🚀
https://github.com/unit-mesh/auto-dev

aigc genai genaistack ide intellij

Last synced: 4 days ago
JSON representation

🧙‍AutoDev: The AI-powered coding wizard(AI 驱动编程助手)with multilingual support 🌐, auto code generation 🏗️, and a helpful bug-slaying assistant 🐞! Customizable prompts 🎨 and a magic Auto Dev/Testing/Document/Agent feature 🧪 included! 🚀

Awesome Lists containing this project

README

        


logo


AutoDev for Intellij







Build


Powered By

> 🧙‍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! 🚀

## AutoDev 2.0 Sketch - the Cursor Composer in Intellij IDEA

Video demo (YouTube) — English

[![Watch the video](https://img.youtube.com/vi/b1pO641-A54/sddefault.jpg)](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 | ![](https://shire.run/images/shire-sketch-diff.png) |
| **Diff Sketch** | Diff content comparison tool with patch handling | ![](https://shire.run/images/shire-sketch-diff-view.png) |
| **Terminal Sketch** | Editable pop-up terminal interface and integration with other sketch, like frontend dev localhost in WebView | ![](https://shire.run/images/shire-sketch-terminal.png) |
| **WebView Sketch** | HTML/React/Ionic mockup generator with WebView display | ![](https://shire.run/images/shire-sketch-webview.png) |
| **OpenAPI Sketch`*`** | OpenAPI editor with bidirectional code-OpenAPI synchronization | ![](https://unitmesh.cc/auto-dev/sketch-openapi.png) |
| **Dependency Sketch`*`** | Security-builtin vulnerable dependency checker | ![](https://unitmesh.cc/auto-dev/sketch-security-dependency.png) |
| **Go Playground Sketch`*`** | Go Playground with bidirectional code preview/edit | ![](https://unitmesh.cc/auto-dev/sketch-go-playground.png) |
| **Mermaid Sketch`*`** | Real-time flowchart preview/edit with bidirectional binding | ![](https://shire.run/images/shire-sketch-mermaid.png) |
| **PlantUML Sketch`*`** | UML diagram editor with bidirectional code-diagram synchronization | ![](https://shire.run/images/shire-sketch-plantuml.png) |
| **PlanSketch** | Display AutoDev Planner planning for resolving code issues | ![](https://unitmesh.cc/auto-dev/autodev-plan-sketch.png) |

`*` means requires additional plugin installation.

### Unite Your Dev Ecosystem, Create Your AI Copilot

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)

![Dev Ecosystem](https://shire.run/images/shire-ecology-system.png)

### Demos

Video demo (Bilibili) - 中文/Chinese

[![Watch the video](https://img.youtube.com/vi/1m3HJzw0YhA/sddefault.jpg)](https://www.bilibili.com/video/BV115c6eUEps/)

## AutoDev Architecture

Here is the AutoDev architecture:

![](docs/autodev-arch.svg)

## AutoDev 1.0~ Feature Overview


Overview

Features:

- Sketch coding Agent
- Agentic drive coding workflow with Sketch viewer.
- 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.~~
- Auto Testing. create unit test intention, auto run unit test and try to fix test.
- Auto Document. 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 |
|---------------------------|------|--------|----|--------|-------|-------|----|-------|------|
| Chat Language Context | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | | | ✅ |
| Structure AST | ✅ | | ✅ | ✅ | ✅ | ✅ | | | |
| Doc Generation | ✅ | ✅ | ✅ | ✅ | ✅ | | | | ✅ |
| Precision Test Generation | ✅ | ✅ | ✅ | ✅ | ✅ | | | | ✅ |
| Precision Code Generation | ✅ | | | ✅ | | | | | |

### Extensions

see in [exts](exts)

## Demo

DevIns Language demo (Bilibili) - 中文

[![Watch the video](https://img.youtube.com/vi/gVBTBdFV5hA/sddefault.jpg)](https://www.bilibili.com/video/BV12H4y1W7sE/)

Video demo (YouTube) — English

[![Watch the video](https://img.youtube.com/vi/gVBTBdFV5hA/sddefault.jpg)](https://youtu.be/gVBTBdFV5hA)

Video demo (Bilibili) - 中文

[![Watch the video](https://img.youtube.com/vi/gVBTBdFV5hA/sddefault.jpg)](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.