A Vim plugin that integrates multiple AI providers (OpenAI, Anthropic, Gemini, Ollama, OpenRouter) for code assistance with autonomous tool execution.
vim-llm-agent is a Vim plugin that integrates multiple large language model providers directly into the Vim editor for AI-powered code assistance. It enables developers to get code explanations, reviews, refactoring suggestions, and documentation while maintaining conversation history and project context. Unlike simple chat interfaces, it features autonomous tool execution for file operations and git commands with user approval workflows.
Vim users and developers who want AI assistance directly in their editor workflow, particularly those working on codebases who need explanations, reviews, refactoring help, or automated file operations.
Developers choose vim-llm-agent for its multi-provider flexibility, autonomous tool execution with plan approval, and deep Vim integration that maintains project context and conversation history across sessions.
Vim Plugin For ChatGPT
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Supports OpenAI, Anthropic, Gemini, Ollama, and OpenRouter, allowing users to switch providers based on cost, performance, or privacy needs, as detailed in the 'Supported Providers' section.
Enables AI to perform file operations, git commands, and project exploration with plan approval workflows, making complex refactoring tasks efficient and transparent, as described in the 'AI Tools & Function Calling' section.
Maintains conversation history and project context across sessions with automatic summary compaction, ensuring continuity and bounded token usage, as explained in the 'Conversation Summary & Preferences' section.
Provides dedicated commands for explaining, reviewing, refactoring, documenting, testing, and fixing code, directly integrated into Vim's visual selection workflow for seamless assistance.
Requires Vim with Python3 support and the requests library, leading to installation headaches like ModuleNotFoundError, as highlighted in the troubleshooting section with complex workarounds for different Python versions.
Tool calling is only supported by OpenAI and Anthropic models, excluding Gemini and Ollama from autonomous file operations, which reduces flexibility for users preferring other providers.
Setting up involves numerous Vimscript variables for providers, models, and workflow options, which can be overwhelming for users unfamiliar with Vim configuration or AI API integrations.