Is RACS production-ready at 1.0.0?
Yes. 187 tests across 13 suites pass on Node 22 and Node 24, with coverage at 92.46 percent statements,
82.09 percent branches, 93.33 percent functions, and 92.49 percent lines. TypeScript strict mode, lint,
and package checks are clean, and every release ships with SLSA provenance.
Does RACS ever call my provider's API?
Never. RACS plans directives, lints layouts, schedules refreshes, and accounts usage entirely
in-process. It holds zero credentials and opens zero network connections; the host application stays in
control of every provider call and applies the directives itself.
How is RACS different from a gateway or proxy?
A gateway sits on the wire and forwards traffic. RACS is a planning engine: it computes the cache
directives your existing client applies on its own requests. As of June 2026 we found no shipping npm
package that combines stability linting, multi-provider directive planning, drift detection,
persistence, and savings analytics in one library.
Which providers does RACS support?
16 profiles over 4 adapter families. Breakpoint: anthropic, bedrock, hermes, microsoft-foundry.
Routing-key: openai, xai, mistral, moonshot, openrouter. Resource: google. Passive: groq, deepseek,
ollama, lmstudio, huggingface, custom. Every profile value is overridable per engine instance, so a
provider changing terms is a configuration edit, not a release.
How much can prefix caching actually save?
Measured agent workloads report 41 to 80 percent savings on input spend (arXiv 2601.06007, January
2026). Your number depends on prefix share, hit ratio, and the provider multipliers; the calculator on
this page estimates it from your own figures, and the ledger reports the measured truth once you record
real usage.
What do the nine lint codes catch?
The documented production cache-killers: timestamps and identifiers inside segments declared stable,
volatile content placed early in the prompt, unstable tool definitions, prefixes below the provider
minimum, breakpoints placed after volatile segments, write-premium traps, wrong segment ordering, and
missing stability declarations.
Does RACS see my prompt content?
Only if you pass it. Every segment accepts a contentHash instead of content. In hash-only mode RACS
never sees the text, and plans, drift reports, persisted snapshots, and telemetry carry hashes and token
counts only.
How does drift detection work?
Every plan fingerprints its stable segments with deterministic FNV-1a 64 hashing. When a later plan for
the same agent lineage produces a different prefix key, RACS emits a drift report naming exactly which
segments changed and how many cached tokens were invalidated.
Where does state live, and can it persist?
In memory by default. The file backend persists snapshots on Node, and kvState wraps any Redis,
Upstash, or Cloudflare KV style client in one line. Persistence is optional; the engine is fully
functional without it.
How are USD savings calculated?
From pricing you supply. RACS never hardcodes provider prices: you pass a table in USD per million
tokens, and the ledger combines it with normalized usage reports into hit ratios, savings, and net
effect after write premiums. Without a pricing table, every statistic is still reported in tokens.