A smarter way to run code migrations with less LLM context
Blog post from Sourcegraph
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.
| 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 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.