Citation and evidence

ScaleDown Agent

Report a problem with this article

Edit article
More

Use this article

Raw MarkdownExplore connections

Improve this page

Revision historyDiscuss this article

Topics

Developer ToolsSmall Language Models

Cite this article

ScaleDown Agent is a developer tool that identifies places where an application calls a language model and proposes moving individual tasks to small language models. It is available as a Model Context Protocol server and a Claude Code plugin. A developer can keep the original model for the main task and change just one operation, such as shortening a retrieved document before the application sends it to that model. [1][2]

Finding candidates for migration

The server supplies search patterns for Python, JavaScript and TypeScript. The coding assistant uses them to look for calls made through provider libraries or frameworks, including the OpenAI and Anthropic libraries and LangChain. ScaleDown describes this scan as local. Its migration report identifies files and lines, describes what each call does and provides a proposed code change for the developer to review. [1][2][3]

The choice depends on what the application expects back. A call that assigns a support message to one of several queues can use a classifier. A call that reads a document and returns particular fields can use extraction. Summarization produces a shorter account, while compression shortens the input to a subsequent model call. A single application can use several of these operations and retain a larger model for open-ended writing or planning. [1][2][4]

Evaluating a replacement

The migration report and the evaluation answer different questions. The report suggests what code a developer could change. To see how that change affects the application, the optimization tool compares a proposed prompt against labeled examples or answers recorded from the original model. It saves the samples, prompt versions, evaluation script and results in the project. Testing the replacement involves sending sample inputs to the ScaleDown API endpoint selected for the test. [2]

The metric follows the task. For classification, the tool can use the macro-averaged F1 score, so a label with few examples still counts as much as a common one. For extraction, it measures precision and recall for individual fields. For compression, it considers both the reduction in input size and whether the downstream model still answers correctly. A smaller prompt can therefore score poorly if it drops a detail the answer depends on. When the comparison uses the previous model's answers as its reference, the score measures agreement with that model. Human-verified answers provide a different reference. [2]

Continue reading

More to read

Topics:Developer ToolsSmall Language Models

References

  1. ^1 ^2 ^3ScaleDown. ScaleDown Agent overview.
  2. ^1 ^2 ^3 ^4 ^5ScaleDown. SLM Agent repository, migration report and prompt optimization.
  3. ^ScaleDown. Migration server implementation.
  4. ^Neal Patel. Building Long-Running Agents with ScaleDown and Deep Agents. LangChain, October 13, 2026.

Improve this article

Add missing citations, update stale details, or write a clearer explanation. Anyone can edit: changes go live when you publish, and every edit is checked by an editor.

1 revision · v1 · 423 words · full history

Fact-checks are independent of edits: a reviewer re-verifies the article against its sources and stamps the date. How we verify

Research and drafting on this wiki are AI-assisted, under named human editorial standards. How AI is used here

Cite this page: AI Wiki. "ScaleDown Agent." aiwiki.ai, updated 2 Dec 2026. CC BY 4.0. https://aiwiki.ai/wiki/scaledown_agent

Edit article