- Before
- Knows exactly how freight should be counted but cannot write the code, so each new question became a ticket.
- Now
- Builds the agent in a conversation, fixes a failing test in one sentence, and confirms each skill before it goes live.
A freight cost agent built and tested in one conversation
Monday, 10:31. A supply chain analyst at a medical device maker needs an agent that answers freight cost questions. Before the builder, a new request waited a median 31 days for engineering. Here is what happens next in the working solution, screen by screen.
A worked example on sample data. Names, IDs and figures on the screens and in this section come from the demo.
- 0110:31
The analyst describes the agent in their own words
Supply chain analystThe Build screen shows a conversation on the left and an empty agent on the right. The agent has slots for purpose, data, rules, skills and the test board. The analyst types what people keep asking. What do we spend, with which carrier, and per unit on each lane? How much goes on expedited freight? Below are agents built here before: Returns in 15 minutes, Warehouse capacity in 11, Expiry & short-dated stock in 12 and Supplier delivery in 17.
Agent Builder: “I'll find the data, write down your rules, draft its skills and test every one against figures you already trust.”
- 0210:33
It searches the warehouse and proposes the tables
Agent BuilderThe builder searches the supply chain data warehouse, read-only, and finds 8 tables that look related. It highlights the likely six. They are freight_invoices with 1.1M rows, shipment_lines with 96.3M, carriers, sites, customer_accounts and fx_month_end. It asks how they join and which figures the analyst already trusts. On the right, the agent now has a name and three questions it will answer.
- 0310:36
The analyst names the links and the reports to test against
Supply chain analystThe analyst names the join keys, the columns that link one table to another. They say expedited means air or courier, and point to last month's freight report and the quarterly lane review. The builder checks all 5 join keys against the warehouse and writes down 4 rules. It takes 9 test questions from the last two monthly freight reports and the quarterly lane cost review. The finance data steward signed those freight reports at month-end close.
“A shipment has many lines, so I sum lines per shipment first. Otherwise spend would repeat once per line.”
- 0410:38
Three skills drafted, nine tests run, two fail
Skill TesterOne click drafts three skills: spend by carrier, cost per unit by lane, and expedited spend. Each skill is a question with the query that answers it. All nine tests then run live and read-only. Seven pass. Last month's spend comes out at $2,412,300 against $2,291,800 in the report. The expedited share comes out at 17.1% against 18.0%. The Skill Tester finds one cause for both.
“The $120,500 gap is 118 voided invoices from one carrier that were re-billed in the same month, counted twice.”
- 0510:42
One sentence fixes it, then each skill is confirmed
Supply chain analystThe analyst writes one sentence: “Yes, leave out voided invoices (status VOID). They were re-billed.” The builder adds the rule to all three skills and runs the tests again. Nine of nine pass. Spend is $2,291,800 and the expedited share is 18.0%, matching the report. Each skill shows its test questions, expected figures, sources and answers. A failing test would block Confirm. The analyst confirms all three, and each is stamped with a name and the time.
The Skill Tester cannot change an expected figure or mark a failing test as passed.
- 0610:45 · live
Live in 14 minutes, with no deployment step
Supply chain assistantGo live saves version 1.0, with its instructions, 5 rules, 3 verified skills and 9 tests. It adds the agent to the supply chain assistant, which sends each question to the right agent. Three probe questions go where expected. One carrier's spend (match 0.94) and the air freight share (0.91) go to Freight cost. The least on-time carrier (0.89) stays with Shipments & carriers.
“Freight cost agent is live, built in 14 minutes.”
- 0710:46
The first live question, answered from a verified skill
Supply chain assistantThe analyst asks the way colleagues will. What did a unit cost to move on one lane last month? The assistant sends it to Freight cost (match 0.95) and answers $0.84 per unit. That is $351,900 of freight across 418,900 units on 1,912 shipments, split by carrier. A note adds that courier is 10% of units but 24% of the lane's spend.
- 08One click
The query behind the number, open to read
Supply chain analyst“See the query” opens the exact query that ran (read-only, 1.2 s, 46 lanes). The lines that produced the figure are highlighted, including the new VOID rule. Below it are the skill's three test questions and their sources. Customer contact columns are hidden from all answers.
“Highlighted: the lines that produced the cited number.”
- 09From now on
An agent page anyone can try, with its history
Supply chain analystFreight cost now has its own page. It lists 6 tables and 5 join keys, and the rules it follows from the build conversation. It has a Try it box and its versions. They run from the v0.1 draft at 10:31 to v1.0 live, with 3 skills confirmed and 9 of 9 tests passing. Each night its tests run again.