Skip to Main Content

Count Before You Post is a verification gate between AI agents and the ERP. An agent can read a delivery note and post a goods receipt in seconds, but if the note is wrong, stock, invoice matching and replenishment go wrong with it. On our dock nothing is written until the delivery note, the camera (SAM 3.1 and Muse Spark, carton by carton), the receiver's voice (Muse Voice Transcribe) and a second model (Muse Spark Open) agree. Kapı, the gate, is plain code inside post_goods_receipt, the only tool that writes the receipt: the agent cannot skip it, and asking to post isn't permission. Green posts; red blocks and Muse Wonder drafts the supplier dispute; amber stops the run until Şef, the human supervisor, signs off in ERPNext. Results (recorded runs, all in the repo): on the rendered dock 24/24 gate decisions right across 6 cases × 4 languages (TR/EN/DE/ZH) and 0 wrong receipts behind the gate; in a real ERPNext (local test instance) 12/12 receipts against a purchase order, and a second delivery on that order stopped; Muse Code, Meta's own agent, working the dock through the gate's MCP server: 5 sessions, 5 refused writes, 0 receipts; Wonder caught 36/36 deliberately altered readings. We publish what is still hard too: on 30 real public carton photos SAM counted 12/30 and Spark 17/30 exactly. Please consider us for the bonus prizes: Best Agentic Use-Case (an agent that writes ERP receipts, behind a gate it cannot skip, with human sign-off), Best Creative (the whole cast was drawn with Muse Image from my concept; Muse Wonder writes the dock's paperwork), Open-weight (Muse Spark Open on Baseten as the independent second reader; Muse Glimmer measured as well), and Most Viral (X post linked above). Everything in this repository was written during the hackathon. The idea comes from my SAP internship and from GlovesOn, my earlier hands-free voice agent for SAP goods receipts; no code from it is used here.

Team

More from Meta Global AI Developer Hackathon

Cardo turns the world around you into Kurdish flashcards. Kurdish is spoken by tens of millions of people, but it has very few learning tools, and most…

Kurdolingo project preview

oqed is an LLM-guided superoptimizer for x86-64. You point it at a C or C++ project and it does the rest: - builds the project and runs its workload…

oqed project preview

Playtest Agent plays a game from screenshots, looks for bugs, then replays each report and has a judge check it. I make games alone. Solo developers and…

Adrian project preview

Open-source npm malware detection on Meta's models: a live monitor that flags new malware about a day before the public lists, a Muse agent that investigates…

Gatekeeper project preview

Video2URDF turns one short phone video of a real articulated object (a laptop lid, a drawer, a desk lamp, a microwave door) into a measured URDF/MJCF a robot…

Video2URDF project preview

Glimmer Scope opens up Muse Glimmer 30B so you can see and steer the concepts it thinks with. I trained sparse autoencoders on nine layers of Glimmer's…

Kroonen AI project preview