Tabnine Plugin for OpenCode
Introduction to the Tabnine Plugin for OpenCode
Beta · Tabnine plugin for OpenCode v0.5.1
Overview and Quickstart
The Tabnine plugin for OpenCode is Tabnine's distribution of the OpenCode CLI coding agent. It installs a managed copy of OpenCode together with the Tabnine plugin, which you launch with the tabnine-opencode command. You use OpenCode's features with Tabnine sign-in, Tabnine-served models, built-in Tabnine MCP servers, and your organization's Tabnine governance applied on top.
This guide covers:
What Tabnine adds to OpenCode
How your organization's governance applies
Supported platforms
How it relates to an OpenCode install you may already have
A quickstart: launch, sign in, pick a model, and send your first prompt
What Tabnine adds to OpenCode
Managed OpenCode install – Tabnine installs and maintains its own copy of OpenCode with the Tabnine plugin already configured, so you run a known version without wiring anything up yourself. See Install.
Tabnine sign-in – you authenticate with your Tabnine account, and every model request uses your Tabnine credentials. See Signing In and Working with Models.
Tabnine-served models – the model list shows only models served through Tabnine (
tabnine/...) that your organization has enabled. The provider is locked totabnine, so no other providers appear.Built-in Tabnine MCP servers – Remote Codebase Search (
tabnine-context) and Coaching Guidelines (tabnine-coaching) register automatically, with no configuration. See MCP Servers.Organization governance – your organization's Tabnine policies apply automatically. See Organization governance.
Tabnine branding – a Tabnine theme and wordmark, plus
/tabninecommands in the terminal UI.
Everything else you see in a session is standard OpenCode. tabnine-opencode also reads your existing opencode configuration, so any settings and MCP servers you already use with OpenCode apply when you run tabnine-opencode as well. See MCP Servers for adding servers.
opencode reference: OpenCode is the underlying agent that tabnine-opencode bundles; see the OpenCode documentation.
Organization governance
A key part of what the Tabnine plugin adds is that tabnine-opencode enforces the Tabnine governance your organization's administrators configure. This includes:
Agent guidelines authored by your administrators and applied to the agent's behavior.
Tool governance, which can prompt you before the agent edits files or runs commands, or block a tool entirely.
MCP governance, which controls which MCP servers you can use.
Provider lockdown and model availability, so only the Tabnine-served models your organization enables are available.
Quota and license limits.
You don't configure these policies here; they apply automatically when you use tabnine-opencode. Administrators manage them in the Tabnine admin console.
Supported platforms
macOS
x64, arm64 (Apple silicon)
.run (self-extracting)
Linux
x64, arm64
.run (self-extracting)
Windows
x64, arm64
.exe (self-extracting)
There's nothing to install first. On Windows, the installer runs on Windows PowerShell 5.1, which is preinstalled on Windows 10 and 11. Full steps, flags, and uninstall are in Install.
Your Own OpenCode Stays Untouched
Tabnine installs its own copy of OpenCode, fully contained under ~/.tabnine/opencode. It does not depend on or change an OpenCode you already have. The tabnine-opencode launcher only ever runs the Tabnine-installed binary (it never falls back to an OpenCode on your PATH), and it uses its own config directory under ~/.tabnine/opencode.
Sign-in is shared: your credentials live in OpenCode's shared data directory, so one Tabnine sign-in covers both the Tabnine copy and your own OpenCode (if you chose to add the Tabnine plugin to it during install; see Install).
Quickstart
Before you start, make sure you've installed the plugin and signed in.
The Tabnine look
You'll know you're in the Tabnine distribution:
The home screen shows the Tabnine wordmark with the tagline "AI coding assistant".
The bottom bar shows a ◆ Tabnine marker.
A one-time "Tabnine plugin ready" toast appears on first load.
The Tabnine brand theme (violet and teal, with dark and light variants) is applied on first launch. Your own theme choice is never overridden afterward. To bring the Tabnine theme back at any time, run
/tabnine-theme.
Pick a model
Only Tabnine-served models appear. Model keys are readable slugs like tabnine/claude-4-5-sonnet. To list them from the command line:
To launch with a specific model:
In the TUI, switch models with the /models slash command. You can also pin a default model in your config. For model keys and sign-in, see Signing In and Working with Models.
Approve tool actions
When the agent wants to act on your machine (write a file, edit code, or run a shell command), OpenCode may show a permission prompt first, depending on your settings and your organization's tool-approval policy. Review what the agent is asking to do and approve it to let the agent proceed. If your organization has disabled a tool, the action is blocked and a message tells you it's disabled by your organization's administrator.
Handy commands
/tabnine– opens the About Tabnine dialog: what the Tabnine integration adds to the session, plus the running OpenCode version. Also available from the command palette and the default keybinding Ctrl+Shift+T./tabnine-theme– re-applies the Tabnine theme./mcps– shows connected MCP servers, including the built-in Tabnine servers.
Next Steps
You're all set! From here:
Install – full installation steps for macOS, Linux, and Windows, plus updates and versioning.
Signing In and Working with Models – sign-in methods, tokens, and choosing models.
MCP Servers – built-in Tabnine servers and adding your own.
Scripts and CI – headless and non-interactive use.
Migrating from Tabnine CLI – move your CLI configuration and
TABNINE.mdcontext files.Troubleshooting – fixes for common issues.
Last updated
Was this helpful?
