Home / Companies / Sourcegraph / Blog / Post Details
Content Deep Dive

A smarter way to run code migrations with less LLM context

Blog post from Sourcegraph

Post Details
Company
Date Published
Author
Kalan Chan
Word Count
570
Company Posts That Month
5
Language
English
Hacker News Points
-
Post removed?
No
Summary

Deep Search uses sandboxed scripts around Sourcegraph search APIs to perform large-scale codebase audits and migrations without sending thousands of files and intermediate search results to an LLM. Rather than relying on standard agent workflows that process all raw data in a model’s context window, it runs searches, filters and cross-references findings, calculates totals, and generates structured outputs such as CSV, JSON, and SVG reports, passing only aggregated results to the model. This approach is intended to reduce token costs, limit irrelevant context, and produce more actionable results for tasks such as identifying imports of deprecated packages, locating TODO-heavy files, tracking shared-service usage, detecting outdated dependencies, and comparing implementation patterns.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
LLM 6 5,068 1,020 229 -34%
Kubernetes 2 3,490 385 112 +26%
AI Agents 1 5,780 1,243 245 -15%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.