model-shunt

v1.2.1
io.github.yasmanycastillo/model-shunt Checked 1 day ago Published 2 months ago

Model routing for AI agents: delegate bulk reads & boilerplate to cheap worker models.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

bulk_read

Reads multiple or large files and answers a targeted question using a cheap, fast worker model (e.g. Gemini Flash, Groq, Ollama). Saves ~90% tokens by returning only structured bullet points.

ParameterTypeDescription
file_paths *arrayList of file paths to analyze
question *stringThe specific question to answer about the files
modelstringOptional model override (or 'auto' to select the best available reader model)
providerstringOptional provider override (gemini, groq, openai, deepseek, anthropic, ollama, openrouter)

code_write

Generates boilerplate code (tests, mocks, stubs, configs) matching the patterns of a reference file. Can write directly to disk without consuming frontier output tokens.

ParameterTypeDescription
reference_path *stringPath to reference file whose conventions, style, and structure should be replicated
spec *stringDescription of what code to generate
modelstringOptional model override (or 'auto' to select the best available writer model)
providerstringOptional provider override (gemini, groq, openai, deepseek, anthropic, ollama, openrouter)
target_pathstringOptional path where generated code should be written directly on disk

get_available_models

Discovers active models from the worker provider and recommends the best model for reading (high context / low cost) and writing (code intelligence). Enables calling agents to delegate dynamically to the best model.

ParameterTypeDescription
providerstringOptional provider to query (gemini, groq, openai, deepseek, anthropic, ollama, openrouter). Defaults to active provider.