# auto-dev
**Repository Path**: unit-mesh/auto-dev
## Basic Information
- **Project Name**: auto-dev
- **Description**: π§βAutoDev: The AI-powered coding wizard with multilingual support π, auto code generation ποΈ, and a helpful bug-slaying assistant π!
- **Primary Language**: Kotlin
- **License**: MPL-2.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 7
- **Forks**: 3
- **Created**: 2024-06-25
- **Last Updated**: 2025-06-21
## Categories & Tags
**Categories**: ai
**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! π
## 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 |  |
| **PlanSketch** | Display AutoDev Planner planning for resolving code issues |  |
`*` 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)

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

## AutoDev 1.0~ Feature 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) - δΈζ
[](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.