avante.nvim: a Cursor-shaped layer over Neovim, with a Rust core
Use your Neovim like using Cursor AI IDE!
At a glance
- What is it?
- avante.nvim gives Neovim AI code suggestions, project instruction files, a local RAG service and Agent Client Protocol support, but it also drags four Rust crates and a tokenizer build into an otherwise pure Lua plugin.
- Who is it for?
- avante.nvim is a good fit for someone who already lives in Neovim and wants agent-style editing without leaving the editor, particularly because the ACP path lets it defer to codex or gemini rather than owning the agent loop itself.
- Can I use it commercially?
- Yes. Apache-2.0 is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
- Is it still maintained?
- Yes. The repository received new commits within the last day.
- What is it written in?
- Mainly Lua, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 26, 2026, and from our analysis. They are not legal advice.
Star history
- avante-corp/avante.nvim18,208 ★ · +19
| Repository | 2026-10-23 | 2026-11-26 |
|---|---|---|
| avante-corp/avante.nvim | 18.2k | 18.2k |
19 Stars in the last 34 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
A Lua plugin that needs a Rust toolchain to run
The repository description is one line: use Neovim like the Cursor AI IDE. The language badge says Lua, and the Lua is the user-facing surface, but the tree tells a longer story. Alongside `lua/`, `plugin/`, `autoload/` and `ftplugin/` there are `crates/`, `Cargo.toml`, `Cargo.lock`, `build.sh`, `Build.ps1`, a `Makefile` and `.cargo/`. There is also a `py/` directory, `ruff.toml` and `pyrightconfig.json`.
The `Cargo.toml` is the clearest statement of what those crates are for. The workspace is edition 2024 with `rust-version` 1.94, and its members are path dependencies on `avante-tokenizers`, `avante-templates`, `avante-repo-map` and `avante-html2md`. Read the dependency list and the jobs fall out: `tiktoken-rs` at 0.12.0 and `tokenizers` at 0.23.2 for token counting and chunking, `minijinja` at 2.24.0 for templates, `mlua` at 0.12.1 to expose the Rust side to Lua, and `serde` for the plumbing.
That last one, `mlua`, is the hinge of the whole design. The plugin is not calling a local HTTP service for its core editing behaviour, it is loading shared libraries into the Neovim process. The `Makefile` confirms it, building one library per crate and per Lua runtime:
LUA_VERSIONS := luajit lua51The README says `cargo` is required only if you build from source; otherwise `curl` and `tar` fetch a prebuilt binary from GitHub.
Zen Mode and ACP, which is where the agent actually comes from
The feature list names AI-powered code assistance, one-click application of suggestions, project instruction files, ACP support, many providers, and an optional local RAG. The most interesting entry is ACP, the Agent Client Protocol, listed with codex and gemini as examples.
That single word reframes the project. Avante Zen Mode is described as launching avante so it looks like a typical vibe coding agent CLI while being Neovim underneath. In other words the agent loop can be someone else's binary, and avante.nvim supplies the editor surface around it.
The practical consequence is architectural rather than cosmetic. If you configure a provider directly instead, openai, anthropic, mistral, deepseek, ollama and llama-cpp among them, you are running the loop yourself and Avante is doing the prompting and the editing. Two quite different setups sit behind one plugin.
The Zen Mode entry point is also unusually simple: install `contrib/avante` in your PATH, or make an equivalent alias, then type `avante`. Whether that is a good trade depends on how much you care about working inside Neovim's window system.
avante.md as the cheapest feature with the largest effect
Project instruction files get a full section of the README, and they deserve it. A markdown file called `avante.md` by default, placed in the project root, is referenced automatically during interactions, and the filename is configurable.
The README offers a template with a role section and a mission section, and this is what the role half looks like:
### your role
you are an expert senior software engineer specializing in [technology stack]. you have deep knowledge of [specific frameworks/tools] and understand best practices for [domain/industry]. you write clean, maintainable, and well-documented code. you prioritize code quality, performance, and security in all your recommendations.The recommended mission section is a bulleted list: suggestions that follow established patterns, help debugging by analysis, refactoring to improve code quality and maintainability, optimisations for performance and scalability, security guidelines, and comprehensive tests. The additional sections suggested are project context, technology stack, coding standards, architecture guidelines, testing requirements and security considerations.
Read as engineering advice, this is competent and slightly generic: it is the kind of file that makes a model behave predictably and will not by itself make it good at your codebase. The honest framing is that `avante.md` gives you a stable place to state the rules you would otherwise retype.
Fast Apply, RAG, MCP and the rest of the surface
Beyond the headline items the table of contents runs long: Fast Apply, ACP Support, RAG Service, Tools, Disable Tools, Web Search Engines, Integrations, key bindings, commands and highlight groups. Each has its own section in the README. What the tree tells you is how much is native.
Fast Apply has its own README section, and the RAG service is the retrieval layer, described in the README as needing extra configuration to run locally. The Makefile pins how that service is delivered:
RAG_SERVICE_VERSION ?= 0.0.11
RAG_SERVICE_IMAGE := quay.io/yetoneful/avante-rag-service:$(RAG_SERVICE_VERSION)That is a separately versioned container image, which is worth noticing. RAG is not a Lua table you configure; it is another piece of software with its own version number, pulled by tag.
The Tools section, including web search engines, means the plugin can reach outside the editor, which adds failure modes that have nothing to do with Neovim.
Where the README stops and the release cadence starts
The README in this repository is an index with a strong opening. It states the goal, lists features, explains `avante.md` at length, and then covers installation with lazy.nvim and Pack, usage, key bindings and commands.
What the repository does settle is its engineering standards, and they are unusually strict for a plugin. The workspace lints set `unsafe_code` to warn and `unreachable_pub` to warn at the crate level, and the clippy configuration enables `pedantic` at warn priority with thirteen lints explicitly allowed and a block of restriction lints turned on, including `print_stdout`, `print_stderr`, `dbg_macro`, `exit` and `unwrap`-adjacent rules. There is a `.pre-commit-config.yaml`, `stylua.toml`, `.luacheckrc`, `.busted` and a `tests/` directory, plus tests and pre-commit CI workflows linked from the README badges.
The version numbers deserve attention because they are honest about maturity. The latest releases are `v0.4.7` and `v0.4.8`, both published on 2026-10-28, and `v0.5.0` on 2026-10-31, and the crate workspace declares version 0.5.0. A plugin at 0.5.x with 18,182 stars, 858 forks and 59 open issues, last pushed on 2026-11-02, is popular and young, and the README says as much in its own way with a note that the project is undergoing rapid iterations and that many features will be added successively.
What avante.nvim is not
It is not a language server. The README's list is about conversation, suggestions, applying changes, retrieval and tools. If your problem is that a large Lua codebase has no type information, this plugin will not fix it, and `pyrightconfig.json` in the tree configures this repository's own Python code, not yours.
It is also not self-contained. Providers are external by definition, ACP means an external agent binary, the RAG path means an external container. A fully local setup exists, with ollama and llama-cpp named as providers and the RAG service as a local image, but even that is several moving parts.
Against Cursor the comparison is not quite fair. Cursor is a fork with proprietary model integration and an indexer it controls; avante.nvim borrows an editor and a model you already have. Against other Neovim AI plugins the differentiator is that this one carries real native code and an agent protocol rather than only assembling HTTP calls, which is why the build step exists at all. That bet pays off if you want the ACP route and frustrates you if you wanted a single `require` line.
Editorial conclusion
avante.nvim is a good fit for someone who already lives in Neovim and wants agent-style editing without leaving the editor, particularly because the ACP path lets it defer to codex or gemini rather than owning the agent loop itself. The cost is that it is not a Lua plugin in any light sense: its Rust crates become shared libraries copied into `lua/`, either compiled with `cargo` or fetched as a prebuilt binary with `curl` and `tar`, and the optional RAG path adds a separately versioned container image at `quay.io/yetoneful/avante-rag-service:0.0.11`. If your setup must stay pure Lua, this is the wrong plugin. Otherwise start with the `avante.md` file in your project root, since that is the cheapest feature and the one that most changes how the model answers, then decide later whether you want the local RAG service at all.
Frequently asked questions
Can I use AI in NeoVim?
Yes, and avante.nvim is one of the ways. It adds AI-driven suggestions about the current file, one-click application of the suggested changes, project instruction files, and support for providers including openai, anthropic, mistral, deepseek, ollama and llama-cpp, plus Agent Client Protocol support so codex or gemini can drive the agent loop.
Can NeoVim be used as an ide?
The plugin's stated aim is to behave like the Cursor AI IDE, and Zen Mode goes further by presenting avante as an agent CLI while Neovim stays underneath. What it adds is AI-driven code suggestions, one-click application of changes and optional retrieval.
Does avante.nvim need Rust to install?
The plugin's core is written against four Rust crates, `avante-tokenizers`, `avante-templates`, `avante-repo-map` and `avante-html2md`, compiled for LuaJIT and Lua 5.1 and copied into `lua/` as shared libraries. The workspace requires Rust edition 2024 with rust-version 1.94, and `build.sh` plus `Build.ps1` are the entry points. A Rust toolchain is needed only to build from source; otherwise the README says `curl` and `tar` fetch a prebuilt binary from GitHub.
Is the RAG in avante.nvim optional and how is it delivered?
It is optional and needs extra configuration, according to the README. When enabled it runs as a separate container image pinned in the Makefile, currently `quay.io/yetoneful/avante-rag-service` at version 0.0.11, which means the retrieval layer is versioned separately from the plugin itself.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/avante-corp-avante-nvim)Star history chart for your README
[](https://hysenlabs.com/projects/avante-corp-avante-nvim)Was this useful?