AIAgent APP
iOS Game
An iPhone guessing game in which an LLM hosts each round and can move the map only through a tool call authorized by Google Sign-In
Overview
This project implements Where on the Map?, an iPhone guessing game in which a large language model acts as the host. The LLM secretly picks a city, records it on the phone through a tool call, and streams clues into the app, while the player types free-form guesses that the LLM judges.
When a guess is correct, the LLM must call a second tool to move the map to the city. That tool works only with a valid authorization ticket, which the phone obtains through Google Sign-In and a server-side token check, and keeps in the Keychain behind Face ID. The goal was a minimal, reproducible example of an LLM agent whose actions on a user’s device are gated by real user authorization.