Neovate Code - Ant Group's open-source AI programming assistant
Neovate Code is an open-source intelligent programming assistant from Ant Group, focused on improving development efficiency. The tool deeply understands codebases, follows existing coding practices, and accurately completes tasks such as code generation, bug fixing, and refactoring.
What is Neovate Code?
Neovate Code is an open-source intelligent programming assistant from Ant Group, focused on improving development efficiency. The tool deeply understands codebases, follows existing coding practices, and accurately completes tasks such as code generation, bug fixing, and refactoring. Through a conversational interface, it allows developers to naturally describe their requirements, and Neovate Code provides a secure and controllable implementation solution. The tool supports various popular models (such as OpenAI and Anthropic) and can be flexibly extended through a plugin system. Currently provided as a CLI tool, it will be adapted to more client forms in the future to meet the needs of different development scenarios.
Neovate Code's main functions
- Conversational DevelopmentIt provides a natural dialogue interface, allowing developers to describe their programming requirements in natural language. Neovate Code understands and generates the corresponding code, making programming more intuitive and efficient.
- AGENTS.md rules fileDevelopers can create
AGENTS.mdThe file defines custom rules and behaviors for the project. Neovate Code generates code that meets the project requirements based on these rules, ensuring consistent code style. - Session continuation and resumptionIt supports continuing previous work across sessions, eliminating the need for developers to re-enter instructions or context information, saving time and effort.
- Supports popular models and providersIt supports multiple mainstream AI models such as OpenAI, Anthropic, and Google. By configuring the API Key in the environment variables, developers can quickly switch and use different models.
- slash commandProvides slash commands (e.g.)
/login,/model(etc.), used to quickly perform common operations, such as configuring API keys or switching models. - Output styleDevelopers can customize how code changes are presented. Neovate Code generates code output that matches the developer's habits based on the settings, improving code readability.
- Planning modeProvide an implementation plan for developers to review, and execute it only after confirming that it is correct, so as to ensure the accuracy and security of the generated code.
- Headless modeSupports headless mode, which can automate workflows without interactive prompts, and is suitable for automation scenarios such as CI/CD.
- Plug-in systemIt provides a plugin system, allowing developers to write plugins to extend functionality, such as adding new modules, integrating tools, or adapting to development environments.
- MCP (Model Context Protocol)Supports MCP, used in enhanced integration of the model context protocol, enabling the sharing of context information between different models and ensuring consistency and coherence in code generation.
- Git WorkflowSeamlessly integrates with Git workflows, supports intelligent commit messages and branch management, allowing developers to generate commit messages and manage code branches directly within Neovate Code.
How to use Neovate Code
-
Install Neovate Code:
-
Open a terminal or command-line tool.
-
Enter the following command to install:
npm install -g @neovate/code
-
- Launch Neovate CodeAfter installation, enter the following command to launch Neovate Code:
neovate - Configure API Key:
- If the API Key has not yet been set in the environment variables, you need to configure it first.
- Enter in the Neovate Code interface
/login. - Follow the prompts to select a target model provider (such as OpenAI, Anthropic, etc.).
- Visit the corresponding website to log in or register, and create and fill in an API Key.
-
Select Model:
-
After completing the API Key configuration, enter...
/model. -
Select the available models under this provider.
-
-
Start using:
-
Describe development requirements in the command line, for example:
-
"Add error handling to the user authentication function."
-
"Refactor this component to use TypeScript."
-
"Create unit tests for the payment service."
-
-
-
Utilize other functions:
-
If you need to continue your previous work, use the session continue and resume function.
-
Use the forward slash command (e.g.)
/helpGet help or perform other operations. -
Custom output style or via
AGENTS.mdThe file defines the rules for the project. -
Enable the planning mode to review the implementation plan, or enable the headless mode to automate the workflow.
-
Neovate Code's project address
- Project official websitehttps://neovateai.dev/
- GitHub repositoryhttps://github.com/neovateai/neovate-code
Application scenarios of Neovate Code
- Feature developmentDevelopers can quickly describe their requirements through a conversational interface, and Neovate Code automatically generates code implementations, accelerating the feature development process.
- Bug fixesNeovate Code can identify potential problems in code, provide solutions, and help developers quickly locate and resolve bugs.
- Code refactoringDevelopers can request Neovate Code to optimize or refactor existing code to improve code quality and maintainability.
- Test code generationGenerate test code based on requirements to help developers quickly complete the writing of unit tests or integration tests.
- Database optimizationDevelopers can optimize database query statements and improve the performance of database operations.