Code & DeveloperOpen source codeTabbyML/tabby

Tabby: Open Source AI Repository & Self-Hosting Guide

Self-hosted open-source AI code completion and repository chat server written in Rust with native plugins for VS Code, JetBrains, and Neovim.

GitHub Stars
33,946 stars
Repository License
Custom (see repo)
Last Push (UTC)
Jun 30, 2026
Check the repo's license. Model weights may have a different license.
git clone https://github.com/TabbyML/tabby.git
View on GitHubOfficial Website
Installdocker run -it --gpus all -p 8080:8080 -v $HOME/.tabby:/data tabbyml/tabby serve --model StarCoder-1B

Tabby: Architecture & Practical Workflow

Tabby runs local code models (Qwen2.5-Coder, StarCoder2, Codestral) using llama.cpp or CUDA backends alongside built-in repository indexing for context-aware inline autocomplete—keeping proprietary source code inside your private network.

Recommended End-to-End Pipeline

Host Tabby on an internal GPU server, index your monorepo Git branches overnight, and point team VS Code extensions to the private LAN endpoint.

Runtime Target
Self-Hosted Docker + VS Code / JetBrains / Vim (GitHub)
Primary Users
Developers, Privacy-Strict Teams, Enterprises
Code License
Custom (see repo)
Focus Topics
open-source, github, self-hosted, copilot-alternative, coding

Quick Setup & Installation Steps

Platform target: Self-Hosted Docker + VS Code / JetBrains / Vim (GitHub). Always verify environment variables and dependencies in the upstream repository README.

  1. 1Clone the repository from GitHub: `git clone https://github.com/TabbyML/tabby.git && cd tabby`.
  2. 2Review the Custom (see repo) license (Check the repo's license. Model weights may have a different license.) and note any separate terms on external model weights.
  3. 3Install or launch the project directly: `docker run -it --gpus all -p 8080:8080 -v $HOME/.tabby:/data tabbyml/tabby serve --model StarCoder-1B` (use an isolated Python virtualenv, Node workspace, or Docker volume so dependencies remain clean).
  4. 4Validate end-to-end behavior with a small sample input (Host Tabby on an internal GPU server, index your monorepo Git branches overnight, and point team VS Code extensions to the private LAN endpoint.)

Hardware & VRAM Notes

Hardware & VRAM guidance: Requires a local/server GPU for fast large-model code completion

GPU & VRAM

Requires a local/server GPU for fast large-model code completion

System RAM & Storage

16 GB–32 GB system RAM recommended plus 10 GB–40 GB free SSD space for container images, Python dependencies, and model weights.

Runtime Target

Self-Hosted Docker + VS Code / JetBrains / Vim (GitHub)

Strengths & Best For

  • Real-time inline code completion and repository-aware chat
  • Runs 100% on your own hardware with zero code sent to third parties
  • Official extensions for VS Code, JetBrains IDEs, and Neovim
  • Best suited for: Developers, Privacy-Strict Teams, Enterprises

Limitations & Caveats

  • Requires a local/server GPU for fast large-model code completion
  • Admin panel setup needed for team indexing
  • Check the repo's license. Model weights may have a different license.

3 Similar Tools on /tools (Code)

Prefer a hosted web app instead of managing local weights or Docker containers? Explore these cloud alternatives.

Browse all tools
Self-Hosted Tabby vs. Hosted Alternatives (GitHub Copilot Free & Roo Code)
FactorTabby (Self-Hosted)GitHub Copilot FreeRoo Code
Execution & PrivacyRuns locally via Self-Hosted Docker + VS Code / JetBrains / Vim (GitHub); data stays on your disk or private server.Hosted cloud web interface; zero local dependency setup required.Hosted cloud web interface; zero local dependency setup required.
Cost & QuotaCustom (see repo) code; bound only by local CPU/GPU hardware.Free; subject to vendor free-tier limits or paid plans.Open Source; subject to vendor free-tier limits or paid plans.
Primary FitReal-time inline code completion and repository-aware chat; Runs 100% on your own hardware with zero code sent to third partiesGitHub's official free tier offering monthly AI code completions and chat inside VS Code, JetBrains, and GitHub.com.Open-source autonomous VS Code coding agent (fork of Cline) with specialized Architect, Code, and Debug modes plus BYOK.
Key Trade-offRequires a local/server GPU for fast large-model code completionRequires internet access and vendor account/quota limits.Requires internet access and vendor account/quota limits.

Matching Ready-Made Prompts

All Prompts →

Customize variables in Live Prompt Studio for Tabby workflows.

Next.js & Tailwind CSS UI ComponentCode · React, TypeScript, Tailwind, Next.js
Open in Studio

More Open Source Code & Developer Repositories

Frequently Asked Questions

What does Tabby do and how does it work?

Tabby (TabbyML/tabby) is an open-source code & developer project with 33,946 stars on GitHub. Self-hosted open-source AI code completion and repository chat server written in Rust with native plugins for VS Code, JetBrains, and Neovim. Tabby runs local code models (Qwen2.5-Coder, StarCoder2, Codestral) using llama.cpp or CUDA backends alongside built-in repository indexing for context-aware inline autocomplete—keeping proprietary source code inside your private network.

Is Tabby free to self-host and use commercially?

Tabby provides open source code licensed under Custom (see repo). Check the repo's license. Model weights may have a different license. Always verify both source code and model weight licenses in the GitHub repository before commercial deployment.

What hardware, runtime, or VRAM does Tabby require?

Tabby targets Self-Hosted Docker + VS Code / JetBrains / Vim (GitHub). Typical installation runs via `docker run -it --gpus all -p 8080:8080 -v $HOME/.tabby:/data tabbyml/tabby serve --model StarCoder-1B`. Requires a local/server GPU for fast large-model code completion

How does self-hosting Tabby compare to hosted tools like GitHub Copilot Free?

Self-hosting Tabby gives you full local data control, zero per-usage vendor fees, and customizable Self-Hosted Docker + VS Code / JetBrains / Vim (GitHub) pipelines—at the cost of managing your own setup and compute. By contrast, GitHub Copilot Free (Free) runs in the browser with no local installation, though usage quotas and cloud privacy policies apply.

Is Tabby actively maintained and what workflow fits it best?

Repository metadata records 33,946 stars on GitHub with the latest recorded push on Jun 30, 2026. Host Tabby on an internal GPU server, index your monorepo Git branches overnight, and point team VS Code extensions to the private LAN endpoint.