Term · 09 of 12 · Who is accountable when it goes wrong

Guardrails

Guardrails
Guardrails are the checks around a language model rather than inside it: input filters, output validation, allowed-action lists, spend and rate limits, and a refusal path, each enforced in ordinary code that runs whether or not the model cooperates.

01Why it matters

Why do guardrails matter?

Most of what gets sold as a guardrail is a sentence in a system prompt asking the model to behave itself. That is a request. A control is code the model cannot talk its way past. A schema the output has to parse against. An allow-list naming the functions this agent may call. A hard ceiling on spend per session.

A rule that no refund above a threshold executes without a second approval from a person.

The absence shows up in two rooms. It shows up in the security review, where somebody asks what stops this agent deleting a record and the honest answer turns out to be nothing. And it shows up in the incident, where a system did exactly what it was asked to do by someone who should never have been able to ask. Guardrails are what turn "the agent can act" from an open claim into a bounded one, which is the version a risk function can sign.

How Stratition handles it

We write guardrails as code in your repository, reviewed the way your team reviews everything else, because a control your engineers cannot read is not a control they can rely on. In practice that means typed output schemas, an explicit list of actions the system may take, a budget ceiling per run, and a refusal path tested in the evaluation harness beside the happy path. The person who signs off on those limits is named before the system is switched on, not after it has done something.

See also

The terms this one leans on, and how they connect to each other.

Start here

Tell us what you're trying to build.

One call. We'll tell you how we'd ship it — and what it would take.

  • You own your data and IP
  • NDA on request
  • Reply in one business day