AI agent safety · L2 · 20 min
Guardrails
Learn in five minutes
- OWASP's Top 10 for Large Language Model Applications is the community list this lab uses for model risks. It is not a contact-center certificate.
- NIST's AI Risk Management Framework is the vocabulary for measuring and managing that risk. It is not a product approval.
- A tool schema can make a request parseable. It does not make the request allowed.
- The xAI Speech to Speech page lists function as a tool type. A function that changes an account still needs a person when the action is hard to undo.
- Keep a step cap. The voice channel does not remove it.
Parseable is not permitted. Write the cap next to the tool name.
Visual
One tool, one cap
- Tool name: read_note.
- Allowed argument: a note id from the call.
- Cap: three steps, then the handoff packet.
- Anything that charges or deletes is not in the list.
Quiz
Ecosystem
- Guardrail
- A check you can fail: schema, cap, and a person for an action that is hard to undo.
Sisters: Human handoff, NIST AI RMF, OWASP LLM risks, Recording statutes.
The voice channel does not remove the tool cap or the person who must approve an action that is hard to undo.
A later test can add a script you wrote. It cannot add a legal conclusion.
Config
- Write the goal in one sentence.
- Name the input and the allowed output.
- Save the trace next to the result.
Troubleshooting
- The answer looks fluent and is wrong. Check whether a source passage actually contains the claim.
- The loop never stops. Set a step cap and stop when the tool result repeats.
Sources and go deeper
- OWASP Top 10 for Large Language Model Applications community last checked 2026-10
- NIST AI Risk Management Framework spec last checked 2026-10
- Speech to Speech, docs.x.ai vendor The page title is Speech to Speech. The body names the Grok Speech to Speech API and also calls the site SpaceXSI Docs. last checked 2026-10