A lightweight, extensible chat plugin for Neovim with AI integration.

Chat with AI assistants directly in your editor using a clean, floating window interface.

View on GitHub Releases


✨ 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.

πŸ€– 19+ AI Providers

Built-in support for DeepSeek, OpenAI, Anthropic, GitHub AI, Gemini, Ollama, and many more AI services.

πŸ› οΈ 40+ Built-in Tools

File operations, Git integration, web search, memory management, scheduling, user profiles, 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.

🌐 HTTP API

Built-in HTTP server for receiving external messages with API key authentication.

πŸ‘€ User Profiles

Manage user profiles (人物画像) for personalized, context-aware AI assistance with per-user preferences and skills.

⏰ Scheduled Tasks

Create one-time or recurring scheduled tasks that persist across Neovim restarts and trigger LLM actions.

πŸ“ Zettelkasten

Note-taking support via zettelkasten.nvim integration for knowledge management.

πŸ” Picker Integration

Seamless integration with picker.nvim for browsing history and switching providers/models.

⚑ Streaming Responses

Real-time AI responses with cancellation support, RenderMarkdown rendering, and token usage tracking.


πŸš€ 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
    },
  },
})

See the Installation Guide for detailed setup instructions.


πŸ“š Documentation


πŸ’¬ Community


πŸ“„ License

chat.nvim is released under the GPL-3.0 License.