Configuring AI code completion for an air-gapped network or an isolated private repository is fundamentally different from toggling an enterprise SaaS switch. Most AI coding assistants rely on cloud-bound inference engines that stream code snippets over the public internet. Tabnine Enterprise offers a genuinely self-contained alternative: you can deploy the complete platform—including inference models, vector context databases, and administrative controls—inside your own firewall or physical perimeter with zero outbound connectivity.
At 365Finds, we evaluate developer infrastructure through both technical feasibility and operational reality. Deploying Tabnine in an air-gapped environment works, but it requires deliberate coordination across Kubernetes infrastructure, internal version control systems (VCS), and IDE client configurations. Here is the operational architecture and exact configuration workflow to lock down private repository completion without exposing proprietary intellectual property.
Architectural Overview: The Zero-Egress Perimeter
In a standard SaaS setup, local IDE extensions send prompt tokens to vendor-hosted endpoints. In a fully air-gapped Tabnine deployment, every layer runs locally on your infrastructure:
[ Developer Workstations / IDEs ]
│ (Internal TLS)
▼
[ Ingress / Load Balancer ]
│
┌──────┴───────────────────────────────────────────────────────┐
│ Tabnine Enterprise (Private Kubernetes Cluster) │
│ │
│ ┌────────────────────────┐ ┌───────────────────────────┐ │
│ │ Tabnine Core Server │ │ Local Inference Engine │ │
│ │ (Auth / Admin Console) │◄──►│ (On-Prem GPU Cluster / │ │
│ └───────────┬────────────┘ │ Dedicated Models) │ │
│ │ └───────────────────────────┘ │
│ ▼ │
│ ┌────────────────────────┐ ┌───────────────────────────┐ │
│ │ Context Engine / RAG │◄──►│ Internal Git VCS │ │
│ │ (Local Vector Store) │ │ (GitLab / GitHub EE / │ │
│ └────────────────────────┘ │ Bitbucket Server) │ │
│ └───────────────────────────┘ │
│ ┌────────────────────────┐ │
│ │ Internal Telemetry │──► [ Local Prometheus / SIEM ] │
│ └────────────────────────┘ │
└──────────────────────────────────────────────────────────────┘
✕ NO EXTERNAL EGRESS ✕
Three boundaries must be established:
- Model & Service Boundary: Tabnine Enterprise running on bare-metal or private VPC Kubernetes nodes equipped with enterprise GPUs (such as NVIDIA L40S, A100, or H100).
- Context Boundary: An internal indexing pipeline that reads your private Git repositories via local read-only credentials, builds vector embeddings, and stores them on-premises.
- Client Boundary: Developer IDEs locked to your internal Tabnine server URL, pulling plugins from internal artifact mirrors.
Step 1: Stage Artifacts and Deploy to Kubernetes
Because the target environment has no internet access, all installation assets must be mirrored across your secure transfer pipeline into an internal container registry (such as Harbor or JFrog Artifactory).
1. Transfer Container Images and Helm Charts
On an internet-connected staging host, download the official Tabnine Enterprise release artifacts provided by Tabnine support:
- Tabnine Helm charts (OCI package or archive).
- Core application container images.
- Pre-packaged model weights and vector indexing services.
Verify package checksums, run security scans through your vulnerability scanner, and push the images to your internal registry:
# Example tag and push to local air-gapped registry
docker tag registry.tabnine.com/enterprise/core:vX.Y.Z harbor.internal.net/tabnine/core:vX.Y.Z
docker push harbor.internal.net/tabnine/core:vX.Y.Z
2. Configure Values and Deploy via Helm
Customize the values.yaml file to ensure all image paths, ingress hostnames, and telemetry targets point strictly to internal infrastructure. Set telemetry endpoints to local sinks rather than default cloud destinations:
global:
imageRegistry: "harbor.internal.net/tabnine"
serverUrl: "https://tabnine.internal.net"
telemetry:
enabled: true
exportToCloud: false
localPrometheus:
enabled: true
path: "/metrics"
ingress:
enabled: true
hosts:
- host: tabnine.internal.net
paths:
- path: /
pathType: Prefix
tls:
- secretName: tabnine-internal-tls
hosts:
- tabnine.internal.net
Deploy the chart into your isolated Kubernetes namespace:
helm install tabnine-enterprise ./tabnine-enterprise-chart \
--namespace tabnine \
--create-namespace \
-f values.yaml
Once the pods are running, verify that all outbound network traffic outside your internal CIDR blocks is dropped at the firewall or Kubernetes NetworkPolicy level.
Step 2: Connect Private Repositories for Local Context (RAG)
Generic code completion is useful, but developer productivity hinges on context awareness—understanding your internal frameworks, custom SDKs, and proprietary data structures. Tabnine handles this through its Connection and Global Codebase Awareness engine, which performs local Retrieval-Augmented Generation (RAG).
To connect private repositories without compromising source code security:
1. Generate Access Credentials in Your Internal VCS
Create a dedicated read-only service account in your private Git host (GitLab Self-Managed, GitHub Enterprise Server, or Bitbucket Data Center).
- Option A (Recommended: SSH Deploy Key): In the Tabnine Admin Console, navigate to Settings > Personalization (or Connection). Generate a new SSH key pair directly within the interface. Copy the public key and add it to your VCS as a global or project-specific Deploy Key with read-only permissions.
- Option B (HTTPS Personal Access Token): Generate a Personal Access Token (PAT) for the service account with
read_repositoryor equivalent read scopes.
2. Register Repositories in the Tabnine Admin Console
- Log in to the internal Tabnine Admin Console (
https://tabnine.internal.net) as an administrator. - Go to Settings > Personalization > Repositories.
- Add the internal Git endpoints (e.g.,
git@git.internal.net:platform/core-services.gitorhttps://git.internal.net/platform/core-services.git). - Select the authentication credential created in the previous step.
- Define the indexing schedule and branch targeting (typically
mainormaster).
3. Verify Local Vector Indexing
Once connected, the Tabnine Context Engine clones the designated repositories into isolated internal persistent volumes, parses the syntax trees, and builds local vector embeddings.
[!IMPORTANT] At 365Finds, we strongly recommend auditing your team mapping rules before indexing sensitive repositories. If your engineering organization separates access across projects (e.g., core cryptography vs. frontend applications), ensure you configure Tabnine Team Scoping. Unrestricted global indexing allows any developer querying Tabnine Chat to retrieve structural context and code snippets from any indexed repository.
Step 3: IDE Distribution and Client Configuration
Developers in an air-gapped network cannot download extensions from the public Visual Studio Marketplace or JetBrains Marketplace. Client distribution must be handled internally.
1. Mirror and Distribute Extension Packages
- Visual Studio Code: Download the offline Tabnine Enterprise
.vsixbundle and host it on an internal software portal or distribute it via internal device management (MDM/Chef/Ansible). - JetBrains IDEs: Host a custom plugin repository on your internal network pointing to your Tabnine server endpoint:
Developers add this URL under Settings > Plugins > Manage Plugin Repositories (⚙).https://tabnine.internal.net/update/jetbrains/updatePlugins.xml
2. Enforce the Internal Server URL
For Tabnine to function, the client plugin must connect to your internal server rather than console.tabnine.com.
In Visual Studio Code:
Configure user or workspace settings (settings.json):
{
"tabnine.cloudHost": "https://tabnine.internal.net"
}
Alternatively, developers can press Ctrl+Shift+P (or Cmd+Shift+P), run Preferences: Open User Settings, search for Tabnine: Cloud Host, and enter https://tabnine.internal.net.
In JetBrains IDEs (IntelliJ, PyCharm, WebStorm, etc.):
- Navigate to Settings / Preferences > Tools > Tabnine.
- Locate the Engine section.
- Paste
https://tabnine.internal.netinto the Enterprise Server URL field. - Click Apply and OK, then restart the IDE.
In Visual Studio (2022):
- Navigate to Tools > Options > Tabnine.
- Open settings and update the Server URL to
https://tabnine.internal.net. - Restart Visual Studio.
3. Internal SSO / Identity Provider Authentication
Once restarted, the IDE extension prompts the developer to sign in. Clicking the sign-in prompt redirects to your internal Tabnine server, which should be federated with your corporate IdP (SAML 2.0 or OIDC via Keycloak, Okta, or Active Directory). Once authenticated, the IDE receives an authorization token and begins serving inline completions and contextual chat backed by your local models.
Operational Governance & Trade-Offs
Deploying an air-gapped AI platform introduces distinct maintenance and hardware realities that teams must budget for.
| Consideration | Air-Gapped Tabnine Enterprise | Standard Public SaaS AI Assistant |
|---|---|---|
| Data Privacy & Egress | Zero outbound traffic; code never leaves network perimeter | Code fragments and metadata transit vendor servers |
| Model Hosting | Self-hosted on local GPUs (e.g. L40S, A100) or local CPU clusters | Fully managed in vendor public cloud |
| Context Indexing | Local RAG across internal GitLab, GitHub EE, Bitbucket | Cloud RAG or workspace-only local context |
| Update Mechanism | Manual offline bundles; staged registry sync | Automatic, seamless vendor rollouts |
| Infrastructure Overhead | High (Kubernetes management, GPU orchestration, storage) | Minimal (IDE extension install only) |
365Finds Research Verdict
At 365Finds, we admire Tabnine's architectural commitment to true enterprise self-hosting. In an AI market dominated by vendors pushing centralized SaaS lock-in, Tabnine remains one of the few production-grade solutions that genuinely respects air-gapped physical isolation.
However, do not underestimate the maintenance commitment:
- Offline maintenance requires dedicated DevSecOps time. Every model refresh, security patch, and plugin update requires manual transfer across your security boundary.
- Hardware sizing is non-trivial. If your developers expect low-latency, full-line multi-token completions alongside conversational chat, running local models requires dedicated GPU nodes with adequate VRAM.
- Access scoping must be actively governed. Linking your private Git repositories gives the AI immense power, but administrative tokens must adhere to the principle of least privilege to prevent cross-team code leakage.
For defense contractors, banking institutions, and regulated healthcare platforms where external code leakage is an existential compliance violation, Tabnine Enterprise's air-gapped configuration is our primary recommendation.