# copilot.lua

Fully featured & enhanced replacement for copilot.vim complete with API for interacting with Github Copilot

Repository: https://github.com/zbirenbaum/copilot.lua
Canonical: https://ross.abutalabs.com/products/copilotlua
Language: Lua
License: MIT
License Family: permissive
Topics: copilot, github-copilot, lsp-server, lua, neovim, nvim-cmp
Last push: 2026-08-26T20:26:24+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 88, longevity 100
- inputs: {"age_days": 1614, "days_push": 7, "days_rel": 83, "gap_med": 18, "n_releases_24m": 6}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4096, forks 159 (observed 2026-08-28T04:08:34.703504+00:00)

## What it is
A pure Lua Neovim plugin that replaces copilot.vim, providing GitHub Copilot AI code suggestions with a Lua API for integration. It includes an LSP-based backend, authentication commands, and optional next-edit-suggestion (NES) functionality.

## Use cases
- get github copilot suggestions in neovim
- replace copilot.vim with a faster lua plugin
- integrate copilot completions with nvim-cmp
- authenticate and manage github copilot accounts in neovim
- enable next edit suggestions in neovim
- control which filetypes copilot attaches to

## When to choose
- you use Neovim 0.11+ and want Copilot ghost text or panel suggestions
- you need a Lua API to programmatically interact with Copilot
- you want copilot suggestions integrated with nvim-cmp

## When to avoid
- you don't use Neovim or use Vim without Lua support
- you don't have a GitHub Copilot subscription
- you can't install Node.js and curl dependencies

## Facets
- artifact type: plugin
- maturity: active
- function: editor, plugin-system, llm-inference, developer-tools
- domain: developer-tools, text-editors, artificial-intelligence
- platform: editor-plugin, windows
- tags: neovim, github-copilot, lua, code-completion, ai-assistant, lsp, linux, macos

## Member repositories
- zbirenbaum/copilot.lua (main) score 95
- zbirenbaum/copilot-cmp (plugin) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:34.703504+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:23:18.794289+00:00, confidence not recorded.
  - readme: https://github.com/zbirenbaum/copilot.lua (fetched 2026-08-28T04:08:34.703504+00:00, sha 65b2e71b618b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
