What are AI guardrails? The limits set around the model.

Bonbay Updated on 15 November 2026 2 min read

In practice in a business

For an assistant that answers customers on your website, guardrails restrict topics to your products, mask a card number entered by mistake and hand over to an adviser as soon as a request goes beyond scope. Each rule is tested before going live.

Not to be confused with

Guardrails are not just the system prompt: a written instruction steers the model, but a skilled user can get round it, hence the controls placed outside the model. Nor are they an absolute guarantee: they reduce risks without eliminating them.

Bonbay. Updated on 15 November 2026.

Your questions.

What is prompt injection?

Text written to divert the assistant from its instructions, slipped into a question or hidden in a document it reads. Guardrails are partly there to detect it.

Do AI providers already include them?

Yes, against dangerous or illegal uses. They don’t know your internal rules: those are for the company to set.

Do guardrails slow down responses?

Slightly, since each check adds a calculation. The delay is usually barely noticeable to the user.