TapinYour learning

Medium · Who owns what, and one door for model calls

Write down what each agent must not do

Milo splits his work into four agents: a coordinator, a stock agent, an order agent and a notice agent. The stock agent now only counts; the order agent keeps place_order. Where a job has a gap, the model does whatever seems the natural next step. So each agent needs its job in one sentence, a must-not list, who gives it work and who it passes to. Its fixed rules sit in their own list, apart from its working steps, so a fixed rule wins any clash.

Video coming

Example

Maple Mart, a closed Sunday the dairy was shut, so the order agent tried a farm shop Milo has never used Order agent job keep the dairy shelf stocked must-not never buys from a supplier off Milo’s list fixed rules never more than 40 cases; never on a closed day steps 1 check stock 2 work out cases 3 call place_order

Try it Yourself

Write one line for the order agent’s must-not list.

Exercise

Step 2 works out 55 cases of milk. The fixed rule says never more than 40. What does the order agent do?

Project: Plan one weekly job at Maple Mart
Project: Wire Maple Mart’s reorder agent, from the tool to the gateway
Project: Make Maple Mart’s order agent production-ready