curl and
jq.
Last verified 2026-08-13 by executing the recipe end to end.
The recipe
main.sh
How it works
- The session key is scoped to one user and one conversation. Starting a new
session for the same
userIDends the previous one. launchruns everything your agent does before the first user turn, which is why the first response can carry many traces.- Every response is an array of traces. Your
application decides how to render each type; most carry a
texttrace with the agent’s reply.