Field notes / from first question to better decisions

Runtime guardrails,
without the jargon.

New to AI security? Start here. Already building? Go deeper. Understand what the checks do, where they belong and what they cannot promise.

Building agents that use tools? Start with the full agent runtime security guide.

Conceptual AI safety checkpoint: amber shield diverts suspicious red data blocks away from a processor while other data continues.
Concept illustration, not a screenshot of deployed protection. Real checks can miss threats.

Before the model

Screen input and retrieved content. Remove secrets and check who may access the data.

Before an action

Enforce tool permissions, spending limits and human approval before anything irreversible.

After the answer

Validate output before rendering or using it. Keep logs and verify the result.

Guardrails for AI agents: runtime security questions

01 / QUESTIONS

Start here

Runtime guardrails are checks applied while an AI application is handling a request. They can inspect incoming text, limit which actions an AI agent can take, check its answer and stop or flag risky activity. Think of checkpoints around a journey, not a guarantee that nothing can go wrong.

Read the dated post

02 / QUESTIONS

Practical developer questions

03 / QUESTIONS

Accounts, reports and privacy

04 / THE WORDS BEHIND THE CHECKS

AI security terminology A–Z

38 terms

Agent / tool call / allowlist

Action-taking AI / action request / approved set

An agent can request actions through tools. An allowlist limits which tools or actions may be used; permissions still need independent enforcement.

AI

Artificial intelligence

Software that performs tasks such as recognising patterns or generating text. Useful output is not proof of understanding or accuracy.

API / endpoint / SDK

Service interface / address / developer toolkit

An API lets software interact. An endpoint handles a particular request. An SDK supplies tools for using a service.

Audit / self-assessment / remediation

Review / your own answers / fixes

An audit reviews evidence. This site's self-assessment uses your answers. Remediation is the work to fix gaps and verify that the fixes work.

Authentication / authorisation

Who you are / what you may do

Authentication verifies identity. Authorisation checks permissions for each action or record; being signed in does not grant all access.

Benchmark / modelled estimate

Measured test / planning calculation

A benchmark measures actual execution under stated conditions. A modelled estimate calculates from assumptions; this site's latency calculator is the latter.

Classifier / threshold

A scoring check / its decision point

A classifier assigns a label or score. A threshold determines when to block or flag, affecting both missed attacks and false alarms.

Embedding / vector store

Numeric representation / similarity index

Embeddings represent content numerically. A vector store finds similar content, but similarity is not an access permission or a truth check.

Entitlement / subscription / audit pass

Purchased access

An entitlement permits a paid feature. Deep Audit Monthly includes 20 combined checks/plans across your agents per billing period. Existing one-time passes retain their defined single-app access without recurring charges.

False positive / false negative

False alarm / missed detection

A false positive flags a legitimate request. A false negative misses a risky request. Measure both using representative examples.

Gate / fail closed

Checkpoint / stop on failure

A gate decides whether a request proceeds. Failing closed stops the protected action when the check fails or cannot run.

Grounding / hallucination

Source-supported answers / invented content

Grounding supplies relevant evidence. A hallucination is plausible but unsupported or false output; citations must still be checked.

Jailbreak

An attempt to bypass model restrictions

A request tries to make a model ignore its safety rules. It overlaps with, but is not identical to, application-level prompt injection.

Latency / ms

Delay / milliseconds

Latency is the time a request or check takes. A millisecond is one thousandth of a second.

Least privilege / excessive agency

Minimal access / too much power

Least privilege gives only necessary permissions. Excessive agency lets AI do more than its task requires, increasing the impact of mistakes or attacks.

LLM

Large language model

An AI model that generates and processes language. It can produce convincing answers that are incorrect.

Model / inference

The engine / running the engine

A model is the trained system. Inference is using it to produce an answer from new input.

Monitoring / telemetry / incident

Watching / recorded signals / security event

Monitoring watches behaviour using telemetry such as logs and metrics. An incident requires investigation and response, not just a warning or score.

OWASP / LLM01–LLM10

Security project / risk identifiers

OWASP publishes security guidance. LLM01 through LLM10 identify categories in a specific edition, not your personal score or an official certification.

p50 / p95 / p99

Typical and tail latency

Percentiles describe a measured distribution. At p95, 95% of observations are at or below that duration; slow outliers still matter.

PDF / YAML / Markdown

Report / configuration / formatted text

PDF stores a readable document. YAML represents structured data. Markdown formats text; none of these file types deploys protection by itself.

PII / redaction

Personal data / removing sensitive content

Personally identifiable information can identify someone. Redaction masks or removes sensitive data, but detection can miss unusual formats.

Poisoning / ingestion

Manipulating data / importing it

Poisoning plants harmful examples or documents. Ingestion imports content into training or retrieval systems; validate sources and control who can add it.

Precision / recall

Alarm reliability / attack detection

Precision measures how many flagged examples are actually positive. Recall measures how many positive examples were detected; results depend on your labelled test set.

Prompt / system prompt

Request / application instructions

A prompt is text sent to a model. A system prompt gives application instructions, but is not a secure place for secrets.

Prompt injection

Malicious instructions disguised as input

Text attempts to override the application's intended instructions, directly from a user or indirectly from content the model reads.

RAG

Retrieval-augmented generation

The app retrieves documents and gives them to a model to help answer. Retrieved text can be wrong, malicious or unauthorised.

Rate limit / quota / denial of wallet

Usage speed / allowance / bill abuse

Rate limits cap requests over time. Quotas cap total usage or spending. Denial of wallet abuses costly requests to run up a bill.

Runtime guardrail

A check while the app is running

A control around an AI request, response or action. It may block, redact, restrict or flag activity.

Schema / validation / sanitisation

Expected shape / checking / cleaning

A schema defines allowed fields and types. Validation checks conformity. Sanitisation removes unsafe content; use destination-specific output handling.

Secret / API key

Private credential

A credential allows access to a service. Keep it out of prompts, browser code and public reports; rotate it if exposed.

Sequential / parallel

One after another / overlapping

Sequential checks wait for earlier checks. Parallel checks overlap when independent; dependent checks cannot safely be skipped or reordered.

Supply chain / provenance

External dependencies / origin record

The supply chain includes models, packages and datasets you depend on. Provenance records where an item came from and how it changed.

Tenant / access scope

Customer boundary / permitted records

A tenant is an organisation or customer grouping. Access scope limits which records a user can retrieve or modify.

Timeout / circuit breaker

Time cap / repeated-failure stop

A timeout ends waiting after a limit. A circuit breaker pauses repeated failing calls to reduce cascading failures.

Token / context window

Text unit / input capacity

Tokens are model-specific chunks of text. The context window limits what the model can consider at once; token counts also affect cost.

Training / fine-tuning

Learning / further adaptation

Training learns patterns from data. Fine-tuning adapts an existing model with additional examples; neither guarantees safe runtime behaviour.

XSS / SQL injection

Browser script / database query attacks

Untrusted text can become executable script or alter a database query when handled unsafely. Encode browser output and use parameterised queries.

Turn the words into a next step.

Independent, AI-assisted explanations. Verify decisions with a human and the official OWASP project. This is educational guidance, not certification.