# Watch this 100x developer use Codex… it's insane <!-- ref: @content/youtube/david-ondrej/2026-06-04-agent-first-software-codex-workflow version: 3 updated_at: 2026-10-31T20:06:00.894Z --> Pietro (David Ondrej, 2026-06-04): Pietro's argument is that coding agents are becoming the operating surface for all software, and that the website — the thing you visit and click — is on its way to being a secondary interface. *Synthesized from David Ondrej on David Ondrej, 2026-06-04.* David Ondrej interviews Pietro, founder of MagicPath and formerly of Anthropic, where he worked on search, Claude Code, and MCP. ## Core Thesis Pietro's argument is that coding agents are becoming the operating surface for all software, and that the website — the thing you visit and click — is on its way to being a secondary interface. His reasoning is structural: AI has collapsed the role boundaries that used to determine which tool a person lived in, so everyone now arrives with their own agent, their own context files, and their own way of working. That makes it nearly impossible to tell someone which app to use, and it means new products should be built as services an agent can call rather than UIs a human must learn. What survives that shift, in his view, is brand and community — the reason someone chooses your surface for talking to their agent. ## Key Insights - **Pietro hasn't opened Claude Code in five months.** Two reasons: he rates Codex's agentic loop as better built where Claude Code has become bloated, and — the one he weights heavier — Codex completes the same task on materially fewer tokens. - **The design-quality objection is a context problem, not a model problem.** Ondrej raises the common view that Opus or Gemini beat OpenAI models on front-end. Pietro's counter is that routing the work through MagicPath supplies the model with designer context, and the output stops looking like a default 5.5 render. - **MagicPath's own pivot illustrates the thesis**: it started as a tool where a human designs and became a place agents work — a cloud canvas any agent can reach. Pietro demos issuing a request from Codex on his phone while nominally on a walk, and the resulting site — with real, correct data pulled from the web — is waiting on his canvas when he gets home. - **His prediction, stated as a bet**: OpenAI ships a Codex SDK that lets an application forward browser events into the agent's chat, so third-party apps can talk to Codex directly. - **Why ChatGPT Atlas didn't land, in his reading**: it was browser-first and agent-second. If you're going to open a browser anyway, going to the site directly is faster than asking an agent to. Codex inverts the ordering, which is what makes browser use inside it tolerable. - **On competing with Figma**, he declines: Figma has spent fifteen years on the editing experience, and its file format is the obstacle to agent adoption — a simple sign-in card is millions of lines of Figma JSON against roughly **20 lines of React or HTML**. His lane is the agent-native one, where output is a deployed, visitable React site. - **His concrete build advice for a new company**: as little UI as possible; everything an API or service the agent can call; the real asset is the domain knowledge and documents you supply as context. His worked example is legal AI — he would not build an upload-your-documents product, he would build excellent legal context and let Codex read it alongside the user's own PDFs. - **The three questions**: what problem am I solving, what context am I supplying the model (knowledge or documents), and what's the easiest way to serve it — which he now answers as "inside whichever agent app the user already lives in," since the same integration works across Codex and Cursor. - **Text replacements are his entire personal harness**, not skills. Typing a short trigger expands into a full prompt: `absorb` (deeply read a new repo and enumerate its features), a junior-developer variant, an agent-behavior preamble, `spawn` (fan out to multiple parallel agents), `PR`, `debug` (review recent code for bugs, regressions, edge cases, side effects, then list risks), and one that pulls latest main, cherry-picks working changes off a teammate's branch, and merges them. - **The junior-developer prompt exists to work around a real plan-mode limitation**: in Codex you cannot swap models after planning. So he has the expensive model (5.5 high) write a plan aimed at a junior developer, then switches to the cheap model to execute it — spending intelligence where the problem is figured out, not where it's typed. - **He prefers text replacements to skills specifically because they sync to iOS**, so the same triggers work in Codex mobile. And he has Codex write new ones: ask it to inspect your keyboard text replacements and propose additions. - **Agents are general computer operators, not code tools.** Pietro programmed a Flipper Zero — a device whose language he doesn't know — into a doodle-jump-style game and a music player via Codex, and set it to vibrate when Codex finishes a message. Ondrej adds the case of a friend's 15-year-old laggy machine made materially faster by letting an agent clean and optimize it for 5–10 minutes. - **On demos, three rules**: use Screen Studio, which auto-zooms to whatever you're clicking; keep it under a minute (60–90 seconds at most); and tell one coherent story rather than showing features. His MagicPath-inside-Codex announcement was a **43-second** clip that reached roughly **400,000–500,000** views and moved the user curve sharply. - **Platform split**: Twitter is where the alpha is — he watched the migration from Claude Code to Cursor to Codex happen there before it was visible anywhere else — but it's a small obsessive bubble. YouTube is where customers are, and Ondrej confirms with retention data: the same video that does well on Twitter loses people at 30–60 seconds, while YouTube watch times run about **seven times longer**. - **Ship before it's good.** MagicPath launched with exactly one feature — AI generates designs — and grew on that. More features dilute the message past the point where anyone can explain what you do. - **Recruit testers publicly.** Before MagicPath 2.0 he pulled **20 beta testers from his own Discord**, paying in product credits. His point is that AI is hot enough right now that a single tweet asking for testers gets an outsized response, and a founder too close to their own product cannot see its rough edges. - **On what to build against an unpredictable future**: the only safe bet is that models keep getting better. He credits standing out at Anthropic to building tools as if the model were already two generations ahead of what shipped — you discover where it falls short, and you're positioned when it doesn't. - **On the origin of the company**: he left Anthropic, built a MagicPath demo, posted a tweet that hit roughly a million views, and raised in the week after. He is explicit that this rests on years of prior work and that he was in the right place, but also that none of it happens without posting the thing. ## Actionable Takeaways 1. Build the expensive plan and the cheap execution as separate steps: have the strongest model write an implementation plan pitched at a junior developer, then switch to a fast, cheap model to carry it out. 2. Turn anything you type more than once a day into an OS-level text replacement rather than a skill — on macOS, Settings → Keyboard → Text Replacements — so it syncs to your phone and works in mobile agent apps. 3. Ask your agent to audit your existing text replacements and propose new ones; it can write its own triggers. 4. Keep a `spawn` trigger that fans a task out to parallel agents — Pietro uses it for both image generation and code, turning hour-long builds into minutes. 5. Design new products agent-first: minimal UI, everything reachable as an API or service, and treat curated domain context as the actual product. 6. For demos: Screen Studio, under 60 seconds, one story from open to result. Post it even at three likes. 7. Post alpha and recruit testers on Twitter; publish the explanatory long-form on YouTube, where retention runs roughly 7x higher and buyers actually are. 8. Launch with one feature done well and resist adding a second until the first is understood by strangers. 9. Use coding agents for non-coding computer work — opening deep paths in Finder, cleaning a slow machine, driving unfamiliar hardware. ## Notable Quotes > "The future of work is going to be less about doing the thing but more about supervising the thing." — Pietro > "I haven't touched cloud code in like five months." — Pietro > "The only thing you can bet is the models are getting better." — Pietro > "Atlas was browser first and agent second. This is agent first and browser second." — Pietro > "To make the best product in AI it's just a context problem. You provide the right context, this thing works." — Pietro --- *You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).* *Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*