Inspiration

As AI becomes more relevant in our daily lives, our team has been increasingly interested in philosophical questions about autonomy, morality, and most importantly, human agency. Our project was inspired by Nick Schuster and Seth Lazar's Attention, Moral Skill, and Algorithmic Recommendation. In this paper they argue that judiciously deciding what deserves our attention is a moral skill and is weakened by recommendation algorithms. They propose AI agents as "attention guardians" which help agents focus their attention on their values while developing their ability to make those judgments independently. We were inspired by the authors attention guardian as a solution for this problem, and set out to turn it into reality and make an agent even better than the one proposed in the paper, leading us to create IRIS. Instead of allowing Instagram algorithms to determine what users should care about through their feeds, IRIS protects their attention and collaborates with the user to understand their values, ultimately empowering the user to come to decisions on what deserves their focus. Algorithms are incredibly important to our lives and will be here forever. We simply want to reimagine our relationships with them. Instead of deskilling ourselves with algorithms, what if we used them to assist us in becoming better at directing our attention? Additionally, the name of our project, IRIS, comes from the 20th century philosopher Iris Murdoch, whose ideas around attention as a moral practice heavily influenced how philosophers understood what it meant to be a good person.

What it does

Iris is an iOS companion that helps you notice what your short-form feed is actually doing to you, measured against what you said you wanted from it.

  • You tell it what matters. In a short chat, Iris asks what kinds of content you want more of and less of, then writes that up as a set of values. Nothing is saved until you approve the wording.
  • It watches alongside you. When you start a session, Iris records your screen while you scroll reels. It samples frames and transcribes the reel audio on-device, then judges each reel against your approved values as aligned, neutral or in conflict.
  • It checks in, it doesn't block. Iris never removes or hides a reel. At checkpoints you choose, it sends a notification with the share of flagged reels, why they were flagged, and a suggested next step such as a 60-second reset.
  • It shows you the pattern. The home screen shows flagged, unflagged and watched counts for the latest session, and the statistics tab charts your last seven sessions.
  • It learns only with your say-so. After a session, Iris reviews your feedback and proposes changes to your values as cards you can approve, edit or reject.

How we built it

Iris is a SwiftUI iOS app talking to a Python backend over a REST API.

  • iOS app: SwiftUI, with a ReplayKit broadcast extension that captures the screen while you are in another app. Frames are sampled and reel audio is transcribed on-device with Apple's Speech framework before anything is uploaded. The interface uses a Core Animation backdrop, a vector eye that opens when recording starts and closes when it stops, and a Liquid Glass app icon built in Icon Composer.
  • Backend: one FastAPI server hosting all three agents, with PostgreSQL (Tiger Data, with pgvector) as the shared memory.
  • Models: Gemini for the Guardian and Reflector, built on LangGraph and deepagents; Gemini or Grok for the Judge, selectable by configuration.

In order for our final application to not only store information captured in temporary memory, but also process the information, convert it to actionable data, and store that in persistent memory, we needed to divide responsibility amongst three main agents.

The Guardian

The Guardian is perhaps the most sociable of the three agents within our app's workflow and functionality. Through interacting with users, asking about what types of short-form content they want to consume and what they dislike, the Guardian (informally inheriting the namesake of our application) generates a "user profile" that is stored in persistent memory, allowing for comparison with the content that the user views. This profile generation is the starting point for the guidance of content that our software creates and facilitates while users view content.

The Judge

Largely working behind the scenes, the Judge is responsible for taking the collection of specially filtered captures of short-form content and the generated "user profile" and coming up with a "verdict" on whether the content within the reel is something the user wants to see. This is then stored within a database to provide the user with statistics regarding the number of "congruent" and "divergent" short-form videos viewed. Cases that are arbitrated by the Judge do not result in a direct removal of the reel. Instead, guiding suggestions in the form of periodic checkpoint notifications alert the user to the ratio of good to bad videos consumed.

The Reflector

The Reflector serves as analyst, messenger, and bookkeeper for the user profiles; after each session concludes, it begins its research into understanding how to update your profile. However, instead of inferring directly from the videos you watch, it collects information from the feedback you give to the Guardian, the various verdicts of the Judge, and the personal preferences that you explicitly define to the application upon first launch. Through this intensive bookkeeping process, and with explicit permission from the user to do so, the Reflector takes a seat after each session and "reflects" on what happened in the session, to better understand how to make your experience as peaceful as possible by providing avenues of proactive moderation. You (yes, you), the user, make every decision as it relates to your content. Our infrastructure just gives you more agency in making those decisions.

Challenges we ran into

Linking the Guardian, Judge, and Reflector agents' functionality together

Each agent was built by a different teammate, so the hard part was agreeing on what they share. We settled on one rule: the agents never call each other directly. They read and write the same database, and each one owns its own tables. The Judge reads your approved values but can never change them; only the Guardian and Reflector can propose changes, and only you can approve them. Getting three codebases onto one server, one database and one set of user IDs took longer than building any single agent.

Capturing reels from another app

iOS only lets an app see another app's screen through a broadcast extension, which runs as a separate process with a tight memory limit. We had to sample frames sparingly, detect where one reel ends and the next begins, and pass results back to the main app through a shared container.

Keeping the model honest

Text and speech inside a reel are untrusted, and a reel can contain words that look like instructions. The Judge treats everything it sees and hears as evidence only, rejects any transcript the model invents when no audio was supplied, and records a failed judgment as a failure instead of quietly calling it neutral.

A review that sometimes ran out of steps

In our evaluation, one of three Reflector runs hit its limit of 25 model calls and was rolled back without proposing anything. We kept the limit, made the rollback clean, and added a retry.

Accomplishments that we're proud of

  • The whole loop works end to end: onboarding chat, value approval, live reel judging, checkpoint notifications, session review and approval cards.
  • You stay in control. No value is ever written or changed without an explicit approval, and nothing is inferred from watch behaviour alone.
  • Measured learning. On 20 held-out reels, the Judge matched a simulated user's labels on 16 with the starting values and on 19 after the Reflector's proposed refinements were approved. Within the pattern the feedback was about, it went from 4 of 8 to 8 of 8. With 20 reels a difference of one or two is noise, and we report every run, including the one that failed.
  • A tested Judge. The Judge backend has 553 passing tests at 96% coverage.
  • Privacy by design. Audio is transcribed on-device, media is processed in memory, and only one sanitized thumbnail per reel is kept.

What we learned

  • Agree on the contract first. Fixing the API and the shared memory layout early is what let three people build three agents in parallel.
  • Explicit feedback beats inference. Example feedback alone barely moved the Judge; a clearly worded value the user approved moved it a lot.
  • Report the failures. Small evaluations are noisy, and writing down every run kept us from over-reading a good one.
  • iOS capture has hard limits. Broadcast extensions, memory ceilings and app-group sharing shaped the design more than any model choice.
  • Nudges need restraint. A check-in that respects your choice is more useful than a block you will work around.

What's next for Iris

  • Real-device testing across more reel formats and a production privacy mode that rejects any unverified upload.
  • More platforms: TikTok and YouTube Shorts alongside Instagram.
  • Smarter feedback matching: finding the most similar past feedback by meaning instead of the most recent.
  • Themes and moods: the Life and Tranquility looks as selectable app themes, with the eye and backdrop reacting to how a session is going.
  • Longer-term insight: weekly trends, and goals you can set and track over

Built With

Share this project:

Updates

Submission history