Self-hosted AI coding assistant
open coreApache-2.0self-hostablefree
Tabby is a self-hosted AI coding assistant from TabbyML, offered as an on-premises alternative to GitHub Copilot. One Rust server, run from Docker, a Linux, Windows or macOS binary or Homebrew, serves code completion and chat to extensions for VS Code, JetBrains IDEs and Vim/Neovim, using local models on a GPU or hosted model APIs. It indexes your Git, GitHub and GitLab repositories, issues and docs as context, and adds an Answer Engine, a code browser and usage reports. The core is Apache-2.0; the web server and team features in the ee/ directory are under TabbyML's own licence, free up to 5 users and paid for Team and Enterprise.
Problems it solves
- run a Copilot-style code completion server on our own GPU so source code never leaves our network
- our company bans cloud AI coding tools, so I need code suggestions from a model we host ourselves
- get inline code completions in VS Code, IntelliJ and Neovim from one shared server for the whole team
- use our existing Ollama, vLLM or llama.cpp model server for code autocomplete in the editor
- plug OpenAI, Claude or Mistral API keys into a self-hosted coding assistant instead of paying per seat elsewhere
- make code suggestions aware of our own repositories, not just the open file
- index our GitHub and GitLab repos, issues and merge requests so the AI assistant can answer questions about them
- ask questions about our internal codebase and developer docs in a chat page with sources
- browse our repositories in a web code viewer and ask the AI about the file I'm reading
- chat with an AI about code in a side panel inside the IDE using a model we run on premises
- see how much each developer actually uses the AI coding assistant and how many suggestions get accepted
- a free self-hosted AI code assistant for a team of up to five developers
- run an AI coding assistant on an Apple Silicon Mac for myself without any cloud service
- deploy a code completion server with Docker and CUDA or ROCm on our GPU box
- run a coding assistant on Windows with a downloadable exe and NVIDIA GPU
- our developers must sign in to the self-hosted AI coding assistant with our LDAP directory
- let engineers log in to our internal AI code assistant with their Google or GitHub accounts and restrict it to our domain
- feed our internal API documentation into the coding assistant through a REST API so answers use it
- stop IDE extensions from sending telemetry from our self-hosted coding assistant
- an open source on-prem alternative to GitHub Copilot that we can audit and modify
- add support for an extra programming language to our self-hosted code completion
- back up and upgrade the database of our self-hosted AI coding server
Features
- inline code completion in VS Code, JetBrains IDEs and Vim/Neovim
- chat side panel in the IDE with @-mentions of files and docs
- Answer Engine: a chat page that answers from your repositories, docs and optional web search
- Code Browser for indexed repositories
- context providers: Git, GitHub and GitLab repositories, issues, pull and merge requests, commits and developer docs
- custom document ingestion through a REST API
- local models through llama.cpp on CUDA, ROCm, Vulkan or Apple Metal
- hosted model APIs: OpenAI, Azure OpenAI, Anthropic Claude, Mistral, DeepSeek, Ollama, vLLM and others
- models registry with recommended completion and chat models
- usage reports and analytics per user
View 6 more
- team management with invitations and secured access
- OAuth sign-in (GitHub, Google, GitLab, OIDC) and LDAP on Enterprise
- config.toml for repositories, models and extra programming languages
- Docker, Docker Compose, Linux, Windows and Homebrew installs
- OpenAPI-documented HTTP API
- SMTP email setup and database backups
Ways to run it
Tabby OSS
Not included
- the web server features in the ee/ directory (admin UI, team management, Answer Engine): repositories are added only in config.toml24
You arrange
- building Tabby from source without the default ee feature
- a GPU (CUDA, ROCm, Vulkan or Apple Metal) or a hosted model API
- editing config.toml for repositories and models
Tabby Community, Team and Enterprise
Community $0 up to 5 users; Team $19 per user/month up to 50 users; Enterprise by contact, billed annually56789
Only in this edition
- admin web UI with team management, Answer Engine, Code Browser, context providers and usage reports
- on Enterprise: unlimited users, SSO through GitHub, Google, GitLab or OIDC, LDAP sign-in, authentication domain and an IDE telemetry policy
You arrange
- a server for the Docker image or binary, with a GPU or Apple Silicon for local models, or an API key for a hosted model provider
- an SMTP server for invitation emails
- a licence key uploaded on the Subscription page for Team or Enterprise
- backups and upgrades
Capabilities
| Has an API | plan not known |
|---|---|
| Has a command line tool | plan not known |
| Has single sign-on | Enterprise plan, priced by sales68 |
Alternatives
The same job
These do what Tabby does.
- GitHub Copilot Move from a single task to a project spanning repositories without losing context.
- Devin Desktop The home for every agent you run
- Gemini Code Assist AI-powered assistance to help your development team build, deploy, and operate applications throughout the software development lifecycle
- Termius Modern SSH client built for productivity and collaboration
