parrot.nvim
A Neovim AI plugin edits text and saves chats in Markdown, with support for offline Ollama models, cloud APIs and external agents.
Alternative to:
parrot.nvim is an AI coding and text editing assistant for Neovim users who want to request changes and chat without leaving their editor. It builds on an early fork of gp.nvim and lets you choose what context goes to the model.
- On-demand editing: Generate code from comments, rewrite selected text, or add text before and after a selection, with diff previews and the ability to revise or retry a request.
- Saved conversations: Chat in native Neovim buffers and keep conversations as local Markdown files, with separate model choices for chats and editing tasks.
- Local and cloud models: Use Ollama for offline inference or connect to OpenAI, Anthropic, Google Gemini, xAI and custom OpenAI-compatible endpoints.
- Project instructions: Give the model repository-specific context through a
.parrot.mdfile and create reusable editing hooks with predefined prompts. - External agents: Connect to backends such as Grok Build through the Agent Client Protocol (ACP) for tool use and long-running sessions inside Neovim.
The plugin runs locally in Neovim. Ollama can keep inference on your own hardware; cloud API requests send the context you provide to the chosen service and require connectivity and provider credentials. Agent capabilities come from the connected backend rather than a built-in autonomous loop. parrot.nvim doesn't provide automatic ghost-text completions or send hidden requests to analyze your files.