ScaleDown Agent
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
- Small language modelA small language model (SLM) is a compact large language model, typically under about 10 billion parameters, built to run efficiently on a single consumer GPU, a laptop, or a smartphone rather than in a data…Linked in the introduction
- Model Context ProtocolModel Context Protocol (MCP) is an open protocol for exchanging context and invoking capabilities between applications that use large language models and external programs or data sources.Linked in the introduction
- Claude CodeClaude Code is an agentic software development product made by Anthropic. It uses models from the Claude family to inspect software projects, propose and apply changes, run development tools, and report…Linked in the introduction
- GemmaGemma is a family of open-weight models developed by Google DeepMind. The family began in February 2024 with text-only decoder models derived from research used for Google's Gemini systems, then expanded to…Also in Small Language Models
- On-device AIOn-device AI is the practice of running machine learning models on the phone, laptop, watch, or embedded board a person is actually using, instead of sending the input to a remote data center.Also in Small Language Models
- Gemma 3Gemma 3 is a family of open-weight large language models developed by Google DeepMind and released on March 12, 2025.Also in Small Language Models
More to read
References
- ^1 ^2 ^3ScaleDown. ScaleDown Agent overview.
- ^1 ^2 ^3 ^4 ^5ScaleDown. SLM Agent repository, migration report and prompt optimization.
- ^ScaleDown. Migration server implementation.
- ^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


