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 the model to copy. Give it the source code, a simulator (a virtual phone on the computer) and the working app. When something is off, describe how the original behaves and ask it to match.
Theo's current stance
Theo finds that with a working reference the agent gets close to perfect, and it almost always fixes issues on the first try. On T3 Code mobile 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 the new version misbehaves, describe how the old version handles it and ask the agent to mirror that.
- Periodically ask it to pull in changes from the main app to keep the port current.
First seen
27:03
largely copied from. 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. My honest guess here is
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. An hour passes updated and
27:03
largely copied from. 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.