Inspiration
Small restaurants still count inventory by hand. At Casa Piada in Greenwich, the manager types it into Excel every day. By their numbers, automating it would save them about $600 a week. They already know when they're running low, but only after someone counts.
What it does
A webcam watches the shelf. Every time a hand reaches in, Restock cuts a short clip and a vision model (Liquid d1) says what was taken and how many. Confident grabs update stock automatically; unsure ones go to the owner for a one-tap check instead of being guessed. When an item drops below par, the owner gets an iMessage: "We're down to 9 Sprite (par 10). Reorder 11 for $11? Reply yes or no." They reply "yes" and it's on order. Every morning they get one text: how yesterday went, what needs their OK, and what to order. Their own Excel sheet, in their own layout, stays current after every change.
How we built it
- Camera: USB webcam on an Arduino UNO Q running OpenCV. Motion inside each shelf box cuts a before / during / after package.
- Vision: Liquid d1 answers narrow questions per grab (emptier or fuller, which item, took or put back, 1 / 2 / 3 / more) with probabilities, so code decides what to trust. YOLO-World double-checks that a hand was really there.
- Ledger: Postgres. All arithmetic in SQL and Python, never by a model.
- Agent: LangChain deepagents with subagents (analyst, clip reviewer, purchasing), human-in-the-loop approval on every order, and memory in Postgres.
- Trust: every text the agent sends is fact-checked by d1 against the ledger before it goes out.
- Messaging: Photon 2.0 iMessage. Dashboard: Streamlit. Excel: openpyxl.
Challenges we ran into
- Only the drinks fridge was filmable; the kitchen was off-limits. So we switched d1 from "pinch / handful" to exact can counts.
- People standing between the camera and the fridge caused most low-confidence grabs. Those now go to the owner, and the camera should be mounted higher.
- d1 is weak at arithmetic, so every number in a text is also checked in code and tied to the right item.
Accomplishments that we're proud of
We ran it live at a real restaurant for 3 hours, and it named the right drink on every real grab.
What we learned
Owners don't want a dashboard; they want one text and a "yes". And a system that flags instead of guessing is the only kind they'll trust.
FDE
On November 14, during the hackathon, we visited Casa Piada, an Italian restaurant in Greenwich, and consulted Filippo Spagnesi (manager, responsible for inventory) and Abel Romero Corbalan (assistant manager). They currently track inventory manually in Excel. We spent about 3 hours on site, setting up a webcam to observe real grabs from their drinks fridge. Supporting photos with the restaurant staff and our setup are included on this project page and in our linked GitHub repository under docs/media.
What's next
The kitchen: bulk ingredients, with the camera mounted above the make line.
Built With
- arduino-uno-q
- d1
- deepagents
- fastapi
- gpt-oss
- imessage
- langchain
- langgraph
- langsmith
- liquid-ai
- node.js
- opencv
- openpyxl
- openrouter
- photon
- postgresql
- python
- streamlit
- typescript
- yolo-world