goose.nvim  by azorng

Neovim AI agent integration

Created 6 months ago
276 stars

Top 93.9% on SourcePulse

GitHubView on GitHub
Project Summary

This plugin provides seamless integration between Neovim and the Goose AI agent, enabling users to interact with AI directly within their editor. It captures editor context like current files and selections to enhance AI prompts, offering a persistent chat interface similar to dedicated AI coding tools.

How It Works

The plugin acts as a bridge, creating a Neovim UI for interacting with the Goose AI agent. It leverages editor context (current file, selections, mentioned files, diagnostics) to enrich prompts. Users can manage persistent chat sessions tied to their workspace, switch between AI modes (auto with full context, chat with limited context), and even diff changes made by the AI.

Quick Start & Requirements

  • Install: Use a Neovim package manager (e.g., lazy.nvim example provided).
  • Prerequisites: Goose CLI must be installed and available in the system's PATH.
  • Dependencies: nvim-lua/plenary.nvim and MeanderingProgrammer/render-markdown.nvim are required.
  • Setup: Follow Goose installation and configuration instructions (e.g., goose configure).

Highlighted Details

  • Persistent workspace-specific AI sessions.
  • Automatic capture of current file, selections, and diagnostics for context.
  • Support for diffing AI-generated changes and reverting them.
  • Configurable keymaps for extensive control over AI interaction and UI management.
  • Multiple AI providers and models can be configured for quick switching.

Maintenance & Community

The project is actively maintained by azorng. No specific community links (Discord/Slack) or major contributor information are provided in the README.

Licensing & Compatibility

The README does not explicitly state a license. It is a Neovim plugin, typically compatible with standard Neovim setups.

Limitations & Caveats

The plugin relies on the external Goose CLI, which must be installed and configured separately. The effectiveness of AI features is dependent on the underlying Goose setup and chosen AI models.

Health Check
Last Commit

3 weeks ago

Responsiveness

1 day

Pull Requests (30d)
1
Issues (30d)
1
Star History
8 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.