> For clean Markdown of this page, append .md to its URL. For the complete documentation index, see https://www.superagent.sh/llms.txt.


Check what agents consume and monitor or block risky actions where agents run.

# Agent Guardrails

Agent Guardrails protect both sides of an agent interaction.

| Guardrail | Control point |
| --- | --- |
| [Context Guardrails](https://www.superagent.sh/docs/security-workers/agent-guardrails/context) | Checks external content before an agent consumes it |
| [Runtime Guardrails](https://www.superagent.sh/docs/security-workers/agent-guardrails/runtime) | Monitors or blocks risky actions where a coding agent runs |

Both guardrails send findings into the security factory. Customer agents and
workflows act on those findings, structured agent reports return through
Superagent MCP, and Superagent retains the reports as context for later work.

## Next steps

- [Check external content with Context Guardrails](https://www.superagent.sh/docs/security-workers/agent-guardrails/context)
- [Monitor agent actions with Runtime Guardrails](https://www.superagent.sh/docs/security-workers/agent-guardrails/runtime)
- [Write and enforce runtime rules](https://www.superagent.sh/docs/security-workers/agent-guardrails/rules)

---
Source: https://www.superagent.sh/docs/security-workers/agent-guardrails
Index: https://www.superagent.sh/llms.txt
