Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
neovim frontend for opencode - a terminal-based AI coding agent
| Date | Stars |
|---|---|
| 2026-07-31 | 911 |
| 2026-08-06 | 914 |
Today
+3 stars today
This week
— stars this week
This month
— stars this month
Momentum
12.0
growth rate 0.00%/day
# 🤖 opencode.nvim
> neovim frontend for opencode - a terminal-based AI coding agent
<div align="center">
<img src="https://raw.githubusercontent.com/sst/opencode/dev/packages/web/src/assets/logo-ornate-dark.svg" alt="Opencode logo" width="30%" />
</div>
<div align="center">

[](https://github.com/sudo-tee/opencode.nvim/stargazers)

<a href="https://www.buymeacoffee.com/sudo.tee"><img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" height="20px"></a>
</div>
## ✨ Description
This plugin provides a bridge between neovim and the [opencode](https://github.com/sst/opencode) AI agent, creating a chat interface while capturing editor context (current file, selections) to enhance your prompts. It maintains persistent sessions tied to your workspace, allowing for continuous conversations with the AI assistant similar to what tools like Cursor AI offer.
## Main Features
### Chat Panel
The chat panel is a dedicated window inside Neovim that lets you hold a persistent conversation with the opencode AI agent. It displays your previous messages and responses, and automatically uses your current workspace and editor state as context so you can iterate on code without leaving Neovim. You can type prompts, review answers, and navigate back to your code buffer while keeping the ongoing chat session open.
<div align="center">
<img src="https://github.com/user-attachments/assets/197d69ba-6db9-4989-97ff-557c89000cf5">
</div>
### Quick buffer chat (<leader>o/) EXPERIMENTAL
This is an experimental feature that allows you to chat with the AI using the current buffer context. In visual mode, it captures the selected text as context, while in normal mode, it uses the current line. The AI will respond with quick edits to the files that are applied by the plugin.
Don't hesitate to give it a try and provide feedback!
Refer to the [Quick Chat](#-quick-chat) section for more details.
<div align="center">
<img src="https://i.imgur.com/5JNlFZn.png">
</div>
## 📑 Table of Contents
- [⚠️Caution](#caution)
- [Requirements](#-requirements)
- [Installation](#-installation)
- [Configuration](#️-configuration)
- [Usage](#-usage)
- [Permissions](#-permissions)
- [Context](#-context)
- [Agents](#-agents)
- [Custom/External Server Configuration](#-customexternal-server-configuration)
- [User Commands and Slash Commands](#user-commands-and-slash-commands)
- [Contextual Actions for Snapshots](#-contextual-actions-for-snapshots)
- [Contextual Restore points](#-contextual-restore-points)
- [Highlight Groups](#highlight-groups)
- [Prompt Guard](#️-prompt-guard)
- [Custom user hooks](#-custom-user-hooks)
- [Server-Sent Events (SSE) autocmds](#-server-sent-events-sse-autocmds)
- [Quick Chat](#quick-chat)
- [Setting up Opencode](#-setting-up-opencode)
- [Recipes](./docs/recipes)
## ⚠️Caution
This plugin is in early development and may have bugs and breaking changes. It is not recommended for production use yet. Please report any issues you encounter on the [GitHub repository](https://github.com/sudo-tee/opencode.nvim/issues).
[Opencode](https://github.com/sst/opencode) is also in early development and may have breaking changes. Ensure you are using a compatible version of the Opencode CLI (v0.6.3+ or more).
If your upgrade breaks the plugin, please open an issue or downgrade to the last working version.
## 📋 Requirements
- Opencode (v0.6.3+ or more) CLI installed and available (see [Setting up opencode](#-setting-up-opencode) below)
## 🚀 Installation
Install the plugin with your favorite package manager. See the [Configuration](#️-configuration) section below for customization options.
### With lazy.nvim
```lua
{
Excerpt of 68,219 characters
Read on GitHub371
74
Salomon Popp · @bakdata · Germany
39
34
26
18
13
8
5
5
4
jinzhongjia · @manus-ai · Singapore
4
3
3
Jesper Brix Rosenkilde
3
Comfy Org
2
zerone0x
2
2
2
2
Would you bet a product on this? Bounded 0–100 and slow moving.
matched fp:e22a3f8133facb81, desc:coding agent