Skip to main content

Use Neovim likeCursor AI IDE

Avante.nvim brings AI-powered code assistance directly to Neovim with agentic workflows, multi-provider support, and instant code edits. Experience the power of AI without leaving your terminal.

17,000+ Stars
Apache 2.0 License
Neovim 0.10+

Quick Start

Get up and running with Avante.nvim in just a few steps

1

Install with your favorite plugin manager

Add Avante.nvim to your Neovim configuration. For lazy.nvim:
lazy.nvim
{
  "yetone/avante.nvim",
  build = "make",
  event = "VeryLazy",
  opts = {
    provider = "claude",
  },
  dependencies = {
    "nvim-lua/plenary.nvim",
    "MunifTanjim/nui.nvim",
    "nvim-tree/nvim-web-devicons",
  },
}
See the installation guide for other plugin managers.
2

Configure your AI provider

Set up your preferred AI provider. Avante supports Claude, OpenAI, Gemini, Copilot, and more:
export ANTHROPIC_API_KEY=your-api-key
Or configure directly in your setup:
require('avante').setup({
  provider = "claude",
  providers = {
    claude = {
      model = "claude-sonnet-4-20250514",
    },
  },
})
3

Start using AI assistance

Open a code file and ask AI for help:
:AvanteAsk Refactor this function to improve performance
Or toggle the sidebar and start chatting:
:AvanteToggle
Select code in visual mode and use :AvanteEdit to apply AI suggestions directly.

Key Features

Everything you need for AI-powered coding in Neovim

Agentic Workflows

Autonomous AI agents that can execute tools, generate code, and make intelligent decisions without constant prompting.

Multi-Provider Support

Choose from Claude, OpenAI, Gemini, Copilot, Ollama, and more. Switch providers on the fly or use custom providers.

Fast Apply

Instant code edits with specialized models achieving 96-98% accuracy at 2500-4500+ tokens per second.

Zen Mode

Terminal-based Vibe Coding experience that combines CLI convenience with full Neovim power.

ACP Support

Standardized Agent Client Protocol support for seamless integration with AI agents like Gemini CLI and Claude Code.

Project Instructions

Context-aware assistance with project-specific instruction files (avante.md) for tailored AI responses.

RAG Service

Project-aware code suggestions with retrieval-augmented generation for better context understanding.

Inline Suggestions

Real-time AI code suggestions and completions as you type, with diff management for reviewing changes.

Explore by Topic

Dive deeper into Avante.nvim’s capabilities

Core Concepts

Understand modes, providers, and workflows

Configuration

Customize keybindings, windows, and behavior

Providers

Configure Claude, OpenAI, Gemini, and more

Advanced Topics

Tools, completion sources, and web search

Guides

Practical guides and integrations

API Reference

Complete command and Lua API documentation

Community & Support

Get help and connect with other Avante.nvim users

GitHub Discussions

Ask questions, share tips, and discuss features with the community

Discord Server

Join our Discord for real-time chat and support

Issue Tracker

Report bugs, request features, and track development

Troubleshooting

Common issues and solutions to get you unstuck

Ready to transform your Neovim workflow?

Start using AI-powered coding assistance in Neovim today. No subscription required for local models with Ollama.