I have a machine learning engineer in my pocket A writer built Keys, a custom iPhone keyboard trained on eight years of his own writing, using off-the-shelf coding agents Claude Code and OpenAI Codex over four days at a cost of about $50, without writing or reading any of its code. On roughly 1,500 words from newer messages the keyboard never trained on, Keys produced the intended word 96% of the time versus 92% for Apple's keyboard, and it left all 40 words the author deliberately spells his own way unchanged, compared with 11 changed by Apple's keyboard. The author argues agents are cheap enough to justify building a personal tool for one person's typing, with a test bench that scores changes on unseen messages and a guardrail preventing regressions on words he typed correctly. I have a machine learning engineer in my pocket Over four days, I built Keys, an iPhone keyboard trained on eight years of my own writing, without writing or reading a line of its code. Off-the-shelf coding agents Claude Code and OpenAI's Codex wrote the app and trained the models. My job was picking the metric, logging every tap, and designing a test bench they couldn't cheat. On newer messages it never trained on, Keys gets the word I meant 96% of the time, up from 92% on Apple's keyboard. The agents still go over my typing regularly, and when a change passes the tests, one of them installs it on my phone with Apple's developer tools. Nobody would put a human engineer on one guy's slightly annoying typing. Agents are cheap enough that it doesn't matter. Four days of them came to about $50 of the $400 a month I already pay for Claude Max and Codex. Why a keyboard Typing on my phone was fine. Apple's keyboard is a very good general solution. But it doesn't really learn, so I'd see the same kinds of errors over and over. The worst was probably “fuckin” to “ducking”. I have never once in my life meant ducking. None of it is a chatbot. Five small models run right on the phone, weighing where each tap landed against which words I usually write next. Why 92 to 96 is a big deal 92% to 96% sounds small until you count mistakes. Across about 1,500 words from newer messages Keys never trained on, typed into both keyboards in Apple's simulator by the same simulated thumb, typos included, Apple's keyboard gets about 8 words in 100 wrong and Keys gets about 4. A typical text of mine is six words. At those rates, I'd expect about 2 in 5 six-word texts to need fixing with Apple's keyboard, and 1 in 5 with Keys. 1 n1 Figure 2 · Estimated chance a message comes out with every word right Two caveats. Apple's keyboard ran fresh, without the words my own phone has learned over the years, so it might do a little better in real life. And on other people's typos from a public study, the two tie. So Keys wins on how I write, not on typos in general. Keys also stopped fighting me. Of 40 words I spell my own way on purpose, Apple's keyboard changed 11 and Keys changed none. That's not just a fresh-install problem. Years in, my own phone was still turning fuckin into ducking. At some point I forgot it wasn't Apple's keyboard. What the tap logs caught The best call I made was giving the agents detailed logs of how I use my phone, down to where every tap landed. My everyday phone is a folding iPhone, and its outer screen is tiny. I mentioned that taps near the edges of the keyboard didn't seem to register. The logs showed that of 225 taps on the outer screen that day, not one had landed between keys. Nobody aims that well. An agent redesign earlier that day had turned the gaps between keys completely transparent, and iOS silently drops any tap that lands on empty space. Painting the gaps 1% opaque gave iOS something to hit, and the fix was on my phone ten hours after I complained. Figure 3 · Where my fingers landed on the outer screen The recipe 1. A metric. How often it produces the word I meant. 2. A data stream. My messages, which I already had, and then every tap, once the keyboard started logging them. 3. A test bench. Worker agents tune on older messages. At milestones, one lead agent scores the result on newer messages the workers never see. 4. A loop with guardrails. The agents keep proposing fixes to the language model, the touch targets or the autocorrect rules, and score them. A new version can never change more of my own words than the old one did, or more words I typed right. Late in the week an upgrade fixed more typos but split "soi", as in khao soi, into "so I". It went back. What it took A few hours of my attention in total, maybe less, and the $50. At API prices, the Claude part would have cost about $800, mostly from the lead agent rereading its own long notes.