Agent app port using the original app as reference
Workflow
Have a coding agent rebuild an app on another platform, using the original app as its reference. It gets the original source code, a simulator (a virtual phone on your computer) and the working app to copy. When something is off, you point it at how the original behaves.
Theo's current stance
Theo finds that with a working reference the agent gets close to perfect. When told what's wrong, it almost always fixes it on the first try. On his T3 Code mobile port, this fixed almost every bug.
Try it
- Give your agent the existing app's source and a simulator, and ask it to rebuild one screen natively to match.
- When something misbehaves, describe how the old version handles it and tell the agent to mirror that.
- Periodically ask it to pull in changes from the main app to keep the port up to date.
First seen
27:03
And from that I'm usually able to steer it in the right direction. I've only had one or two bugs where I couldn't just say here's how it works in the other place. Mirror that here and it wasn't enough to solve it.
Every mention
48:11
Shopify experienced, that if you give an agent a simulator, some source code, and a clear existing implementation of how this thing should work, it usually can get a pretty close to perfect rendition. And if it fails and you tell it what it got wrong, it will fix it first try almost always.
49:31
Any other changes on main that are worth pulling in? make sure we keep the app up to date with any improvements that we make to the React Native app in the wire protocol for how we actually get data to the client.
27:03
And from that I'm usually able to steer it in the right direction. I've only had one or two bugs where I couldn't just say here's how it works in the other place. Mirror that here and it wasn't enough to solve it.
Theo Daily is unofficial and not affiliated with Theo or t3.gg. Written by Claude Opus 5.5 from each video's transcript.