Context Engine

The Tabnine Context Engine extends your agents’ awareness beyond the local workspace by generating structured context from connected remote repositories.

This guide walks you through setup, configuration, and usage.

Step 1: Connect Your Repositories

Before using the Context Engine, ensure your repositories are connected to your team.

Once connected:

  • Repositories are automatically indexed

  • The agent can search, navigate, and list the following: remote repositories, folders, files, and code elements

  • Basic context becomes available within a few hours

No additional configuration is required for this initial indexing layer.


Step 2: Enable the Context Engine (Admin Setup)

Navigate to: Admin UI > Context Engine > Settings

This step has two required parts: enablement configuration and enabling Context Engine tools

Configure Context Engine Enablement

In the Context Engine Enablement section:

  1. Select the Context Engine Model Choose the model that will be used for repository pre-processing.

  2. Select the Context Engine User

  3. Must be an admin

  4. Must belong to a team with agents enabled

  5. The Context Engine runs on behalf of this user (permissions and quota apply)

  6. Configure the Pre-Processing Schedule (optional)

  7. Any time (default) Controlled (recommended only for organizations using private model endpoints to manage load)

Click Edit Configuration (or the relevant save action) to apply changes:

Enable Context Engine Tools for End Users (Required)

Expand the second tab titled Context Engine Tools Configuration

Next, toggle “Enable Context Engine tools to end users”.

This step is mandatory. Without enabling tools, end users will not be able to access Context Engine capabilities in the IDE or CLI, even if repositories were processed successfully.

Step 3: Enable Agentic Pre-Processing Per Repository

Advanced (agentic) context layers are not generated automatically for all repositories.

For each repository:

  1. Go to the Personalization page

  2. Locate the connected repository

  3. Enable agentic context processing using the repository action icon

Repeat for every repository you want processed.

Step 4: Review Generated Context Layers

Once advanced processing completes, generated assets can be reviewed.

Navigate to:

Context Engine > Assets

From there, admins can:

  • Filter assets by repository, team, or type

  • Open and inspect generated context layers

These assets include higher-level summaries, services, dependencies, and structured architectural insights.

Step 5: Use Remote Context in the Tabnine Agent (IDE or CLI)

When using the Tabnine Agent, remote repository context is accessible through native MCP tools.

Example prompts:

By default, the agent prioritizes local workspace context. If you want the agent to explicitly use remote repositories, specify it in your prompt.

For example, instead of:

Use:

Adding phrases such as “in remote repositories” or “in the remote codebase” directs the agent to use the generated remote context layers.

Last updated

Was this helpful?