Guardrails
Guardrails
What problem it solves
Constrain what the model may and may not do, so it does not drift or take dangerous actions.
What it is
A layer of checks on the input and output side — keywords, permissions, or another model's judgement.
Why it matters
If you give an agent the ability to write files and run commands, you must give it guardrails. This is a direct trade of capability for risk.
Related guides
Sources
- OpenHands Restricted Mode ↗
Use this term in a task
Don’t stop at the definition: use the task handbook for the order and checks, or filter three tool candidates for the job at hand.