From a WhatsApp message to a dock door
How the pieces fit, who owns each decision, and what a working day looks like for the two people this system serves: the driver on the road and the coordinator at Jaipur DC.
Architecture
One small container, one database, one write path. Language at the edges, deterministic code in the middle. Click any box, or play a trace to watch a real case travel through it.
Five layers, 16 components — one place a model may run
Every component, the technology behind it and the file that holds it. The blue box is the only place a language model may run, and only when the rules cannot read a message; everything else is deterministic code. Purple marks MVP 2.
fixed path — the model never picks the next tool
deterministic Python
One exception, end to end
A promise is made only after one transaction books the slot. Every path either asks one question, escalates with options, or books through one checked transaction. Pick a case to watch its path.
From phone tag to one message
From relaying messages to making decisions
Where the two lives meet
Most driver conversations never touch the coordinator. When they do, it is a hand-off with a deadline, and the answer flows straight back to the driver's WhatsApp.