Skip to content
latentSource

ReActReel

A movie and music search agent that turns a remembered line into a playable video, with the tool calls visible beside the result.

Next.js · FastAPI · Gemini · ReAct

ReActReel

How the pieces connect

Engineering brief

Problem
Identify a movie scene or song from an incomplete memory and return a playable result.
My contribution
Built a Gemini ReAct application with streamed tool events, media search, timestamp lookup, and an embedded player.
Key decision
Expose the tool trace and evaluate identification separately from successful playback.
Result & evidence
The narrated demo follows two complete searches and plays the returned videos at their selected starting times.
Limitations
Two recorded searches demonstrate behavior, not an accuracy benchmark. Search and playback depend on external media availability.

What it does

Choose movie or music mode and describe what you remember. The agent searches, identifies a candidate, and can locate the phrase within the video. Quick mode skips timestamp lookup.

The narrated recording follows two complete searches and plays the results inside the app. It shows how the tools lead to a video and a starting time.

How it is built

The technical post explains the agent loop, streamed events, timestamp lookup, and how I separate a correct identification from a working playback result.

Find that scene or song