Recall: Ambient Memory
I led a four-person team at HackPrinceton 2026 to build Recall, a tiger-shaped ambient device that remembers what happens in a room and answers questions about it without recording video.
HackPrinceton · Princeton, NJ
- Python
- FastAPI
- YOLOv8
- Raspberry Pi
- Next.js
- Three.js
The Challenge
Rooms forget. Where did I leave my keys? Did I take my meds? The space saw all of it, but nobody can ask it. An always-on camera could answer, but almost nobody wants their living room streamed to the cloud. So the question for HackPrinceton 2026 was how to give a room a memory without ever recording or transmitting video. I wanted it to be useful for the cases that matter most, such as medication adherence and elderly memory, and not only a party trick.
I was team lead and owned the backend, the LLM pipeline and the proactive agent, plus the demo script and the Devpost submission. Sunghoo built the computer-vision stack, Jeeyan and Ariji worked on the frontend and hardware, and we all shared the Raspberry Pi and enclosure work. The sprint plan we wrote at the start gave us about 35 hours to submit. The project started life as Rewind and was renamed Recall.
The Design
The central idea is to turn pixels into events at the edge, so nothing downstream ever needs video. A Logitech Brio and a Raspberry Pi 4 sit inside a tiger on a shelf. The Pi does no machine learning and stores nothing; it streams frames as MJPEG over the local network. A laptop runs YOLOv8 with ByteTrack and reduces what it sees to structured events like object placed, object picked up, person entered, and taking pills, each tagged with a room and a surface, such as "bottle placed on the desk in the Living Room". Those go into SQLite. Only short text events ever cross a wire, and the language model reasons over kilobytes of logs, not images.
We first built the vision pipeline to run on the Pi itself. YOLOv8n on the Pi 4's CPU saturated at about 2 fps, which was too slow to catch objects being placed. Moving inference to the laptop's GPU brought it to about 20 to 21 fps, and the privacy rule still held because the stream never leaves the LAN. We kept both modes in one codebase and used the laptop-offload mode for the demo.
For answering questions, K2 Think V2 is the primary model with Claude Opus as automatic failover, then a repair retry for malformed JSON, then a safe fallback that says it did not see that happen. I wanted the demo to keep answering even when a provider hiccuped. For voice we used the laptop's own browser speech APIs for input and ElevenLabs to speak answers. Early on we rejected an Echo Dot or Nest Mini for audio, because using them programmatically meant building Alexa or Google skills and sending voice through those clouds, which would have undercut the privacy pitch. We also skipped a mobile app, since the Next.js dashboard already worked on a phone.
The proactive agent checks the event log against a medication schedule and drafts a warm caregiver text when a dose looks missed. I first wired it to send SMS through Twilio, then removed that: it only drafts, and a person decides whether to send it.
The Build
The backend is Python and FastAPI, with WebSockets that push events to the dashboard and states to the ambient display. Most of my time went into making the question-answering path dependable. K2 is a reasoning model, so it emits scratch JSON before its final answer; I wrote a brace-balanced parser that takes the last block containing an answer field, dropped the JSON response format that its OpenAI-compatible endpoint rejected, and raised the token limit and timeout to tolerate its reasoning. I also translated detector labels into words a person would use at the point where context is assembled, so a COCO "remote" can be described as keys, and turned timestamps into phrases like "earlier today around 10 AM". I added a localhost-only gate on the internal endpoints, a /health check, structured logs, and a demo-mode switch that skips K2 for high-stakes runs.
We planned a small SenseCAP screen as the ambient display, but flashing its firmware was a time risk, so we set a cutoff on Friday night. When it passed, we replaced it with a phone on a stand running a full-screen Next.js route. A Three.js particle cloud of 900 particles morphs through idle, listening, thinking and answer states, driven by the same WebSocket messages the screen would have used. The dashboard is warm and editorial, with a floor plan of rooms and a journal of moments. Much of this was new to me, particularly the computer-vision side and the hardware, which I handled together with teammates.
The Results
We shipped a working privacy-first memory companion and demoed it at HackPrinceton 2026. Ask it "did I take my meds?" and it answers from what it actually saw, and when a scheduled dose is missed, the agent drafts a caregiver text and the display speaks it. The final repository passed our six scenario smoke tests, and we verified the laptop-offload setup end to end on live hardware.
The detector only knows a handful of everyday objects, so we rehearsed the demo around a few of them (a phone, keys, a pill bottle, a water bottle, a book) and kept the claim modest. The code, a demo video and the Devpost page are linked on this page.
What I Learned
- Reducing video to text events at the edge is what makes the whole thing private and shippable — the LLM reasons over kilobytes of structured logs, not pixels.
- A dual-LLM path (K2 primary, Claude failover, safe fallback) kept the demo answering even when a provider hiccupped — reliability is a feature under stage lights.
- The ambient display sold the idea as much as the pipeline did — the particle cloud morphing from "thinking" to "answer" is what made the device feel alive.
Related Links
Let's make something amazing.