Skip to main content
Support assistant tutorial This checkpoint keeps the lookup tool and makes two requests with the same sessionId and userId. Both requests happen before closing the Agent.

Complete checkpoint

support.ts

Run it

Verify the result

The first response should use the order tool. The follow-up should identify ORD-1042 from the conversation. Try a new session ID for the second call. The second conversation should not inherit the first conversation’s order. This is a useful isolation check, but it does not replace authorization tests in a hosted application. Default conversation state is in memory. Restarting this script loses that history. Choose persistent storage when sessions must survive restarts. For hosted requests, derive user identity from verified credentials and authorize the session; never trust a client-supplied ID as proof of ownership.

Answer from policies

Continue to the next chapter.