Instructions
Instructions tell each agent what to do, in plain language. Write them for the hotel's booking agent, restructure them into XML, refine one passage, and see what the model actually reads on each turn.
10 minPro
Checking your access…
Inside this lesson
- An animation you play, pause and step through, with each part saying what it is doing.
- The real code beside it, with the lines for each step lit up.
- Practice mode, where you route each message yourself, and a short quiz.
- About 10 minutes.
Written from the official documentation
In this module: Designing agents
- InstructionsWriting, restructuring and refining instructions.Pro
- Modular componentsOne instruction that adapts by channel and context.Pro
- VariablesCarrying data through a conversation.Pro
- Handoff rulesMoving between agents, and escalating to a person.Pro
- Flow-based agentsDeterministic flows where you need them.Pro
- Rich response widgetsCards, buttons and more in chat.Pro