product
Five stages from prompt to safer code. Every tool call your agent makes passes through Caret's supervision pipeline.
01 · intent
When you submit a prompt, Caret records it as structured intent — action, file scope, keywords, constraints. This is the contract. Every subsequent tool call is evaluated against it.
Intent parsing runs in under 5ms using rule-based extraction. For complex prompts, optional LLM-assisted parsing is available.
{
"prompt": "fix auth token refresh",
"action": "fix",
"scope": "src/auth/**",
"keywords": ["token", "refresh", "session"],
"constraints": [],
"timestamp": "2026-05-18T09:12:34Z"
}02 · evaluate
Your agent wants to edit a file. Before it executes, Caret checks: is this file in scope? Does this change match the intent? Is this command safe? In under 50ms. On every single call.
The supervisor hooks into your agent's PreToolUse and PostToolUse events. No SDK, no code changes — just hooks installed in three commands.
03 · detect
Scope drift, retry loops, cost runaway, destructive actions, approach drift, and hallucination drift. Each detected, classified, and acted on before the damage lands in your codebase.
04 · intervene
Configurable responses for every drift type. From passive observation to active blocking.
The agent edits a file outside scope. You get a desktop notification and Slack message in under a second. You decide what to do.
The agent enters a retry loop — same file, same error, three times. Caret injects corrective context: "You're looping. Try a different approach."
The agent runs rm -rf src/tests/. Caret blocks it before execution. The agent gets an explanation and continues with a safer approach.
05 · improve
Drift patterns compound across your team. Shared blocklists, team-wide policies, and health scoring that improves with every run.
12
runs
3
drift
$4.88
cost
A single layer between your agent and your code. No SDK, no config files, just hooks.
Your agent
Claude Code, Cursor, Codex, Aider
Caret supervisor
hooks → intent → evaluate → detect → intervene
Your codebase
git repo, file system, tests
Free during beta. All detectors active. No credit card required.