An assistant makes choices before it writes an answer. Which model should handle this request? And when a coding agent saves something useful, which client agent and task chat should remember it?
We use Jev, TypeSafe’s decision model, for both. Auto uses it to judge the work before choosing an answering model. Our new MCP layer uses it to judge where a memory belongs. The questions differ, but the design is shared: give Jev a bounded question, then let ordinary code validate the answer and perform the action.
A decision before the answer
Jev accepts a state and typed questions. A choice question returns a selection from declared options, probabilities for those options, and a separate confidence value. Our integration uses the OpenRouter Decisions API. Jev supplies decision evidence; Ditto’s code owns permissions, thresholds and side effects. OpenRouter’s Jev guide describes that interface.
A model’s answer cannot grant access to a memory graph, invent a valid database ID, or authorize moving someone’s history. Those checks happen in code.
Auto: match the answering model to the work
When you choose Auto, you choose how readily Ditto should move up its model ladder:
- Quick favors the fast rung and allows a limited step up.
- Balanced can reach a stronger model for demanding work.
- Thorough can reach the strongest rung for hard requests.
For messages that need judgment, Jev scores how likely the work is to be simple, standard or hard. Ditto maps those scores and your selected level to an eligible model. Short messages and some follow-ups can take a direct path without another Jev call.
Ditto selects the model before building the answer request. That model answers through Ditto’s usual provider, context, access and billing paths. Auto also considers conversation continuity: a short “yes, go ahead” should continue the work you just approved. The current level still caps the selection.
Auto currently gives the decision a 700-millisecond budget. If it cannot finish, Auto uses its fallback policy rather than waiting indefinitely. Plan and regional restrictions still apply. You can inspect the model and routing reason in the answer’s cost details, and choose a model manually where your account allows it.
Auto handles model selection for everyday requests and can use more capable models for harder work, within your chosen level. This is not a benchmark or a promise of lower costs on every request.
MCP: choose where the memory belongs
MCP lets an external assistant, such as Cursor, use Ditto’s memory tools. A useful saved memory should remain easy to find after the coding session ends. Requiring the assistant to pick a fixed destination at connection time can leave unrelated work together or split one project across several disconnected chats.
For eligible connections using automatic organization, placement has two steps:
- Identify the client. Ditto uses MCP initialization metadata and named OAuth connections or API keys to recognize clients such as Claude Code, Codex and Cursor. Saves reuse one client agent in that memory graph, shown with its product icon beneath Ditto.
- Choose the task chat within it. Jev compares the work with task chats inside that client agent. Related saves can continue together after a pause; unrelated work creates another task chat without inventing another client agent.
For example, a fictional team maintains Harbor Launch. A Cursor memory about its webhook retry policy belongs under Ditto → Cursor, in a task chat about Harbor Launch webhook reliability. A later Cursor save about that retry change can join the same chat, even through another connection. A separate research task gets its own task chat. A Codex save stays under Codex, where Jev organizes Codex’s task chats.
The memory’s free-form source label is not enough to establish that identity. Recognized transport metadata and connection records belonging to the owner supply the attribution; Ditto enforces permissions separately.
Uncertainty has an explicit path
The layer validates Jev’s response against candidates supplied by the server. Model-facing labels map to authorized records; the model cannot supply arbitrary destination IDs. Automatic matching currently requires the chosen option’s probability to be at least 0.8. Ditto records that probability separately from Jev’s confidence.
An unrecognized client uses the stable MCP Inbox. When the layer cannot confidently match a recognized client’s save to a topic, it creates another task chat inside that client’s existing agent. A weak topic match does not scatter saves across newly invented client agents. The receipt names the actual client agent and task chat, including where a deduplicated memory already lives.
Credentials with a fixed destination retain their behavior. Explicitly selected task chats and restricted credentials keep their scope. If a client explicitly requests automatic routing when it is unavailable, the request fails before writing; it does not silently switch to a manual destination.
Existing history needs review
Good placement for new saves does not finish reorganizing an existing account. The cleanup feature reviews a limited set of MCP task chats and memories and uses surviving client or connection evidence to propose consolidation. A source label alone cannot identify an old client. Other suggestions include moving a task chat, consolidating related task chats, organizing selected memories, renaming, or removing an empty task chat.
You review counts and excerpts before approving. A scan produces suggestions; it does not silently rearrange history. Approval and Undo check that the affected content and settings still match the reviewed state. Undo remains available until changes to those task chats make the original reversal unsafe. Protected histories, active work and attached credentials impose additional limits.
In testing before release, MCP initialization identities and named keys routed saves to the expected client agents. Related saves reused a task chat, unrelated work created another task chat, and a deliberately misplaced thread produced a consolidation proposal. Approval moved it with its memory intact; Undo restored its previous agent. The test covers those paths; it does not establish that Ditto has reorganized every historical memory.
The shared design
Auto asks, “What kind of work is this?” The MCP layer asks, “Where does this work belong?” Both use typed decisions inside a system whose rules remain explicit.
For Auto, those rules include the model ladder, account eligibility, continuity and fallback. For MCP memories, they include authorized candidates, destination validation, receipts and reviewable cleanup. That lets us use language understanding at the point where it helps, while keeping execution and access under the application’s control.
Try Auto from the Ditto app, or see the MCP connection guide for connecting your assistant. Automatic organization is on for eligible connections. Cleanup suggestions are available for review.