order-support has been traced: what it was asked, what it called, which skills it opened, and which versions it ran on. In this part you read those traces and compare the same question before and after a change. The traces read much the same on every tab from Part 2, LangChain included.
1. Make a run to look at
Runmain.py, with its kettle refund question:
2. Read the trace
Open the run. Its page shows:- The question and the reply.
- The model calls and tool calls, in order, under Execution: the
lookup_ordercall withORD-1001and what it returned, and theload_skillcall that openedacme-returns-policy. On the OpenAI SDK tab the tool calls aren’t rows of their own: select the last model call and open LLM Call, where each Tool message is what a tool returned. - Prompt: where it came from (
decimalai, since the agent has a saved prompt), and the version it ran on. - Recorded skills, three rows:
- Offered: the skills on the menu the model saw. Nine, after Part 3.
- Delivered: the skills whose full text the run received.
- Loaded: the skills the model asked for with
load_skill.
3. See a run that opened nothing
Setquestion to "Hi, what can you do?" and run main.py again. This trace shows nine skills Offered and nothing Loaded. That’s normal: the model opens a skill only when the question calls for one.
Set question back to the kettle refund question.
4. Compare before and after
In Part 3 you changed the fee, and each trace recorded which version it ran on. So you can line up the same question from before and after:- The reply. Open a kettle run from before your edit and one from after: $41.65 and $44.10.
- The skill. On each run’s trace page, Recorded skills lists
acme-returns-policywith its Skill version: the registry’s before you made your copy, your copy’s after. - The prompt. On the Traces tab, the Prompt column shows each run’s prompt version, and its filter shows the runs on one version. On the Prompt & skills page, each saved version links to Traces on this version.
Next: 5. Measure it
Run eight cases through order-support with and without a skill, and compare the counts.