Your agent retries
Coding tools send broken code, get an answer, try again. Each try can be another paid model call — even when the mistake is the same infinite loop with different comments.
REA sits between your coding agent and the model. It stops runaway code in about 150 milliseconds, fingerprints the shape of the failure, and answers repeats from cache so the model is not called again. You bring your own key. We never bill OpenAI or Anthropic tokens.
Coding tools send broken code, get an answer, try again. Each try can be another paid model call — even when the mistake is the same infinite loop with different comments.
It looks at the structure of the code, not the wording of the prompt. The same trap hashes to the same fingerprint.
The first time, the model still answers. The next time that structure appears, REA returns the stored answer. That is the savings. Unique work still pays the vendor.
HTTPS at api.reacontrolplane.com. Same shape as OpenAI chat completions. Health reports INTEGRATED.
A REA key opens the plane. Your model key rides in X-Upstream-Api-Key. REA does not keep a backup vendor key for customer traffic.
Runaway snippets are killed at about 150 ms. An empty monthly loop pool returns 402. A burst over your tier returns 429.
Responses include rea_meta: cache hit or miss, the fingerprint, and whether the sandbox blocked, crashed, or saw no code.
You do not change models. You change the base URL and add one header.
No training. No rewritten answers. The first answer you see is the vendor’s.
Cache helps when the same failure repeats. New failures still call the model. We do not publish a universal percentage.
The supported path is Continue, Cline, or any client that can set a custom base URL and header.