Build a phone-scanning exam grader in Replit

A hacker used Replit Agent to ship a mobile web app that grades exam papers from camera images during a 24-hour hackathon.

Done with Replit Agentยท Advanced

What they did
They spent a hackathon building a mobile-friendly web app with Replit Agent. The app let a user take photos of exam papers on a phone, send the images to a server, pass them to the OpenAI API for visual reading, and receive grades back as JSON. When the agent got stuck, they asked it to add comments and console logs, then stepped in to fix the code and data flow by hand.
How it went
The project won the hackathon and earned $10,000. They say it used about $15 in Replit credits and took 22 of the 24 hours. One big setback was AI-written logic that arranged the steps incorrectly, which led to roughly six hours of debugging.
Tips
This kind of build can work fast, but only if you are ready to inspect the code yourself when the agent loops. Ask it to pause before any publishing or paid API setup, and check the order of your data flow early.

Try it yourself with Replit Agent

Help me build a mobile web app in Replit that lets a user photograph [type of document] with a phone camera, upload the images, and have AI [grade/mark] them against [answer key or rubric]. Keep the app simple and make the result come back as JSON with a score and brief per-question feedback. If anything looks irreversible or expensive, stop and ask me before you [publish/send/delete/submit] it or connect any paid API keys. Also add helpful comments and console logs while you work, and tell me when you need me to review the code flow manually.

Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.

Read the original on reddit.com โ†—

Get 3 agent uses like this every morning

With the day's top AI news. Free, and one click to unsubscribe.