Session

Put the Rule Where Your Agent Can't Argue With It

You put business rules in the system prompt. The agent books past the guest limit, or confirms an unpaid booking because the user says they are the manager. A prompt is text the model reads, not code that runs.

Move the rule into a hook that checks every tool call before it runs. Block the calls that must never happen, like confirming without payment. For limits, steer instead: the hook tells the agent how to comply, it fixes its own call, and the booking completes.


Outline:
• The Rule Was in the Prompt
• Rules in Code, Reasoning in the Model
• Block the Call Before It Runs
• From Blocking to Steering
• Production Patterns and Q&A

Elizabeth Fuentes Leone

Developer Advocate

San Francisco, California, United States

Actions

Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.

Jump to top