A lightweight, extensible chat plugin for Neovim with AI integration.
Chat with AI assistants directly in your editor using a clean, floating window interface.
✨ Key Features
🧠 Three-Tier Memory
Working, daily, and long-term memory system with automatic extraction and priority-based retrieval.
🔄 Parallel Sessions
Run multiple conversations with different AI models, each maintaining separate context and settings.
🤖 16+ AI Providers
Built-in support for DeepSeek, OpenAI, Anthropic, GitHub AI, Gemini, Ollama, and many more AI services.
🛠️ 20+ Built-in Tools
File operations, Git integration, web search, memory management, planning, and extensible custom tools.
🔌 MCP Protocol
Native Model Context Protocol support for extended tool capabilities via stdio and HTTP transports.
💬 IM Integration
Connect Discord, Telegram, Slack, Lark, DingTalk, WeCom, and WeChat for remote AI interaction.
🚀 Quick Start
Installation
Using lazy.nvim:
{
'wsdjeg/chat.nvim',
dependencies = {
'wsdjeg/job.nvim', -- Required
'wsdjeg/picker.nvim', -- Optional but recommended
},
}
Using nvim-plug:
require('plug').add({
{
'wsdjeg/chat.nvim',
depends = {
'wsdjeg/job.nvim', -- Required
'wsdjeg/picker.nvim', -- Optional but recommended
},
},
})
Basic Usage
:Chat " Open chat window
:Chat new " Start a new session
:Chat prev " Switch to previous session
:Chat next " Switch to next session
See the Installation Guide for detailed setup instructions.
📚 Documentation
- Installation - Setup and prerequisites
- Usage - Commands, keybindings, and workflows
- Configuration - Customize chat.nvim settings
- Providers - Configure AI providers
- Tools - Explore available tools
- Memory System - Three-tier memory architecture
- MCP - Model Context Protocol integration
- HTTP API - External integration via HTTP
- IM Integration - Messaging platform integrations
💬 Community
- GitHub: wsdjeg/chat.nvim
- Issues: Report bugs or request features
- Author: wsdjeg
📄 License
chat.nvim is released under the GPL-3.0 License.