auto-dev
auto-dev copied to clipboard
🧙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...
AutoDev
🧙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! 🚀
DevIns — AI Agent language for AutoDevelopment → which you can use follow syntax as bridges for Human-AI-IDE:
/write:src/main/java/cc/unitmesh/Controller.java#L1-L12
```java
public class Controller {
public void method() {
System.out.println("Hello, World!");
}
}
```
With built-in syntax highlighting and auto-completion, you can use DevIns as next-generation AI Agent language.
AutoDev Architecture
Here is the AutoDev architecture:
AutoDev Feature Overview
Features:
- Languages support: Java, Kotlin, JavaScript/TypeScript, Rust, Python, Golang, C/C++/OC, 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. Context-aware SQL generation.
- AutoPage (React). Context-aware Web Page generation.
- AutoArkUI (Mobile UI framework). Auto generate HarmonyOS ArkUI code.
- AutoTesting. create unit test intention, auto run unit test and try to fix test.
- AutoDocument. Auto generate document.
- AutoCRUD(Spring framework). With DevTi Protocol (like
- 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 mode
- Chat with AI.
- Chat with selection code.
- Chat with code context-aware (To be implemented).
- 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.
- Team prompts. Customize your team prompts in codebase, and distribute to your team.
- Custom AI Agent. You can integrate your own AI Agent into AutoDev.
- Prompt override. You can override AutoDev's prompt in your codebase.
- Infrastructure / DevOps
- CI/CD support. AutoDev will auto generate CI/CD config file.
- Dockerfile support. AutoDev will auto generate Dockerfile.
- DevIns language
- Executable AI Agent language.
- Built-in LLM Fine-tune
AutoDev fine-tune models:
download from HuggingFace
name | model download (HuggingFace) | finetune Notebook | model download (OpenBayes) |
---|---|---|---|
DeepSeek 6.7B | AutoDev Coder | finetune.ipynb | AutoDev Coder |
Language Features
Language Support
We follow 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
Demo
DevIns Language demo (Bilibili) - 中文
Video demo (YouTube) — English
Video demo (Bilibili) - 中文
Useful Links
- Copilot-Explorer Hacky repo to see what the Copilot extension sends to the server.
- GitHub Copilot a small part of Copilot Performance logs.
- 花了大半个月,我终于逆向分析了Github Copilot
Who is using AutoDev?
Welcome to add your company here.
- Thoughtworks, a leading technology consultancy.
License
- ChatUI based on: https://github.com/Cspeisman/chatgpt-intellij-plugin
- Multiple target inspired by: https://github.com/intellij-rust/intellij-rust
- SimilarFile inspired by: JetBrains and GitHub Copilot
- DevIn Language refs on JetBrains' Markdown Util, which is licensed under the Apache 2.0 license.
Known License issues: JetBrain plugin development is no walk in the park! Oops, we cheekily borrowed some code from the JetBrains Community version and the super cool JetBrains AI Assistant plugin in our codebase. But fret not, we are working our magic to clean it up diligently! 🧙♂️✨.
Those codes will be removed in the future, you
can check it in src/main/kotlin/com/intellij/temporary
, if you want to use this plugin in your company,
please remove those codes to avoid any legal issues.
This code is distributed under the MPL 2.0 license. See LICENSE
in this directory.