awesome-repositories.com
Blog
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
olimorris avatar

olimorris/codecompanion.nvim

0
View on GitHub↗
6,166 stars·375 forks·Lua·apache-2.0·5 vuescodecompanion.olimorris.dev↗

Codecompanion.nvim

CodeCompanion is a Neovim plugin that brings large language model capabilities directly into the editor, enabling turn-based conversations with AI models in a dedicated chat buffer. It provides a comprehensive interface for interacting with LLMs, supporting multiple providers through a flexible adapter system that can route requests to various hosted or local language model services.

The plugin distinguishes itself through its extensive context-sharing capabilities, allowing users to send buffer contents, visual selections, git diffs, LSP diagnostics, terminal output, quickfix lists, and viewport content to the AI for analysis. It supports inline code prompting and transformation with diff-based review, agent-based workflows that can autonomously edit code and run tests, and integration with Model Context Protocol servers for extended tooling. Users can manage multiple simultaneous chat sessions, switch between models mid-conversation, and adjust model hyperparameters directly from the chat buffer.

Beyond core chat functionality, the plugin offers a prompt library for common tasks, project-specific rules to guide AI output, and an action palette for quickly accessing all available interactions. It includes tools for generating commit messages, unit tests, and Neovim commands from natural language prompts, as well as workflows that can repeat prompts until conditions like passing tests are met. The plugin also provides mechanisms for forking chat buffers, resuming previous sessions, and sharing conversations as GitHub Gists.

The plugin is configured through Lua and supports extensive customization, including custom system prompts, UI appearance through highlight groups, dynamic extension registration, and per-project settings. It includes logging controls for debugging and security features such as code transmission blocking and MCP server file access restrictions.

