At a glance

Troy is an AI you text over iMessage that connects USC students to the right person, office or item, then steps back. No app, no website, no sign-up.

Try it: go to texttroy.vercel.app and tap "Text Troy" or scan the QR code. iMessage only for now.

  • Impact and campus relevance: One iMessage number for lost items, free food, broken things in your dorm, USG concerns and rides. Built around USC's own offices: DPS Lost and Found, FMS, USC Housing maintenance and USG.
  • Technical and AI execution: One engine with five steps. Claude reads photos (vision), matches items and checks ownership; code owns every fact. 0 wrong handoffs in 40 test cases, including fraud attempts. 1,074 automated tests.
  • Feasibility and implementation: Works on a real iPhone today. Implementation plan: a 200-student pilot with USG and DPS Lost and Found at about $1.80 per student a month, free for students. Owner: USG with DPS Lost and Found. What it needs: USC email verification, found-item reports and the list of offices to route to.
  • User experience and design: Troy texts like a student, not a support line: lowercase, casual, one to three short bubbles, with a personality students actually reply to. A photo replaces the form, and alerts only go to students close enough to act.

What only Troy does:

  1. iMessage-native. Students text a number they already have. Nothing to download.
  2. Blind ownership check. The owner describes a lost item before seeing any detail of what was found.
  3. Location-scoped alerts. Only students within walking distance get a text, so alerts stay useful.

Inspiration

I built Troy because of one terrible day. The cherry on top was losing my wallet. I retraced every step, asked every staff member and student nearby, and checked lost and found. Nothing.

Three weeks later someone bumped into me, recognized my face and handed it back. I kept thinking about how much sooner and more easily I could have found that person. So the first version of Troy was exactly that: you find something, you text a photo, and the owner gets connected to you right away, safely. Then I saw the same engine could handle a lot more.

USC already has the programs and the people. Students find out by luck. At the opening session, a speaker pointed out that students don't read email. The USG president listed an LAX shuttle, a farmers market, a thrift and funding for student orgs, and most of the room hadn't heard of them. That's the campus relevance problem in one room. The person you need is probably five minutes away. Neither of you knows it.

Lost and found shows the gap best. DPS Lost and Found has no online system. Every other desk, like Leavey, Rec Sports and housing, has its own rules. UCLA has an online lost and found portal; USC doesn't. So when you lose something here, you retrace your steps, ask around and hope.

What it does

You text Troy a photo or a message. He connects you to the right person, office or item, then steps back. USC email verification happens right in the chat.

Every connection runs on one engine with five steps:

  1. Understand. Reads your text or photo and figures out what you need.
  2. Find. Looks for the right person or office by need, time and distance.
  3. Verify. Makes sure it's a real match before anyone is connected.
  4. Connect. Starts the group chat, sends the alert or routes it to the right office.
  5. Follow up. Texts you when something changes, so you never chase anyone.

Six flows run on that engine today:

  • Lost and found. You found AirPods outside Leavey and text a photo. The owner texts what they lost and has to describe the item before seeing anything. Then the finder chooses to meet or drop it at DPS Lost and Found.
  • Free food and stuff. A club texts a photo of leftovers and Troy texts students within a 15-minute walk. They claim with a tap and the count updates live.
  • Broken things. Text a photo of what's broken and Troy routes it to FMS or USC Housing maintenance. He texts you when the status changes.
  • Raise a concern. Troy groups students with the same issue and routes it to the right USG committee. You can put your name on it or stay anonymous.
  • Topics. Follow or create topics like pickup games, extra tickets or rides. Nearby followers get a text when someone posts.
  • Rides. Text "find me people going to LAX." Troy matches you with Trojans leaving around the same time.

The user experience choices behind it:

  • A photo replaces the form. Snap it, send it, done.
  • Location decides who hears about it. Only people close enough to act get a text.
  • Troy connects, then steps back. The offices stay in charge.
  • He sounds like a person and keeps it short. One to three bubbles. Outside a small set of safety lines, nothing he says is scripted.

If you're judging, Troy works a little differently for you. You skip USC verification with a one-tap poll. After each step he adds a short behind-the-scenes note about what the AI just did. And since there are no other users yet, you can ask him to play the other person's side.

What's real right now: the iMessage agent, the privacy gate, USC email verification, photo reading, matching and blind verification, free food alerts with claims, and routing to a staff dashboard all work today. Ride matches, the USG member and the technician are example people until real ones are on it. The link into FMS's and Housing's own work order systems is mocked; reports land on Troy's staff dashboard.

How we built it

I built it solo by directing AI agents. I directed Claude Code and split the work across parallel agents. Each one owned its own files and built against shared contracts I had them write first. After each build, separate reviewer agents had one job: break it. One acted as a scammer, one hunted for conversations that get stuck, and several attacked the privacy gate. Then a fixer applied what they found, each fix with a test.

The AI. Troy runs on two Claude models, each for what it's good at. Claude Sonnet 5.5 handles vision (reading photos), ranking matches and the ownership check, where accuracy matters most. Claude Haiku 5.5 handles understanding everyday messages, where speed matters. The AI call in a reply takes about one second.

Why it needs AI. Ten years ago, this would have been another form nobody fills out. Troy reads a photo instead of a form, understands messy texts like "lost my wallet near leavey," and checks an owner's description against a photo they never saw. That's what lets one text replace the form, the email and the group chat post.

Code owns the facts, the AI owns the wording. Pickup codes, counts, walking times, verification results, office names and links all come from code. The model only decides how to say it. It works from three plain-English files: who Troy is, what he knows about himself and what his job is. Anyone can edit those files without touching code.

