Repolode
avante-corp

avante-corp/avante.nvim

A Neovim plugin that brings Cursor-style AI chat, code suggestions and one-click diff application to your editor.

Open-source alternative to:Cursor

Stars
18,189
Forks
861
Open issues
54
Last commit
yesterday

What is it?

avante.nvim is a Neovim plugin that emulates the workflow of the Cursor AI IDE inside Neovim. You can ask an AI questions about the current file, receive suggested code changes, and apply them directly to your source files with a single command.

The plugin supports many model providers, including OpenAI, Anthropic, Mistral, DeepSeek, Ollama and llama.cpp, and it includes an agentic mode that uses tools to generate code. It also supports the Agent Client Protocol (ACP) for connecting external coding agents such as codex and gemini. A project-level instruction file (avante.md by default) lets you give the AI persistent context about your codebase.

Installation works with lazy.nvim, Neovim's built-in pack manager, vim-plug, mini.deps, Nix and rocks.nvim. Optional dependencies add file pickers, image pasting, Copilot integration and markdown rendering.

Key features

  • 01Ask AI questions about the current file and get code suggestions in a sidebar.
  • 02Apply AI-suggested changes to source files with one command or key binding.
  • 03Works with many model providers, including OpenAI, Anthropic, DeepSeek, Ollama and llama.cpp.
  • 04Supports project-specific instructions through an avante.md file.
  • 05Connects to external coding agents via the Agent Client Protocol.

Use cases

  • Getting AI help with refactoring or explaining code without leaving Neovim.
  • Applying multi-file or single-file edits suggested by an AI directly in the buffer.
  • Running local models through Ollama or llama.cpp inside a Neovim workflow.

Quick start

  1. 1

    Add avante.nvim with your plugin manager (lazy.nvim example in README)

  2. 2

    Build the plugin's binary with make (cargo is needed only when building from source)

    make
  3. 3

    Call the setup function in your Neovim config

    require('avante').setup()

Things to know

  • Requires Neovim v0.12 or newer.
  • Building from source requires cargo; otherwise the build fetches prebuilt binaries from GitHub with curl and tar.
  • The README says the project is undergoing rapid iterations, so features and behaviour may change.

Topics

FAQ

What is avante.nvim?
A Neovim plugin that brings Cursor-style AI chat, code suggestions and one-click diff application to your editor. avante.nvim is a Neovim plugin that emulates the workflow of the Cursor AI IDE inside Neovim. You can ask an AI questions about the current file, receive suggested code changes, and apply them directly to your source files with a single command.
Is avante.nvim free to use? What license does it have?
avante.nvim is open source under the Apache-2.0 license. Check the license terms before using it in commercial products.
Is avante.nvim still maintained?
Actively maintained. The last commit to avante.nvim was on Oct 20, 2026.
What can I use avante.nvim for?
Getting AI help with refactoring or explaining code without leaving Neovim. Applying multi-file or single-file edits suggested by an AI directly in the buffer. Running local models through Ollama or llama.cpp inside a Neovim workflow.
How do I install avante.nvim?
Add avante.nvim with your plugin manager (lazy.nvim example in README) Build the plugin's binary with make (cargo is needed only when building from source): make Call the setup function in your Neovim config: require('avante').setup()
Where can I get avante.nvim?
The source code and installation instructions are on GitHub: https://github.com/avante-corp/avante.nvim

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects