Skip to content

Codebase Context

Codebase Context

Answers, Driver Investigations, and connected AI tools use context from your codebases. Basic Codebase Context provides source access and search. Advanced Codebase Context adds prepared context that helps an agent navigate the system, follow relationships, and assess changes.

Basic and Advanced

CapabilityBasic Codebase ContextAdvanced Codebase Context
Discover accessible codebases and branchesIncludedIncluded
Read source files, find paths, and search codeIncludedIncluded
Atlas and code mapNot includedIncluded after context preparation
File relationships and change impactNot includedIncluded after context preparation
Prepared change historyNot includedIncluded after context preparation
Task-specific context agentNot includedAvailable when enabled for your organization

Basic provides source access and search for the free trial. Contact Driver support to upgrade to Advanced Codebase Context; support enables Advanced as part of the upgrade. Preparation and updates use your account’s credits. Check Settings > Billing for your organization’s plan and usage.

Use Codebase Settings to choose which branches receive updates and how often Advanced context refreshes.

Tools included

Basic includes these five MCP tools:

  • get_codebase_names
  • get_branches
  • get_source_file
  • glob_files
  • grep_source

Advanced includes those tools and adds:

  • get_atlas_index and get_atlas_detail for the subsystem map.
  • get_code_map for the directory and file map.
  • get_related and change_impact for relationships and dependencies.
  • get_changelog and get_detailed_changelog for prepared history.
  • request_context and poll_context for task-specific context gathering when enabled.

The MCP tool reference describes the parameters. Available tools depend on the context prepared for your codebase and the capabilities enabled for your organization.

Use context in your work

Connect a codebase, then ask a question in Driver or connect your editor through MCP. Source becomes usable once connected. Advanced maps and relationship tools become useful after their preparation finishes.

Use the system map to understand the prepared context. Use the CLI to run investigation conversations or manage setup from your terminal.