Ir al contenido

Guardrails

De Scrum Manager BoK
Esta página es una versión traducida de la página Guardrails. La traducción está completa al 100 %.
⏱ 3 min  ·  📅 2026
Guardrails are explicit constraints that define the boundaries within which an AI agent can operate autonomously. They establish what the agent can do without approval, what requires human confirmation, and what is completely prohibited. They are the technical mechanism that implements the HITL/HOTL autonomy levels in an agentic AI system.

In SDD, guardrails are the technical implementation of the Always / Ask First / Never system: the "Always" restrictions (actions the agent is always permitted to perform), "Ask First" restrictions (actions requiring confirmation), and "Never" restrictions (prohibited actions) are translated into guardrails within the agent's configuration.

Types of guardrails

Content guardrails

Restrictions on what types of outputs the agent can generate: do not produce code that accesses secrets, do not include personal data in logs, and do not generate content outside the task's domain.

Action guardrails

Restrictions on what actions the agent can carry out autonomously: not committing to production branches, not sending external communications without approval, and not modifying environment configuration files.

Scope guardrails

Restrictions on which parts of the system the agent can touch: access limited to certain directories, read-only access to production databases, and a ban on modifying dependencies without approval.

Spending guardrails

Restrictions on resource consumption: a token limit per session, a limit on calls to external APIs, and an alert when costs exceed a threshold.

Guardrails and AI governance

Guardrails are the technical layer of AI governance. Governance defines the policies (what AI can and cannot do); guardrails implement them in the system. Without guardrails, governance policies are documents with no technical effect. Without governance, guardrails are arbitrary restrictions with no grounding in the team's values and goals.

Guardrails and Levels of Assistance

In the Agile Bedrock framework, guardrails are more than just a technical configuration; they are the boundaries that define what an assistant can do on its own, what requires approval, and what is prohibited—along with the human controls that make these boundaries effective. They are defined by the human-assistant orchestration role and are governed by one principle: the greater the assistant's autonomy, the more rigorous the guardrails must be. Trust in the assistant is calibrated, verifiable, and reversible.

Level What the assistant does Guardrails
1. Generative Proposes drafts, summaries, and suggestions; the human decides, edits, and validates. The human always reviews; no output is accepted as final without validation.
2. Analytical Analyzes data, detects patterns, and predicts trends. The human understands the logic behind the prediction; no decision is made solely because an algorithm suggests it.
3. Specialized Agent Executes complete tasks within a defined domain. Mandatory human quality gates, transparent logs, and immediate reversibility.
4. Orchestrated Agent Multiple agents coordinate complex objectives with minimal human intervention. Formal governance, a designated human responsible for each agent, periodic auditing, and manual override/shutdown.

The first two levels represent assistance, while the last two represent autonomous execution. The boundary between the second and third levels is the most significant, as this is where work shifts from "human-assisted" to a process with its own rhythm that requires coordination (see Intelligent Assistance).

Guardrails in the agile context

In the SDD framework, guardrails are specified in the Boundaries section of the spec: the constraints that apply to the agent while implementing that particular spec. Unlike global guardrails (which apply to all of the team's agents), spec guardrails are local to a specific task.

Common mistake

Defining guardrails only for the most obvious actions and forgetting about side effects. An agent restricted from "modifying production files" can still compromise security if it is able to read production secrets and write them to a log file. Effective guardrails are designed in terms of risk, not individual actions: what is the worst damage the agent could cause with the permissions it has?

Resources

📄 Agile Bedrock syllabusFree download · Scrum Manager

See also

Want to advance in agility? You can search for course and exam calls or go at your own pace by becoming a member of the Agile Club. This membership includes exclusive resources, e-learning classrooms, and access to Skill Arena: a space to practice and measure your agile skills at your own pace.