AI-Powered Outfit Planner
Three AI agents that dress you from your own wardrobe.
Photograph a piece and it is cut out and tagged. Pick an occasion and two models build and review an outfit from what you own. Then see it on your own photo.
You tap Work
Sample data · step 1 of 5
Comes in
Occasion
Picked in the app
Wardrobe
Pieces tagged by Agent 1
Body photo
Used only for try-on
Outfit · Work
One request to the Stylist agent
- Occasion
- Work
- Precheck
- Stylist
- Checker
- App
Shows up in
Today's outfit
Streamed to the phone
Try-on
Agent 3, on request
Saved outfits
Kept if a piece is deleted
tapYou pick Work
3
AI agents, each its own service and deploy
61
automated tests, run before every deploy
0
Gemini calls when no outfit is possible
120s
hard ceiling on any tap, end to end
1
alert email per problem per hour, no more
- Product
- Wardrobe and outfit app for all genders
- Platforms
- iOS, Android and web, one Expo codebase
- What we did
- Three AI agents, image pipeline, backend, app wiring, CI/CD
- Models
- Gemini 3.8 Flash, Gemini 3 Pro Image, SAM 3
- Status
- Agents live in production, app in pre-launch
- Year
- 2026
Where the AI sits
Five taps, three agents.
Every step the user takes hands off to a different part of the system. None of them makes the user wait on another.
- 01 · App + SAM 3
Scan
Photo of one piece. The background-removal function asks SAM 3 for "clothing", then "shoes", and crops the cut-out.
- 02 · Agent 1
Tag
A database webhook fires on the new row. Gemini Flash returns name, category, colour, fabric and occasions as strict JSON.
- 03 · Agent 2
Style
The user picks an occasion. A Stylist and a Checker build and review outfits from that user's tagged pieces.
- 04 · Agent 3
Try on
Body photo plus the outfit's pieces go to Gemini 3 Pro Image. A second model checks it is still the same person.
- 05 · Supabase
Save
Saved outfits keep a copy of each piece, so they still show if a piece is later deleted.
Agent 2 · Stylist
One model styles. Another one checks.
A LangGraph state graph with a reflection loop. Pick a scenario and step through it: the nodes, the fix notes and the events are the ones the real server sends.
Occasion dinner · 7 tagged pieces
step 1/5 · model calls 0
- Precheckcode
- StylistGemini Flash
- Guardrailcode
- CheckerGemini Flash
- Endto the app
Plain code · free
Can any outfit be made?
A dress on its own, or a top plus a bottom. Seven dinner pieces, both exist, so the items go to Gemini.
POST /style · text/event-stream
- waiting…
Sample wardrobe, as Agent 1 tagged it
- 3f1aIvory silk blousetop
- 8b2cBlack knit sweatertop
- c47eNavy tailored trousersbottom
- d903Dark wash jeansbottom
- e15bEmerald wrap dressdress
- a6d0Brown leather loafersshoes
- f2e8White ballet flatsshoes
Stylist proposes, Guardrail and Checker agree. Two model calls.
75s
per node, so one stuck step can't hang the loop
~560
tokens per photo, at medium media resolution
1.0
temperature, Google's default for Gemini 3. Lower can loop
Agent 1 · Tagger
A photo in, a catalogue entry out.
The scan screen never waits for the model. The piece is saved, a webhook wakes the Tagger, and the wardrobe refreshes itself while it works.
01
Photo
The app sends one photo as a data URL, up to about 4 MB.
02
SAM 3
Segment "clothing". If nothing is found, try "shoes".
03
Cut-out
Trim the ragged edge, reject masks under 1% of the frame, crop with a 2% margin.
04
Insert
The app saves the PNG to its private folder and inserts a pieces row.
05
Webhook
Supabase calls /tag. The server replies at once and tags in the background.
06
Gemini Flash
Temperature 0, one fixed vocabulary, answer validated against a schema.
{
"name": "Navy cotton shirt",
"category": "top",
"colour_family": "Navy",
"colour_name": "Midnight navy",
"colour_hex": "#1F2A44",
"fabric": "Cotton",
"occasions": ["meeting", "dinner"]
}- category
- top, bottom, shoes, dress, scarf, coat, jacket
- colour_family
- 19 families, from Black to Purple
- fabric
- 12 fabrics, plus Other
- occasions
- wedding, formal, meeting, dinner, casual
Agent 3 · Try-on
Change the clothes. Keep the person.
Gemini 3 Pro Image dresses the user's own full-body photo in the outfit, at 2K. A second, cheaper model compares the result with the original before the user ever sees it.
The image model is told to keep exactly
- face
- expression
- hair
- skin tone
- body shape
- height
- pose
- hands
- background
- lighting
- camera angle
and to layer from the inside out
- top→
- bottom or dress→
- jacket or coat→
- scarf→
- shoes
The Checker fails the image if any of these is off
1Same person
Face, hair, skin tone and body shape match the original. The most important check.
2Must-haves worn
The given top and bottom, or the given one-piece.
3Layers in order
A jacket over the top, never instead of it. A scarf on top. Shoes on the feet.
4Items look right
Real colour, pattern, print and details, like buttons and logos.
5Nothing extra
No piece that wasn't given. A missing optional extra is not a fail.
6Realistic
No extra or missing fingers, no melted or blurry parts, a natural fit.
The worst case still fits.
First image, a check, one fix, a second check. Typical times from the agent's own budget. If both checks fail, the last image is shown anyway, marked as an AI preview.
90s per step · 120s per tap
The product
The AI stays behind the glass.
No model names and no retries on screen. Just your clothes and an outfit. The app's design and its waitlist page.


Today's outfit
The pre-launch page, designed in the brand kit.
Visual language
Calm clothes, one blue.
A soft neutral ground so the clothes carry the colour, and one blue for every action.
Outfit Planner
Ink
#111612
Blue
#2E3FF2
Muted
#62695F
Base
#EDEEE9
Card
#F8F8F5
Tint
#E1E5F2
Your wardrobe. A fresh way to wear it.
Plus Jakarta Sans, from the brand kit.
Built with
AI
- LangGraph
- LangChain
- Gemini 3.8 Flash
- Gemini 3 Pro Image
- SAM 3 (fal)
- LangSmith
- Pydantic
Backend
- Python
- FastAPI
- Server-Sent Events
- Supabase
- Postgres
- Deno
- Docker
- GitHub Actions
App
- Expo
- React Native
- TypeScript
- expo-router
- NativeWind
- TanStack Query
Next case study
NZ LeadGen
New Zealand businesses, ranked by need
Have a product that needs AI it can trust?
Tell us what the model should decide and what it must never get wrong. We will design the checks around it.