Features

  • Editor-Integrated Chat Interfaces - Opens a chat buffer inside the editor to converse with language models and receive coding assistance.
  • Streaming Chat Responses - Opens a turn-based chat buffer within Neovim for conversing with an LLM, with responses streamed back in markdown.
  • Inline Code Transformations - Selects code and applies AI-driven edits like refactoring, creation, or modification directly in the buffer.
  • System-Level Instructions - Provides system-level instructions to shape LLM responses in chat buffers.
  • AI Provider Adapters - Connects to any LLM provider, including self-hosted models, through a flexible adapter system.
  • Inline Code Prompts - Sends a prompt that writes or edits code directly into the current Neovim buffer, optionally using visual selection or prompt aliases.
  • Editor Context Injections - Dynamically inserts editor state like buffer contents and diagnostics into AI prompts.
  • Chat Message Injections - Inserts relevant Neovim context like buffer contents, diagnostics, or viewport into chat messages using a # syntax for dynamic inclusion.
  • Editor Buffer Context Providers - Sends the contents of all currently open buffers to the LLM, automatically filtering out excluded buffer types.
  • Chat Model Interfaces - Opens a chat buffer inside Neovim to converse with language models and agents for coding assistance.
  • LLM Provider Adapters - Overrides the default LLM adapter for a single inline prompt by including the adapter name in the command.
  • Natural Language Code Editing - Edits code directly in a buffer by sending a prompt and optional selection to an LLM.
  • Editor-Integrated Agents - Connects to agentic tools through the Agent Client Protocol to automate multi-step coding tasks.
  • Editor-Integrated Chat Interfaces - Opens a dedicated buffer for back-and-forth conversation with a language model, supporting editor context, slash commands, and tools.
  • Autonomous Coding Workflows - Combines a workflow with tools so an LLM can autonomously edit code, run tests, and iterate based on results.
  • Editor Buffer Inserters - Inserts the content of any open Neovim buffer into the chat buffer, with support for multiple selections and picker integrations.
  • Chat-Integrated Command Execution - Tags a command in the chat buffer so the LLM can execute it on the machine and report results.
  • Editor Buffer Sharing - Shares the current buffer's content with the LLM, optionally syncing changes on each turn for iterative feedback.
  • Microphone Input Buffering - Shares all open buffers with the LLM, automatically filtering out excluded buftypes and filetypes.
  • Selection Interfaces - Shares the current or most recent visual selection with the LLM for targeted code analysis.
  • Code Selection Sharing - Sends the current or most recent visual selection to the LLM, useful for asking about specific code.
  • Buffer Content Exporters - Sends the content of a specific buffer to the LLM, with parameters controlling how it is synced on each turn.
  • AI Code Change Acceptances - Accepts or rejects code modifications proposed by the LLM using configurable keymaps.
  • Context Sharing - Sends file contents, buffer diffs, or other data to the LLM as context, with options to sync updates on each turn.
  • MCP Server Management - Starts and stops Model Context Protocol servers from within a chat buffer, with the change applying globally.
  • MCP Server Connections - Configures external MCP servers to provide tools and context for AI-assisted coding workflows.
  • AI Chat Actions - Adds keymaps, slash commands, and tools to the chat interface through an extension's setup function.
  • Chat Response Navigations - Moves between LLM responses in the chat buffer using bracket keybindings.
  • Runtime Switching - Changes the active LLM adapter and model mid-conversation from within the chat buffer via a selection window.
  • Prompt Customization - Defines reusable prompts, editor context, and slash commands tailored to personal workflows.
  • Code Explanation - Sends selected code to an LLM to produce a plain-language explanation of how it works.
  • Vision Model Inputs - Includes images or screenshots as input in a chat message for vision-capable models.
  • Project Context Rules - Reads rule files to guide how the model responds according to project conventions.
  • Multimodal Vision Inputs - Sends images as part of a chat message to models that support visual understanding.
  • Model Configuration Settings - Edits a YAML block at the top of the chat buffer to adjust adapter hyperparameters before the next LLM turn.
  • Prompt Assembly Systems - Constructs a system prompt from a function that receives chat context for dynamic content.
  • Prompt Libraries - Runs pre-built prompts for actions like explaining LSP errors or reviewing code.
  • Command Palettes - Opens a command palette listing all available plugin actions and built-in prompts for quick access.
  • Action Palettes - Opens a searchable palette that lists all available interactions, prompts, and tools for quick selection and execution.
  • Code Workflow Executions - Executes a multi-step automated workflow that processes code through a series of actions.
  • AI Context Completions - Invokes a completion menu by typing # or @ to insert context variables, tools, or agent-specific commands.
  • Git Diff Viewers - Shares the current git diff, including staged and unstaged changes, for code review or commit message generation.
  • AI-Context Diff Sharing - Sends the current staged and unstaged git diff to the LLM for code review or commit message generation.
  • Chat-Initiated Edit Applications - Tags a file in the chat so the LLM can directly modify code without manual copy-paste.
  • Inline Diff Previews - Shows a diff between the original buffer and the LLM's changes, with keymaps to accept or reject the edit.
  • Iterative Edit-Test Workflows - Executes a workflow that iteratively edits code and runs tests until they pass.
  • Commit Message Generation - Creates a git commit message by analyzing the current buffer's changes through an LLM prompt.
  • Chat Session Management - Keeps several independent AI conversations open simultaneously in separate buffers.
  • Agent Workflow Executions - Executes a multi-step agent workflow such as code generation or edit-test-repeat.
  • Diagnostic Explanations - Sends diagnostic information from active LSP servers in the current buffer to the LLM for troubleshooting.
  • AI-Powered Code Fixes - Uses an LLM to analyze and automatically correct errors in selected code.
  • AI-Assisted Test Generators - Produces unit tests for the selected code by sending it to an LLM prompt.
  • Chat Buffer Visibility Toggles - Opens, closes, or cycles between chat buffers with a command, keeping per-tab chat state when configured.
  • Chat Template Customization - Overrides the default system prompt sent with every chat request to tailor AI response style.
  • AI Assistants - Delivers an inline assistant experience similar to Copilot Chat.
  • IDE and Editor Plugins - Provides an AI-powered coding assistant experience in terminal editors.
  • Plugins and Extensions - Neovim plugin for AI-assisted coding with slash commands and agent support.

Historique des stars

Graphique de l'historique des stars pour olimorris/codecompanion.nvimGraphique de l'historique des stars pour olimorris/codecompanion.nvim

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Questions fréquentes

Que fait olimorris/codecompanion.nvim ?

