Sources indicate that fine-tuning an LLM to enforce compliance rules or remove bias takes weeks and costs thousands of dollars. By the time you deploy, the policy has changed. Mentat (CTGT, YC F24) offers a different approach: runtime intervention that modifies model activations during inference to steer reasoning deterministically, without retraining.

Sources indicate that this is not prompt engineering or RAG. It is activation-level control that turns features on or off inside the model as it generates tokens. The API exposes this as a drop-in replacement for OpenAI-style chat completions, with intervention rules applied at request time.

Industry observers note that standard guardrails ask the model nicely to behave. System prompts, RAG context, and few-shot examples all rely on the model's willingness to follow instructions. This fails in two predictable ways:.

In financial compliance scanning, a model might flag false positives because it associates certain phrases with risk, even when context makes them benign. Prompt tweaks reduce the error rate but never eliminate it. You need deterministic control.

It has been revealed that mentat's API modifies internal model activations before token generation. Instead of retraining weights, you specify which features to amplify or suppress at inference time. The system uses two primitives:.

The API endpoint looks like a standard chat completion:.

Recent findings suggest that the interventions array specifies which features to adjust. The verification block defines logical checks. If the model generates an answer that ignores the context, the system retries with stronger intervention weights.

Industry observers note that runtime intervention adds overhead. Each request requires:.

For compliance scanning where false positives cost more than latency, this trade-off makes sense. For real-time chat, you need to budget for p99 spikes.

In a recent development, in financial applications, you must prove that an agent's behavior matches a specific policy version. Mentat handles this with intervention profiles:.

This is critical for audits. When a regulator asks why an agent flagged a specific transaction, you can point to the exact intervention profile and verification constraints active at that timestamp.

It has been revealed that runtime intervention does not eliminate all failure modes. It shifts them:.

Runtime intervention makes sense when:.

Runtime intervention is a deployment primitive for high-stakes agent workflows where fine-tuning is too slow and prompt engineering is too brittle. The API exposes activation steering and verification as request-time parameters, making behavior changes instant and auditable. The cost is latency (2x at p99 with retries) and operational complexity (feature discovery, constraint tuning). Use this when policy drift is faster than your retraining pipeline and when deterministic control justifies the overhead. Skip it for latency-sensitive or low-stakes applications where probabilistic guardrails are good enough.

→ Read original article