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.
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.
Host Tabby on an internal GPU server, index your monorepo Git branches overnight, and point team VS Code extensions to the private LAN endpoint.
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.
- 1Clone the repository from GitHub: `git clone https://github.com/TabbyML/tabby.git && cd tabby`.
- 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.
- 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).
- 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
Requires a local/server GPU for fast large-model code completion
16 GB–32 GB system RAM recommended plus 10 GB–40 GB free SSD space for container images, Python dependencies, and model weights.
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.
GitHub Copilot Free
GitHub's official free tier offering monthly AI code completions and chat inside VS Code, JetBrains, and GitHub.com.
Roo Code
Open-source autonomous VS Code coding agent (fork of Cline) with specialized Architect, Code, and Debug modes plus BYOK.
Zed
Blazingly fast GPU-accelerated code editor written in Rust with native AI assistant panels, edit predictions, and multiplayer coding.
| Factor | Tabby (Self-Hosted) | GitHub Copilot Free | Roo Code |
|---|---|---|---|
| Execution & Privacy | Runs 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 & Quota | Custom (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 Fit | Real-time inline code completion and repository-aware chat; Runs 100% on your own hardware with zero code sent to third parties | GitHub'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-off | Requires a local/server GPU for fast large-model code completion | Requires internet access and vendor account/quota limits. | Requires internet access and vendor account/quota limits. |
Matching Ready-Made Prompts
Customize variables in Live Prompt Studio for Tabby workflows.
Compare Alternatives
Compare Tabby side-by-side on setup ease, privacy, and role scorecards.
More Open Source Code & Developer Repositories
Dify
Open-source LLMOps and AI agent workflow studio uniting drag-and-drop canvas orchestration, hybrid RAG document indexing, and REST API publishing.
Langflow
Open-source Python visual builder and API runtime for designing multi-agent AI workflows, RAG pipelines, and custom tool components via drag-and-drop.
LangChain
Open-source Python and TypeScript orchestration framework for composing LLM chains, tool-calling agents, structured outputs, and retrieval integrations.
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.