This project is undergoing rapid iterations, and many exciting features will be added successively. Stay tuned!
What is Avante.nvim?
Avante.nvim brings the power of AI-assisted coding directly into your Neovim workflow. Instead of switching between your editor and external AI tools, you can interact with AI models, get intelligent code suggestions, and apply changes seamlessly—all without leaving Neovim. Think of it as having an AI pair programmer that understands your codebase, can answer questions about your code, suggest improvements, and even apply those changes with a single command.Key Features
AI-Powered Code Assistance
Interact with AI to ask questions about your current code file and receive intelligent suggestions for improvement or modification.
One-Click Application
Quickly apply the AI’s suggested changes to your source code with a single command, streamlining the editing process and saving time.
Project-Specific Instructions
Customize AI behavior by adding a markdown file (
avante.md by default) in the project root. This file is automatically referenced during workspace changes.Multiple AI Providers
Support for Claude, OpenAI, Azure, Gemini, Cohere, Copilot, Ollama, and many more providers.
Why Use Avante.nvim?
Stay in Your Flow
Context switching is expensive. Avante.nvim keeps you in Neovim where you’re most productive, leveraging your muscle memory and existing keybindings.Leverage Terminal-Based Editor Advantages
As noted in the Avante Zen Mode philosophy: Terminal-based editors have solved the UI/UX challenges that CLI applications face. Avante.nvim gives you all the power of modern Coding Agent CLIs while maintaining Vim’s elegant action + text objects abstraction and access to thousands of mature Neovim plugins.Flexible and Customizable
- Configure AI behavior per project with
avante.mdinstruction files - Choose from multiple AI providers
- Customize keybindings, UI position, and behavior
- Integrate with your existing Neovim setup
How It Works
- Open your code in Neovim
- Ask the AI using
:AvanteAskor toggle the sidebar - Review suggestions in the AI-powered sidebar
- Apply changes with a single keypress or command
Demo
See Avante.nvim in action:Requirements
For building from source:- cargo (Rust toolchain) - required if building from source
- curl and tar - used to download prebuilt binaries from GitHub