It keeps working when the AI is down. If the AI can't score an ownership claim, the finder decides. The rules-only fallback also has zero wrong handoffs.

The stack. Node and TypeScript running directly with no build step, SQLite for storage, iMessage through BlueBubbles on a Mac, Resend for USC email codes and a static landing page on Vercel.

A messaging layer that doesn't care about the provider. There's one interface and one file per provider. The same engine runs in a browser simulator for testing and on real iMessage. Moving to a hosted iMessage line for implementation means writing one new adapter, with no rewrite.

The landing page tells a day at USC. The painted campus goes from morning to night while five moments play out, with a gold thread connecting the sections.

Challenges we ran into

Apple wouldn't allow a separate Apple ID for Troy. So he runs on my personal number, which means the messaging tool can see every text I get. The first thing I built was a privacy gate: every message is checked against an allow-list before it's saved, read by the AI or answered, and everything else is ignored completely. Reviewer agents attacked it and found real holes. An existing contact could have opted in just by typing "hey troy," and international numbers were being treated as US numbers. Both were fixed before any real text went through.

The fallback could hand an item to the wrong person. My first rules-only verifier scored 28 of 40 with 7 wrong handoffs. It passed on one generic word like "case" and ignored contradictions. I rebuilt it to fail safe, and when the AI is unavailable, the finder decides. Now there are zero wrong handoffs, with the AI and without it.

A scammer could read Troy's tone. A reviewer found that Troy's first reply changed with how good the match was. Someone could report, cancel and re-report to learn hidden details. Now every claim opens the same way, and every scored description counts as a try.

He sounded like a help menu. Early on, anything off-topic got the same list of features. I turned a red-team run of 175 attempts to break him into 10 principles, and swapped the scripted replies for a brief he reasons from. A critic agent then cut the rules that would have made him stiff.

Live testing kept finding what the tests didn't. On my own phone, Troy went silent after a location share, treated "ok" as the end of a conversation, and once filed a noise complaint with the facilities office without asking. Each one became a rule: never go silent, never leave a new person at a dead end, never file anything without a yes.

iMessage polls and location sharing weren't supported. I had to work them out from how the messages are stored. Polls and location shares arrive as app bubbles with a payload that needed decoding. Native polls and reading a shared location both work now.

Accomplishments that we're proud of

  • 0 wrong handoffs in 40 test cases, including look-alike items and fraud attempts.
  • 1,074 automated tests, plus a rehearsal test of the exact demo that runs on every build.
  • 175 red-team attempts turned into 10 principles and a test set.
  • A privacy gate that held through every live test on a personal phone number.
  • It works on a real iPhone today. Text the number and Troy answers.
  • 6 kinds of connection already run on one engine.
  • Troy has a voice. He's brief on purpose, and people testing him kept talking to him.

What we learned

  • Write the shared contracts first. Splitting work across agents only works once those exist. The bottleneck was never code. It was testing on a real phone.
  • Tests pass long before a conversation feels right. The biggest improvements came from texting Troy myself.
  • For anything involving trust, lock the facts and free the wording. When I scripted everything, he felt like a bot.
  • Give someone the job of attacking. A review agent whose only job is to break things finds what a builder won't.
  • Students don't need another app. The hard part of campus services is reaching people, and a text does that.

What's next for Troy

Nobody at USC has been told about Troy yet, and he isn't an official USC service. He's a student prototype I hope USC picks up. Here's my implementation plan.

  • A pilot with 200 students, USG and one office. DPS Lost and Found is the natural first partner. Student Basic Needs already runs Tommy's Table for surplus food, and Troy could partner with it.
  • Who runs it and what it needs. USG and DPS Lost and Found would own it. Troy needs USC email verification, found-item reports and the list of offices to route to.
  • A real texting line. A hosted iMessage line costs about $1.80 per student a month all in, or dedicated Mac minis run a cheaper pilot. Either way it's free for students. For scale, USC pays about $3.23 per user a month for ChatGPT Edu (Daily Trojan). The texting line is a flat cost, so the per-student cost drops as more students join.
  • Real connections into office systems, replacing the mocked link to FMS and USC Housing.
  • More connections on the same engine. Each one is a new category on the same five steps, not a new app:
    • Ride shares at breaks. "Find me people going to LAX first day of break." Troy matches students leaving around the same time, gets a yes from everyone and opens the group chat. Same for Union Station, concerts and away games.
    • Advice from someone who's been there. "Who took econ 203 with Smith?" Students opt in as helpers with one screenshot of their past classes, and Troy runs a double opt-in intro. No USC records, ever. Same for study partners, project teammates and research labs looking for undergrads.
    • Housing connections. Sublets, room takeovers when someone studies abroad, and roommate matches, between verified USC students only.
    • Share, borrow and hand down. "Anyone have a graphing calculator I can borrow for my exam tomorrow?" Move-out furniture, lab coats and desk lamps go to someone nearby who needs them. Interview clothes route to Tommy's Closet first.
    • Football ticket swaps. A student who can't make the game matches with one who can, and both go through the USC Ticket Office at face value.
    • Pickup games and study buddies nearby, like pickup basketball at the Lyon Center or a study group in Leavey tonight.
    • USG tools. Quick student polls sent as iMessage polls, so USG hears back in a day. Volunteers matched to USG events. And Campus Pulse, an anonymous dashboard of what breaks most, where things get lost and what students can't find.
    • Smaller ideas: Trojan Tags (QR stickers that let a finder message an owner anonymously), bike and scooter theft reports linked to DPS registration, one shared inventory across Leavey, Rec Sports, housing desks and DPS, and part-time jobs near campus once local businesses join.
  • Voice messages, and non-Apple devices.

Built With

Share this project:

Updates

Submission history