DocumentationCodebase intelligence

Extend Dragent

Codebase intelligence

1 min read Dragent guide

When you open a project, Dragent builds a local semantic index so the agent can find relevant code quickly. Embeddings are computed on your machine by default, and the index is a pure local cache.

  • Control it in Settings → Code & Index: enable/disable, auto-index on changes, respect .gitignore, and ignore patterns (paths that are never indexed or sent to the model).
  • The search_codebase tool blends semantic and exact matches, falling back to text search when the index isn't ready.
  • Git context (branch, changes vs HEAD) is surfaced in the UI and given to the agent.