OtōtoOtōto

(•)The small model

Understanding the small model, and running without one.

Otōto combines two complementary systems in a single MCP server: instant, direct tools that query your code and git history directly without model overhead, and delegated tools that hand broad questions to a small model. This small model reads your repository in an isolated session and returns concise answers backed by verified source citations. You can install and use Otōto immediately even if you do not have a small model running. This guide explains how the model works, how to verify your setup, and what Otōto delivers out of the box.

01What it is

A dedicated local reader that frees your main agent for implementation.

The small model is an open-weights model of roughly twenty to thirty billion parameters, hosted on infrastructure you control—whether that is a shared corporate GPU server or an Apple silicon Mac. For our internal development, we run Qwen3.8 27B at four bits. Otōto connects to your model through standard OpenAI-compatible tool-calling endpoints supported by vLLM, MLX, llama.cpp, Ollama, and LM Studio.

When your coding agent calls ask, locate, or callers, Otōto forwards the inquiry to this small model along with restricted, read-only exploration tools. The small model searches identifiers, generates symbol outlines, and reads relevant source files across as many turns as necessary. It synthesizes a concise response with file and line coordinates, which Otōto verifies against your local disk before presenting it to your primary agent. The small model handles comprehension and research; your primary frontier model focuses on architectural decisions and code modifications.

  • Complete code privacy by default. Otōto communicates exclusively with your designated model server. It sends source code nowhere else.
  • Optional cloud fallback. If you prefer not to manage local inference hardware, running ototo init --preset haiku makes Claude Haiku the small model, through Anthropic's API using your own key. That costs a few cents a question, and the code it reads goes to Anthropic.
  • Optimized model sizing. Navigating symbol hierarchies, tracing call graphs, and quoting verified lines requires systematic patience and large context windows rather than frontier-class reasoning. A compact, specialized model handles exploration exceptionally well at a fraction of the compute cost.

02Have I got one?

Verify your configuration with the doctor command.

  1. ototo doctor

    The Model section reports which of three configurations is currently active on your machine.

SetupDoctor Output
A model serverDisplays the server name, active model, and endpoint address, followed by serves the model and calls tools: answered the test in showing measured response latency.
No small modelDisplays no small model set up, lists the direct tools available without a model, and explains how to attach one later. No configuration fixes are required.
Claude HaikuDisplays Claude Haiku at api.anthropic.com and confirms has an API key.

The ototo init command (invoked automatically during installation) performs this check as well: it scans standard local ports for active model servers, and if none are detected, sets Otōto up with its direct tools alone.

03Without one

High-performance direct navigation without running an inference server.

If you operate without an inference server, Otōto equips your agent with its full suite of direct tools: search, read, outline, changes, history, and replace_all, alongside specialized plugins for configuration files, build manifests, and container definitions, as well as ototo digest for test and build logs. Your agent is instructed to use these tools directly instead of issuing broad file reads and brute-force greps. The delegated tools (ask, locate, callers, and edit) are omitted from the agent's tool manifest until a model is connected.

We benchmarked this setup, with no small model, against standalone Claude Code and against Otōto with its small model: Nine questions on open-source code across three runs each on 7 October 2026, and 27 real bug fixes from jackson-core, jackson-databind, jsoup and ripgrep evaluated against upstream test suites on 8 October 2026. Both suites evaluated Claude Code 2.1.292 on Claude Opus 5.5 paired with Otōto 2026.18.

SetupQuestions rightCost of oneTimeFixes that passedCost of oneTime
Claude Code alone24 of 27$0.07416 s78 of 80$0.37085 s
Otōto with no small model27 of 27$0.06012 s77 of 80$0.35772 s
Otōto with its small model27 of 27$0.04945 s79 of 80$0.33287 s
  • Code questions: 19% cheaper and 30% faster than standalone Claude Code. Every question was answered correctly, compared to 24 of 27 for standalone Claude Code.
  • Bug fixes: 16% faster at comparable cost. Average cost was 3% lower (a variance within experimental margin), with matching fix success rates (77 of 80 versus 78). Because the majority of bug-fix effort involves editing, compiling, and running test suites, exploration speedups apply specifically to the initial discovery phase.
  • Small model latency trade-off. Adding a small model reduces query costs by 34% on questions and 10% on bug fixes relative to standalone Claude Code. Tasks take 45 seconds with the model versus 16 seconds without, reflecting the multi-turn reading performed on consumer hardware.
  • Benchmark methodology notes. Evaluated over a consistent evening and day session on tasks that Claude frequently resolves independently: these metrics evaluate operational costs rather than relative accuracy. 2 tasks that failed across all setups were excluded. Inspect the complete benchmark methodology and dataset.

04Adding one

Connecting a model server when you are ready.

  1. ototo init

    Once an inference server is running locally, running ototo init detects the active port, tests tool-calling capability, adds ask, locate, callers, and edit to your agent's tool manifest, and updates agent instructions after requesting confirmation.

  2. ototo init --base-url http://gpu:8000/v1

    Connect to an external model server, such as a team GPU workstation or dedicated inference cluster.

There is a quick start for each server we have run Otōto with, written as we ran it: vLLM, llama.cpp, MLX, Ollama, LM Studio, mistral.rs and LiteRT-LM. And the models worth using: a 27-billion-parameter model on a team's GPU server, and a 9-billion one that a laptop holds, each with its score on our questions. Any other server that speaks the same API with tool calls should work, and ototo doctor's tool-call test says whether yours does.