gitwtfhub

wtf is llama.vscode?

ggml-org/llama.vscode — explained in plain English

Analysis updated 2026-05-18

1,355TypeScriptAudience · developerComplexity · 3/5Setup · moderate

TL;DR

A VS Code extension for local AI code completion, chat, and an agentic assistant powered by a self-hosted llama.cpp server.

Mindmap

mindmap
  root((llama.vscode))
    What it does
      Local AI completion
      Chat panel
      Llama Agent
    Tech stack
      TypeScript
      VS Code
      llama.cpp
    Use cases
      Offline completions
      Chat with local model
      Agentic automation via MCP
    Audience
      VS Code developers
      Privacy-conscious coders

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Get inline AI code completions in VS Code without a cloud AI subscription.

REASON 2

Chat with a local model or run the Llama Agent to read files and browse the web.

REASON 3

Connect MCP server tools to the agent for extended local automation.

What's in the stack?

TypeScriptVS Codellama.cpp

How it stacks up

ggml-org/llama.vscodebookorbit/bookorbitshy3130/tickflow-stock-panel
Stars1,3551,3441,368
LanguageTypeScriptTypeScriptTypeScript
Last pushed2026-07-032026-07-03
MaintenanceActiveActive
Setup difficultymoderatemoderatemoderate
Complexity3/54/53/5
Audiencedevelopergeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · moderate Time to first run · 30min

Requires installing and running a separate llama.cpp server, ideally with a capable GPU.

Wtf does this do

llama.vscode is an extension for VS Code that adds AI-assisted code completion, a chat interface, and an agentic coding assistant, all running on your own machine without sending data to any cloud service. It connects to a locally running AI server called llama.cpp, which runs open-source language models on your own hardware. As you type in VS Code, the extension automatically suggests completions. You can accept a full suggestion with Tab, accept just the first line with Shift+Tab, or accept the next word with a keyboard shortcut. There is also a manual toggle to show or hide suggestions. The extension tracks context from open and recently edited files to give better suggestions, and it is designed to stay responsive even on consumer-grade hardware. Beyond code completion, the extension includes a chat panel and an agent mode called Llama Agent. The agent can read files, browse web pages, and use tools from installed MCP servers, which are a standard for connecting AI assistants to external data sources. You can also search for and download models directly from Hugging Face through the extension interface. Installing the extension requires two things: installing llama.vscode from the VS Code marketplace, and separately setting up the llama.cpp server. On Mac and Windows, the extension can install llama.cpp automatically through a menu option. The README provides configuration guidance based on how much graphics memory your computer has. A companion plugin for Vim and Neovim called llama.vim is also available from the same organization.

Yoink these prompts

Prompt 1
Walk me through installing llama.vscode and setting up the llama.cpp server.
Prompt 2
Explain what Llama Agent can do and how to open it in VS Code.
Prompt 3
Which llama-server settings should I pick based on my GPU's VRAM?
Prompt 4
How do I connect an MCP server's tools to the Llama Agent?

Frequently asked questions

wtf is llama.vscode?

A VS Code extension for local AI code completion, chat, and an agentic assistant powered by a self-hosted llama.cpp server.

What language is llama.vscode written in?

Mainly TypeScript. The stack also includes TypeScript, VS Code, llama.cpp.

How hard is llama.vscode to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is llama.vscode for?

Mainly developer.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.