HOW THE CAFE THINKS
You talk. A program turns your words into text, an AI decides what to do, small tools change your order, and the answer comes back as speech. Here is every step, with pictures.
1THE BIG PICTURE
Three ways in, one brain in the middle. The red dots are your words travelling. Click any box.
2INSIDE THE BRAIN
The brain is a small flowchart (built with LangGraph). Every time you speak, it starts at START and follows the arrows until END.
3THE TOOLS
The AI can't touch your order directly. It can only ask for one of these three tools, which are plain Python code that always does exactly the same thing. The menu and your current order are simply handed to it, so it never needs a tool just to look.
add_itemsAdds everything you asked for in one go. Understands "bug" means a Bug Fix.
remove_itemTakes something off your order.
place_orderSaves the order and gets the next order number from the counter.
4ONE ORDER, STEP BY STEP
Press PLAY to watch a real order go through, one message at a time.