Medium · Who does what, and one door for every model call
One door for every model call
Every agent decision is a call to a model, and at Maple Mart they add up. An AI gateway is one shared door that every call goes through. It checks who is asking and how much budget is left, picks the model, and keeps a receipt. It can switch to another model provider when one is down, and hide a card number first.
Example
Maple Mart, before every helper calls a model by itself nobody knows which helper used what After: one AI gateway who is asking the order agent budget left yes hide a card number becomes **** model a general model, or another if one is down receipt kept helper, model, time taken
Try it Yourself
The order agent needs a model. Where does it send its request first? Answer in a sentence.
Exercise
Every call goes through one AI gateway. What must Milo take care of?