An Emacs package that brings as-you-type code completion from LLMs such as OpenAI, Claude, Gemini, Ollama and llama.cpp into your editor.
milanglacier/minuet-ai.nvim
A Neovim plugin that provides as-you-type AI code completion using OpenAI, Gemini, Claude, Ollama, llama.cpp, Codestral and other LLM providers.
Open-source alternative to:GitHub Copilot
- Stars
- 1,445
- Forks
- 70
- Open issues
- 14
- Last commit
- last month
What is it?
Minuet is a Lua plugin for Neovim that requests code completions from large language models as you type. It supports chat-based models such as OpenAI, Claude and Gemini, as well as fill-in-the-middle (FIM) completion for models like Codestral, DeepSeek, and Qwen served through Ollama, llama.cpp, or any OpenAI-compatible endpoint.
Suggestions can be displayed through several frontends: Minuet's own virtual text, nvim-cmp, blink.cmp, Neovim's built-in completion, or mini.completion. Multi-line suggestions can be accepted line by line. The plugin calls the provider over curl and does not run a separate background binary.
Requests are controlled by settings for debounce, throttle, timeout and context window size, and streaming is supported so that slower models can still return partial results.
Key features
- 01Completion from OpenAI, Claude, Gemini, Codestral, Ollama, llama.cpp and OpenAI-compatible services
- 02Fill-in-the-middle completion for models that support it, such as DeepSeek and Qwen
- 03Multiple frontends: virtual text, nvim-cmp, blink.cmp, built-in completion and mini.completion
- 04Line-by-line acceptance of multi-line suggestions
- 05Streaming responses, with configurable debounce, throttle and timeout
Use cases
- Getting inline AI code suggestions in Neovim while using a hosted API key
- Running completion fully locally with Ollama or llama.cpp and a small coding model
- Comparing different LLM providers for code completion without switching editors
Quick start
- 1
Install with rocks.nvim
Rocks install minuet-ai.nvim - 2
Call require('minuet').setup with your options in your Neovim config (lazy.nvim example in the README)
- 3
Provide an API key for a supported AI provider, or run a local model such as Ollama or llama.cpp
- 4
Add a frontend such as virtual text, nvim-cmp, or blink-cmp as described in the Quick Start section
Things to know
- Requires an API key for at least one AI provider, or a self-hosted model server.
- Next-edit prediction via the duet commands is highly experimental.
- Licensed under GPL-3.0, a copyleft license that requires derivative works to remain open source.
In collections
Topics
FAQ
- What is minuet-ai.nvim?
- A Neovim plugin that provides as-you-type AI code completion using OpenAI, Gemini, Claude, Ollama, llama.cpp, Codestral and other LLM providers. Minuet is a Lua plugin for Neovim that requests code completions from large language models as you type. It supports chat-based models such as OpenAI, Claude and Gemini, as well as fill-in-the-middle (FIM) completion for models like Codestral, DeepSeek, and Qwen served through Ollama, llama.cpp, or any OpenAI-compatible endpoint.
- Is minuet-ai.nvim free to use? What license does it have?
- minuet-ai.nvim is open source under the GPL-3.0 license. Check the license terms before using it in commercial products.
- Is minuet-ai.nvim still maintained?
- Updated within 6 months. The last commit to minuet-ai.nvim was on Oct 7, 2026.
- What can I use minuet-ai.nvim for?
- Getting inline AI code suggestions in Neovim while using a hosted API key Running completion fully locally with Ollama or llama.cpp and a small coding model Comparing different LLM providers for code completion without switching editors
- How do I install minuet-ai.nvim?
- Install with rocks.nvim: Rocks install minuet-ai.nvim Call require('minuet').setup with your options in your Neovim config (lazy.nvim example in the README) Provide an API key for a supported AI provider, or run a local model such as Ollama or llama.cpp Add a frontend such as virtual text, nvim-cmp, or blink-cmp as described in the Quick Start section
- Where can I get minuet-ai.nvim?
- The source code and installation instructions are on GitHub: https://github.com/milanglacier/minuet-ai.nvim
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
A Neovim plugin that combines Copilot LSP's Next Edit Suggestions with a built-in terminal for running AI CLI tools.
A Vim plugin that adds Copilot-style code completion, chat and AI-assisted editing, backed by a local Ollama server or OpenAI-compatible and Mistral APIs.
VS Code extension for local LLM code completion, AI chat, and an agentic coding assistant backed by llama.cpp.
Vim plugin that provides local LLM-powered fill-in-the-middle code completion and instruction-based editing via a llama.cpp server.
Neovim plugin that connects your editor to OpenCode, sending code context and prompts without leaving your Vim workflow.