Skip to Main Content

DarFlow Agent — an AI agent that runs the WhatsApp front desk and the expense back-office of a small Moroccan riad, built on Meta's Muse models. Pre-existing: DarFlow, my riad management software (closed source, not in the repo). Built this week: DarFlow Agent (everything in the repo), its WhatsApp agents and the small importer added to DarFlow (copied in darflow-importer/ for review). Timeline in the README; asked the organizers in #questions. The problem: Morocco has thousands of riads run by one manager and a few staff. Guests write on WhatsApp in every language at every hour, and expenses arrive as paper bills or are said out loud in Darija. I'm the manager of a riad: this is my daily life. DarFlow Agent handles both on one WhatsApp number: • Guest concierge: answers in the guest's language (Spanish, German, French, English, Darija in Latin letters), books dinner, records arrival times and transfers, resends the check-in link through tool calls, handles voice notes, and hands off prices, discounts and complaints to the manager instead of inventing answers. • Expense back-office: staff send a photo or a Darija voice note. SAM 3.1 finds and crops every sheet of paper in the photo, Muse Spark reads each crop (strict JSON schema) and re-checks the arithmetic and VAT, a deterministic policy flags duplicates, quotes, fakes and revenue documents. The manager replies "OK" and the expense lands in DarFlow, the riad's real software, through its own business rules. • Morning brief (added 1 Nov): every day at 08:00 the agent reviews the riad's day on its own, sends the manager one WhatsApp message (urgent / today / good to know) and proposes actions; the manager answers "1" or "tout" and the agent writes to each guest in their language. Facts and actions are built by code; Muse Spark ranks and phrases them; code checks every line against its fact. Design principle: the model reads and talks; the code enforces (3 h dinner notice, a guest only sees their own booking, fakes and quotes are never booked). Results: guest agent 21/21 live scenarios (incl. prompt injection, privacy probes, cancellation and complaint hand-offs, Darija in Arabic script); morning brief 3/3 live runs with 0 lines needing correction; documents 6/6 on real phone photos (incl. catching a supplier's VAT error); guardrail tests 16/16; DarFlow's full suite passes with the importer (248 tests).

Team

Zakariachirah

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