Porting antirez's YouRec with AI agents: out of tokens in 24 hours
The report after about a day of porting YouRec to Android. I had seen antirez’s story on Instagram and thought: let’s put the agents to work. Fable started from the Swift code of the iOS app and did the port from there.
From one agent to a team of agents
I started with a single agent. Then I split it in two: one kept developing, the other handled the releases on the Play Store. Then I tried putting a coordinator on top, telling the developer to develop and the publisher to publish.
The next morning I added a fourth agent to review the public repo: if a PR comes in, it compares it with the specs and decides whether to merge it or ask for changes.
Too much stuff
The coordinator burned tokens and wasn’t needed: the developer could just talk directly to the publisher. The reviewer I couldn’t even test, because nobody opened a PR. That one probably did make sense.
Out of tokens in 24 hours
The result: in about 24 hours I used up all the tokens of an account, including the two resets I had. A ton of tokens, and largely wasted, because nothing was optimized.
The reason is simple: I spent very little time at the computer. A bit at night to set up the work and make a few decisions, then the agents went on their own. Every now and then I checked on them from my phone with herdr, but I didn’t really supervise.
The result: half an app, but it works
The implementation is roughly 50% done. The very first version already worked: cameras, microphone switching, recording. I don’t use editing on the phone: I download the videos to my computer and a script with Claude does the cut, the short and the subtitles. But once Takes is finished you’ll be able to do everything from the phone, rough cuts included.
What I learned
If you want to save tokens you have to stay at the computer. “Port this app from iOS to Android” hides a lot of choices, and someone has to sit down and make them. I did that at the beginning and the result was good, but if you haven’t touched Android in years (I was an Android developer ten years ago, before Kotlin existed) it takes more time: deeper plans and targeted iterations.
You read a lot about big rewrites done with agents, but just telling them “do a big rewrite” isn’t enough.
Takes is open source
My Android version is called Takes, the code is MIT licensed and I have no interest in commercializing it. If you’re a good Android developer, contribute or tell me it sucks, under the video.
Links
- Takes on the Play Store: https://play.google.com/store/apps/details?id=app.takes
- Takes source code: https://github.com/baldarn/takes-app
- Original YouRec: https://github.com/antirez/YouRecApp