CodeCompanion is a Neovim plugin that brings large language model capabilities directly into the editor, enabling turn-based conversations with AI models in a dedicated chat buffer. It provides a comprehensive interface for interacting with LLMs, supporting multiple providers through a flexible adapter system that can route requests to various hosted or local language model services.

Quelles sont les fonctionnalités principales de olimorris/codecompanion.nvim ?

Les fonctionnalités principales de olimorris/codecompanion.nvim sont : Editor-Integrated Chat Interfaces, Streaming Chat Responses, Inline Code Transformations, System-Level Instructions, AI Provider Adapters, Inline Code Prompts, Editor Context Injections, Chat Message Injections.

Quelles sont les alternatives open-source à olimorris/codecompanion.nvim ?

Les alternatives open-source à olimorris/codecompanion.nvim incluent : nickjvandyke/opencode.nvim — opencode.nvim is a Neovim plugin that integrates large language model capabilities for code generation, refactoring,… smallcloudai/refact — Refact is an autonomous AI software engineering system and code assistant. It functions as an agent orchestrator… spdustin/chatgpt-autoexpert — ChatGPT-AutoExpert is an AI prompt engineering framework and persona management system designed to improve the… intitni/copilotforxcode — CopilotForXcode is an AI source editor extension for the Xcode development environment. It provides a suite of tools… smtg-ai/claude-squad — Claude Squad is a terminal-based orchestrator for running multiple AI coding assistants in parallel. It manages the… tanstack/db — This project is a client-side data management library and query orchestrator designed to synchronize remote server…

Alternatives open source à Codecompanion.nvim

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Codecompanion.nvim.
  • nickjvandyke/opencode.nvimAvatar de nickjvandyke

    nickjvandyke/opencode.nvim

    2,593Voir sur GitHub↗

    opencode.nvim is a Neovim plugin that integrates large language model capabilities for code generation, refactoring, and automated diagnostic analysis. It connects the editor to local or remote AI servers to execute coding tasks and manage conversation history. The system features a side-by-side diff interface for reviewing and accepting AI-generated code changes and a prompt builder that injects real-time editor data, such as buffer contents and selections, into instructions. It also functions as an extension to explain code diagnostics and trigger editor actions via a backend server. The p

    Luaaiai-agentsai-assistant
    Voir sur GitHub↗2,593
  • smallcloudai/refactAvatar de smallcloudai

    smallcloudai/refact

    3,490Voir sur GitHub↗

    Refact is an autonomous AI software engineering system and code assistant. It functions as an agent orchestrator capable of planning, executing, and managing multi-step development workflows to complete complex software tasks independently. The system distinguishes itself through agentic state management, using isolated worktrees and versioned checkpoints to allow autonomous agents to experiment with code changes and roll back to stable states if tasks fail. It further extends its capabilities via the Model Context Protocol, connecting the AI engine to external databases, version control syst

    Rustai-agentdeveloper-toolsenterprise
    Voir sur GitHub↗3,490
  • intitni/copilotforxcodeAvatar de intitni

    intitni/CopilotForXcode

    8,240Voir sur GitHub↗

    CopilotForXcode is an AI source editor extension for the Xcode development environment. It provides a suite of tools including a conversational chat interface, a code completion tool, and a natural language refactorer to assist with Apple platform development. The project differentiates itself by integrating project context and compiler errors directly into its AI interactions. It supports custom prompt execution using template variables and enables the triggering of shell scripts and system shortcuts directly from the chat interface to automate development tasks. The system manages AI integ

    Swiftchatchatgptcode-completion
    Voir sur GitHub↗8,240
  • smtg-ai/claude-squadAvatar de smtg-ai

    smtg-ai/claude-squad

    6,065Voir sur GitHub↗

    Claude Squad is a terminal-based orchestrator for running multiple AI coding assistants in parallel. It manages the lifecycle of AI agent sessions from a single keyboard-driven interface, allowing users to launch, monitor, pause, resume, and terminate agents without leaving the command line. The tool isolates each agent's work in separate git worktrees, so changes remain on independent branches and never interfere with each other. Before any modifications are committed or pushed, users can review a diff preview of what each agent produced and approve or reject the changes. This diff-based app

    Goaiderclaude-codecli
    Voir sur GitHub↗6,065
  • Voir les 30 alternatives à Codecompanion.nvim→