Glossary · Cost engine

Semantic dispatch cache

A vector cache that matches a new, re-phrased request to a skill you already compiled — so a repeated task skips the LLM.

What is semantic dispatch cache?

A semantic dispatch cache is a vector index over compiled skills that routes an incoming goal to an existing skill by meaning rather than by exact string. When an agent asks for something it has effectively done before — even worded differently — the request embeds, matches a cached skill above a similarity threshold, and dispatches straight to deterministic replay instead of re-planning with a language model.

Why it matters

This is the core of Twin’s inverted cost curve. Exact-match or selector-keyed caches only help when the identical action repeats; a semantic cache catches the long tail of re-phrasings, so the share of runs that avoid an LLM call climbs as your agents run more. The result is a marginal cost per run that trends toward zero rather than staying flat.

Related terms

See it in context

Back to the full glossary

Put your agent to work. Keep the decision.

Give your agent a real browser, authorize the accounts it may use, and keep control of every step. Repeated runs compile into skills that replay without a model.