← Back to Leaderboard
Lggml-org

ggml-org/llama.vscode

VS Code assistant with local llama.cpp completions and MCP-enabled agents

View on GitHub ↗
Engineering Health (Methodology)
A+ · 92/100
Maintenance Activity
● Updated 4d ago
Latest Release
v0.0.80
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption17/25
Release Cadence20/20
License Clarity20/20
Local AIMCP
Total Stars
★ 1,566
24h Growth
+2
7d Growth
+4
Forks
184

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

ggml-org/llama.vscode Star History (2025-01-05 - 2026-12-03) ALL-TIME STAR HISTORY (2025-01 – 2026-12) +1.6k in 697d · avg +2/day 1.7k 827 0 2025-01-05: ★ 12025-02-22: ★ 5142025-04-12: ★ 6192025-05-31: ★ 7392025-07-19: ★ 8102025-09-06: ★ 9062025-10-25: ★ 9682025-12-13: ★ 1,0532026-01-31: ★ 1,1032026-03-21: ★ 1,1702026-05-09: ★ 1,2792026-06-27: ★ 1,3832026-08-15: ★ 1,4612026-10-03: ★ 1,5152026-12-03: ★ 1,566 ★ 1.6k 2025-01 2025-12 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

llama.vscode runs as a TypeScript extension in the VS Code extension host. Its manifest points to ./dist/extension.js, registers llama-vscode as a chat model provider, and declares activation events for plaintext, JavaScript, TypeScript, a command, and incoming URIs. The root contains both src/ and ui/; the manifest also contributes an Activity Bar container.

For local inline completion, the extension gathers text around the cursor and can supplement it with a ring of snippets from open or edited files and copied text. A FIM-capable model served by llama.cpp fills the gap between the prefix and suffix. Chat and Llama Agent have separate model roles and can use local or external models. An Env groups role selections so they can be switched together. The MCP boundary sits in VS Code: the agent consumes selected tools from servers that VS Code has already installed and started.

Key Capabilities & Differentiators

Inline suggestions can trigger as you type. Accept the whole suggestion with Tab, just the first line with Shift+Tab, or the next word with Ctrl/Cmd+Right Arrow. Generation time and cursor-context scope are configurable, performance statistics are visible, and llama.cpp context reuse helps reduce repeated work across requests. Local completion specifically requires a FIM-capable model; the concrete CPU examples use Qwen2.5-Coder GGUF models.

Llama Agent can take file attachments or the current selection, use built-in tools or selected MCP tools, and stop after a configurable maximum number of loops. The extension supports Hugging Face model search and downloads, Env import and export, and external providers such as OpenRouter. It also offers a Telegram bot integration and VS Code deep links that can prefill the agent prompt.

Trade-offs & Limitations

Compared with a managed coding assistant, local llama.cpp inference gives teams more control over where generation runs, but it shifts model selection, runtime updates, and performance tuning to the workstation. Context reuse can reduce redundant work, not eliminate memory limits or the quality penalty noted for the smallest CPU-only models. Test completion responsiveness separately from chat and agent workloads. If the team uses Vim or Neovim, sibling project llama.vim is the more direct editor fit.

Envs make a mixed local and hosted setup practical, but data handling depends on the active model and tools. Review what file attachments and ring-context snippets can reach a hosted provider, and which MCP tools or remote integrations can receive workspace data. The extension is MIT-licensed; model licenses and external service terms are separate.

Hardware & Deployment Guide

Install ggml-org.llama-vscode from the VS Code Marketplace or Open VSX; the manifest requires VS Code ^1.109.0. For local inference, the extension offers llama.cpp installation or upgrade. Manual routes include Homebrew on macOS, Winget on Windows, and release binaries on PATH or a source build on Linux. Select and start an Env for the roles you need. The CPU-only completion examples use llama serve on port 8012 with --ctx-size 0 --cache-reuse 256.

Acquire model weights before relying on offline inference: downloading from Hugging Face requires connectivity, whereas local generation need not call a hosted API once the runtime and model are in place. Check tool endpoints separately. An external model is also an option for chat or agent work. In v0.0.79, Requesty joined the OpenAI-compatible provider list; v0.0.80 added model, agent, and tool configuration to the Agent Command Editor and placeholder substitution before prompts and queries are sent.

VS Code runtime: TypeScript extension with ./dist/extension.js as its entry point, a contributed chat provider, and engine range ^1.109.0.
Completion context: FIM uses text around the cursor, with a ring of snippets from open or edited files and copied text plus llama.cpp context reuse.
Suggestion control: Accept a full suggestion, its first line, or its next word; cap generation time and inspect performance statistics.
Model configurations: Assign models for completion, chat, embeddings, and tools; switch related selections together through importable and exportable Envs.
MCP integration: Llama Agent selects tools from MCP servers running in VS Code and exposes a configurable loop limit.
CPU fallback: llama serve examples use Qwen2.5-Coder 0.5B or 1.5B Q8_0 GGUF models with --cache-reuse 256.
Best For

VS Code users who want local inline completions and explicit control over the models and tools used for chat and agent tasks.

Skip If

You need a managed service with no local model upkeep, or you primarily work outside VS Code and do not want to switch editors.

Reviewed on 2026-12-01 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

Local AIMCP
brew install llama.cpp

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
llama.vscode ★1.6k+4TypeScriptMITVS Code assistant with local llama.cpp completions and MCP-enabled agents
spec-kit153.7k+1.3kPythonMITA Python CLI for spec-driven coding-agent workflows and reviewable handoffs
ECC316.1k+4.2kJavaScriptMITPlugins and CLI workflows for planning, reviewing, and verifying agent-written c
ponytail204.4k+4.1kJavaScriptMITA prompt-driven coding-agent plugin for smaller changes and focused tests.

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/ggml-org/llama.vscode.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

ggml-org/llama.vscode Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about llama.vscode

Does llama.vscode run an MCP server or consume MCP tools?

It consumes tools exposed by MCP servers installed and started in VS Code. Select the tools for Llama Agent; you do not point another MCP client at llama.vscode as a server. Local completion uses a separate llama.cpp endpoint with a fill-in-the-middle (FIM) model.

Can I run it without a GPU, and how should I size it?

A GPU is not required. The CPU-only examples use Qwen2.5-Coder 0.5B and 1.5B Q8_0 GGUF models and warn of substantially lower completion quality. Size for the model and context you intend to use, then test responsiveness with your own files. Running chat or agent models locally can add resource demands beyond those of completion alone.

Can we deploy it commercially and keep source code local?

The extension is MIT-licensed, which permits commercial use and redistribution subject to retaining the applicable copyright and license notices. Review model licenses and any hosted-provider, MCP tool, or Telegram terms separately. Local inference does not by itself ensure that every enabled integration keeps data on the machine.

How does it compare with llama.vim or a managed coding assistant?

Choose llama.vscode when VS Code is your primary editor and you want both local inline completion and optional agent workflows. llama.vim is the sibling project for Vim and Neovim. Compared with a managed coding assistant, the local llama.cpp route gives you more control over model and context settings but leaves hardware sizing and runtime maintenance to you.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining ggml-org/llama.vscode? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature ggml-org/llama.vscode on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare