Set Up a Local GitHub Copilot‑Like AI Assistant in 5 Minutes

This guide shows how to deploy the open‑source Tabby AI coding assistant with the Qwen2.5‑Coder‑1.5B‑Instruct model using Docker, register an admin account, configure the Tabby VS Code extension, and verify real‑time multi‑line code completion, all in a few minutes.

Infra Learning Club
Infra Learning Club
Infra Learning Club
Set Up a Local GitHub Copilot‑Like AI Assistant in 5 Minutes

Introduction

Tabby is an open‑source, self‑hosted AI coding assistant that enables teams to run a local LLM‑driven code‑completion service.

Deploy with Docker

Ensure Docker, Nvidia drivers, and the Nvidia Toolkit are installed on the host.

Start Tabby with Docker.

docker run -it --gpus all \
  -p 8080:8080 -v $HOME/.tabby:/data \
  registry.tabbyml.com/tabbyml/tabby \
  serve --model StarCoder-1B --chat-model Qwen2.5-Coder-1.5B-Instruct --device cuda

Register an Account

After the container starts, open the URL shown in the startup logs (e.g., http://{ip}:8080) and create an admin account. The home page displays statistics such as the number of generated code snippets and their usage rate.

Configure Visual Studio Code

Install the Tabby VSCode extension.

The extension is available on the Visual Studio Marketplace and Open VSX.

ext install TabbyML.vscode-tabby

After installation, click the Tabby button in the lower‑right corner of VS Code, then paste the token shown on the login page to connect the client.

Code Completion Demo

When editing a Python file, Tabby suggests multi‑line completions and full functions in real time. A quick‑sort implementation is completed instantly, demonstrating low latency and useful suggestions.

References

Qwen2.5‑Coder‑1.5B‑Instruct: https://huggingface.co/Qwen/Qwen2.5-Coder-1.5B-Instruct-GGUF

Tabby VSCode extension (Visual Studio Marketplace): https://marketplace.visualstudio.com/items?itemName=TabbyML.vscode-tabby

Open VSX: https://open-vsx.org/extension/TabbyML/vscode-tabby

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

DockerVSCodeAI coding assistantTabbyself-hostedQwen2.5-Coder
Infra Learning Club
Written by

Infra Learning Club

Infra Learning Club shares study notes, cutting-edge technology, and career discussions.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.