#8787th of 87 in Coding agents and assistants
chatgpt.nvim
Neovim plugin for chat, code editing and actions via the OpenAI API
Live demo ↗
(opens in a new tab)Documentation ↗
(opens in a new tab)Repository on GitHub ↗
(opens in a new tab)
- Stars
- 4k
- License
- Apache-2.0
- Last commit
- Jan 2026
- Last release
- Jan 2023
- Language
- Lua
Missed the latest GitHub check; these facts may be older.
Overview
ChatGPT.nvim adds a chat window, an edit-with-instructions window and a set of ChatGPTRun actions (fix_bugs, add_tests, docstring, explain_diagnostic and others) to Neovim, backed by the OpenAI API. Custom actions are defined in a JSON file with templates, and Azure OpenAI and custom API hosts are supported. It calls the API through curl; the last tagged release is from January 2023, though commits continue into 2026.
Who it is for: Neovim users who want OpenAI chat and code edit commands inside the editor
Strengths
- Custom actions defined in JSON with template variables like {{input}}, {{filetype}} and {{diagnostic}}
- API key can come from a command (api_key_cmd), such as 1Password or GPG, instead of an env var
- Supports Azure OpenAI and a custom API host via config or environment variables
- Inline @ references pull in LSP definitions or project files as prompt context
Weaknesses
- Only OpenAI-style APIs are documented; no local model or other provider setup is described
- Does not run commands or work across the repo as an agent; it edits buffers and selections
- Requires paid OpenAI API credits; a ChatGPT Plus subscription does not cover them
- Last tagged release is 2023-01-08, so versioned installs are old; the README notes edit models are deprecated
What it needs
- no GPU
- Needs Neovim, curl, nui.nvim, plenary.nvim, telescope.nvim, trouble.nvim (optional), OpenAI API key
- Models: OpenAI GPT models (gpt-5-mini default), Azure OpenAI
Also in Coding agents and assistants
See all 87| Rank | Project | Score |
|---|---|---|
| 1 | claw-codeRust CLI coding agent harness using Anthropic and OpenAI-compatible APIs | 83 out of 100 |
| 2 | ArchonYAML workflow engine that runs AI coding agents through fixed dev steps | 82 out of 100 |
| 3 | oh-my-openagentTerminal coding agent with multi-model orchestration and git-backed memory | 80 out of 100 |
| #4 | Open SWELangChain coding agent that plans, implements and reviews pull requests | 80 out of 100 |
| #5 | opencodeTerminal coding agent with build and plan modes, plus a desktop app | 79 out of 100 |