Enterprise platform teams face an unforgiving dilemma: developers demand the speed of modern AI coding assistants, while compliance and security officers forbid a single line of internal code or IP from escaping across the corporate firewall. For organizations operating under defense contracts, banking core networks, classified environments, or critical national infrastructure, standard SaaS AI tools like GitHub Copilot or Cursor are immediate non-starters. They rely on continuous telemetry and public cloud inference endpoints.
Tabnine takes a fundamentally different path. At 365Finds, we have evaluated enterprise developer tools across multiple deployment tiers, and Tabnine remains one of the few platforms offering a genuine, zero-egress, fully air-gapped self-hosted architecture.
However, running Tabnine offline is not a casual checkbox. It is an infrastructure commitment. When you eliminate external network connectivity, your internal infrastructure team effectively becomes the AI cloud provider. This guide walks through the architectural components, network prerequisites, cluster deployment, and IDE distribution required to run Tabnine without a byte leaving your isolated perimeter.
The Air-Gapped Architecture: What Tabnine Actually Runs On-Prem
A common misconception is that Tabnine simply runs a large desktop binary on developer laptops. In an enterprise air-gapped deployment, Tabnine is a distributed, containerized stack running entirely on your private Kubernetes cluster.
The cluster operates across four decoupled layers:
| Component Layer | Core Function | On-Prem Air-Gapped Requirement |
|---|---|---|
| Control & Management Plane | Authentication, license validation, usage reporting, and admin dashboard | Local PostgreSQL (v18+), Redis (v8+), and internal OIDC/SAML IdP integration |
| Inference Engine | Local execution of code generation and chat LLMs | GPU-accelerated Kubernetes worker nodes (NVIDIA L40S, A100, or H100) running CUDA |
| Enterprise Context Engine | Real-time codebase indexing and retrieval-augmented generation (RAG) | Local connectors to internal GitLab, GitHub Enterprise, or Bitbucket Data Center |
| Attribution Engine | Open-source license provenance and compliance validation | Preloaded offline attribution database (no calls to attribution.tabnine.com) |
In this isolated configuration, Tabnine cuts all outbound telemetry to logs-gateway.tabnine.com and public container registries. The bundled documentation is served directly from the self-hosted admin console at /docs, ensuring platform administrators have full operational manuals without external web access.
365Finds' Pre-Deployment Hardware Reality Check
Before touching Helm charts or transferring container images, 365Finds strongly advises teams to confront hardware realities.
Do not attempt to run Tabnine's inference services on general-purpose CPUs. While Tabnine supports lightweight completions, modern conversational AI, code refactoring, and contextual code generation demand enterprise-grade GPUs. Developers have virtually zero tolerance for completion latency: if an inline suggestion takes longer than 300 to 400 milliseconds, engineers instinctively type past it or disable the plugin altogether.
- GPU Allocation: Plan for dedicated NVIDIA GPU worker nodes (such as NVIDIA L40S, A100 80GB, or H100) managed by the NVIDIA Container Toolkit.
- Storage Requirements: Provision fast NVMe-backed persistent storage (PVs) for caching model weights, PostgreSQL state, and local code indices. Codebases with tens of millions of lines of code will scale context storage requirements rapidly.
- Internal Ingress & DNS: Allocate an internal DNS A or CNAME record (for instance,
tabnine.internal.corp) and a valid PEM-formatted TLS certificate issued by your internal enterprise Certificate Authority (CA).
Step-by-Step Air-Gapped Setup Workflow
Deploying Tabnine in a disconnected network requires bridging the air gap using a secure staging process, mirroring images, standing up the Kubernetes services, and routing client IDEs.
+-----------------------------------+ +----------------------------------------+
| Staging DMZ (Internet) | | Air-Gapped Perimeter (LAN) |
| | | |
| 1. Pull from registry.tabnine.com | =====> | 3. Mirror into Harbor / Artifactory |
| 2. Download offline model bundle | Secure | 4. Deploy K8s Helm Stack |
| and license entitlement | Media | 5. Configure TLS, DNS, & Internal IdP |
+-----------------------------------+ +----------------------------------------+
|
v
+----------------------------------------+
| Developer Workstations |
| - Internal .vsix / .zip Plugin Install |
| - Server URL -> tabnine.internal.corp |
+----------------------------------------+
Phase 1: Ingestion and Image Mirroring
Because the production cluster has no internet access, all container artifacts and model weights must pass through your organization's secure file transfer protocol or sneakernet procedure:
- Pull Images in Staging: On an internet-connected staging bastion, authenticate against Tabnine's commercial registry (
registry.tabnine.com) using credentials supplied by Tabnine's deployment engineering team. - Vulnerability Scanning: Scan all container images through your standard security scanners (such as Trivy, Clair, or Snyk) to satisfy compliance sign-offs.
- Internal Mirroring: Push the verified images to your internal private registry (Harbor, JFrog Artifactory, or Sonatype Nexus) hosted inside the air gap.
- Model Bundles & Attribution DB: Download the offline model weights package and the offline open-source license attribution database. Transfer these to your internal artifact storage.
Phase 2: Deploying the Kubernetes Stack
Tabnine provides deployment manifests and Helm configurations designed for enterprise orchestrators, including standard Kubernetes, OpenShift, and Rancher.
- Update
values.yaml: Point all image references away fromregistry.tabnine.comto your internal registry address (harbor.internal.corp/tabnine/...). - Configure Database & Caching: Connect Tabnine to your internal PostgreSQL and Redis clusters, or enable the internal database sub-charts within the isolated namespace. Sensitive database credentials should be injected via Kubernetes Secrets rather than plain-text configuration.
- Ingress and TLS Termination: Map your Ingress controller to use the corporate internal CA certificate. IDE clients will reject connections if TLS handshakes fail or if self-signed certificates are not trusted by the developer machine's system keychain.
- Offline License Activation: Log in to the newly deployed self-hosted Admin Console. In an air-gapped installation, Tabnine does not phone home to verify seats. Instead, apply the offline enterprise license key file issued by Tabnine.
- SSO / Identity Provider Federation: Connect the Admin Console to your corporate LDAP, SAML 2.0, or OIDC provider (such as Keycloak, Okta on-prem, or Active Directory Federation Services). This ensures developer seats map to corporate credentials without external identity providers.
Phase 3: Client-Side IDE Configuration
Developers cannot download the Tabnine extension from the public Visual Studio Code Marketplace or JetBrains Marketplace. The platform team must establish an internal distribution mechanism.
1. Internal Plugin Hosting
Download the official .vsix (for VS Code) and .zip archives (for JetBrains IDEs) during the initial staging phase. Publish them to an internal extension gallery, an internal artifact repository, or push them out via central enterprise device management (MDM).
2. Visual Studio Code Configuration
Once the extension is installed locally, configure the extension to point exclusively to the internal cluster:
- Open Settings (
Ctrl + ,orCmd + ,). - Search for
Tabnine: Cloud Hostortabnine.cloudHost. - Set the value to your internal Ingress address:
https://tabnine.internal.corp - Alternatively, distribute a global enterprise
settings.jsonfile across engineering workstations. - Reload the editor and trigger the sign-in prompt, which redirects through the internal SSO flow.
3. JetBrains IDEs (IntelliJ IDEA, PyCharm, WebStorm, CLion)
- In the IDE, navigate to Settings (or Preferences on macOS) > Tools > Tabnine.
- Under the Engine section, locate the Tabnine Enterprise Server URL input field.
- Paste the internal endpoint (
https://tabnine.internal.corp) and click OK. - Restart the IDE when prompted and complete authentication via the internal browser login window.
4. Visual Studio (2022 / 2026)
- In Visual Studio, navigate to Tools > Options > Tabnine.
- Click Open settings and update the Server URL to your internal domain.
- Save changes and sign in through your corporate credentials.
Connecting the Local Context Engine
An AI assistant without knowledge of internal libraries, microservice schemas, and internal APIs is only half as effective. Tabnine's Enterprise Context Engine bridges this gap while respecting the air gap.
Within the self-hosted Admin Console, configure connectors to your internal source control management (SCM) platforms:
- Supported platforms include on-premises GitLab Enterprise, GitHub Enterprise Server, and Bitbucket Data Center.
- Generate a service access token inside your internal SCM with read-only repository permissions.
- The Context Engine performs local semantic indexing of repositories directly on the cluster storage volumes. At no point is indexed source code, vector embeddings, or contextual snippets transmitted outside your private perimeter.
365Finds' Recommendation and Operational Trade-offs
365Finds strongly endorses Tabnine for regulated industries, defense contractors, and financial infrastructure providers that cannot legally or policy-wise adopt multi-tenant cloud AI assistants. Tabnine has engineered its self-hosted stack to function cleanly without phantom outbound network calls.
However, organizations must be honest about the trade-offs:
- Maintenance Overhead: In SaaS, model upgrades, security patches, and latency optimizations happen invisibly. In an air-gapped environment, your DevOps team must manually ingest container updates, re-verify model checkpoints, and roll out Helm releases on a planned cadence.
- Infrastructure Capital Expenditure: Running capable open-weight models with sub-second token generation across hundreds or thousands of concurrent developers requires substantial physical GPU investment.
- Attribution & Provenance: Ensure you allocate sufficient disk space for the local attribution database if your legal team mandates real-time open-source license origin tracking.
If your organization has the Kubernetes maturity and GPU infrastructure to support it, Tabnine delivers a true air-gapped generative coding environment where zero code ever leaves home.