# Quack

- **Event:** [Meta Global AI Developer Hackathon](https://cerebralvalley.ai/e/meta-ai-developer-hackathon)
- **When:** Oct 26, 12:00 PM – Nov 4, 9:00 PM (EST)
- **Where:** Online
- **Team:** [Brendan Lim](https://cerebralvalley.ai/u/brendanlim)
- **GitHub:** https://github.com/Brendan-Lim/Quack
- **Demo video:** https://youtu.be/FAwtdp2A0Fg
- **Gallery:** https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery
- **Page:** https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/2722

**Quack — Your Little Maths Companion 🐤**

While giving private tuition, I noticed a problem that kept coming up.

My students would understand a concept when we worked through questions together, but struggle again when doing homework on their own. They often told me that when they made a mistake halfway through a question, there was nobody to point it out. They would carry that mistake through the rest of their working, sometimes spending several minutes on a solution that had already gone wrong.

By the next tuition session, the mistake had already become a habit.

I wanted to bring one of the most valuable parts of having a tutor beside you into the moments when students practise independently: **someone noticing where your working went wrong, while you still have the chance to fix it.**

That's why I built Quack.

**Quack is an AI-powered, handwriting-first maths companion** designed to support students as they work through questions on their own. Instead of typing questions into a chatbot or uploading completed homework, students write mathematics naturally on a digital notebook, just as they would in school.

Quack follows their working, identifies supported mistakes as they arise, and gently points them out. It offers Socratic hints rather than immediately revealing the answer, giving students the chance to understand and correct their own mistakes.

The experience centres around two modes:

- **My Notebook:** Students bring their own homework questions, write freely, receive feedback on their working and revisit mistakes they've corrected.
- **Learn with Quack:** Guided lessons across six mathematical paths, with handwritten exercises, mastery progression and follow-up questions targeting verified misconceptions.

**The engineering challenge is making that feedback trustworthy.**

Meta Muse Spark 1.3 interprets handwritten mathematics through multimodal AI. Quack reconciles independent model readings before passing the recognised expressions to a restricted parser and deterministic SymPy verifier.

The model reads the handwriting; it doesn't get to decide whether the maths is correct.

When handwriting is ambiguous, Quack can ask for clarification rather than incorrectly telling a student they've made a mistake.

Verified corrections are recorded and used to select targeted practice. If a student repeatedly forgets variables in algebra, for example, Quack can follow up with questions addressing that specific misunderstanding.

I built Quack end to end using Next.js, TypeScript, Python, FastAPI, Meta Model API, SymPy, Supabase, Modal and Vercel. The publicly deployed application supports live handwriting recognition, authenticated accounts and saved learning progress.

**I don't want Quack to replace teachers. I want students to have better support during all the hours when their teachers and tutors aren't beside them.**

**Try Quack:** https://quack-amber-seven.vercel.app/

**GitHub:** https://github.com/Brendan-Lim/Quack

## More from Meta Global AI Developer Hackathon

- [Barghest](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/2719)
- [ActCheck](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/2720)
- [Violet Sky Security](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/2721)
- [Aurora](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/2723)
- [Prasanna Sharma](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/2724)
- [DAFE Trading Systems](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/2725)

---

Markdown version of https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/2722. Site index for agents: https://cerebralvalley.ai/llms.txt · full text: https://cerebralvalley.ai/llms-full.txt
