# My Startup's AI Agent Playbook for 5-10x Engineering Speed (with Claude Code, MCP's, etc)
<!--
ref: @content/youtube/patrick-ellis/2025-07-22-ai-agent-playbook-for-engineering-speed
version: 3
updated_at: 2026-10-31T18:30:20.953Z
-->

Patrick Oakley Ellis (2025-07-22): Ellis argues that the reason most engineers do not get order-of-magnitude gains from AI coding tools is not model quality but the missing orchestration layer around the model — the context, the tools, and the validation loops that let an agent run unsupervised for the length…

*Synthesized from Patrick Oakley Ellis on Patrick Oakley Ellis, 2025-07-22.*

Patrick Oakley Ellis is CTO and co-founder of an AI-native startup working with brands including Coca-Cola, Disney, Google, Microsoft, and Nike; this episode is a recording of the talk and Q&A he gave to a group of Microsoft engineers.

## Core Thesis

Ellis argues that the reason most engineers do not get order-of-magnitude gains from AI coding tools is not model quality but the missing orchestration layer around the model — the context, the tools, and the validation loops that let an agent run unsupervised for the length of time the model can actually sustain. His job description has shifted from writing code to building the environment agents run inside, and the payoff he claims is 3x to 10x (occasionally more) once feedback loops let an agent iterate without returning to a human. He treats speed of execution as the only durable moat available right now, because building products has become easy.

## Key Insights

- The friction argument is the spine of the talk: small bits of friction that look trivial are what keep models in search-tool mode instead of agent mode. Removing them is what moves a tool from answering questions to doing work.
- Ellis frames context sufficiency with a trust-window progression he credits to Anthropic CEO Dario Amodei: Sonnet 3.5 could be trusted with roughly 10 minutes of software work, 3.7 with about 45 minutes, Sonnet 4 and especially Opus with a couple of hours. Realizing that window requires the agent to be able to get feedback on its own.
- The thought exercise he borrows from Anthropic's CPO (an Instagram co-founder): close your eyes for 30 seconds and be the LLM holding only what the prompt gave you. What is missing is immediately obvious — the UI mock, the quarter's business objectives and KPIs, the style guide, the codebase's stylistic conventions, which open-source packages are permitted.
- Playwright MCP is his highest-value tool for UI work, because it lets the agent navigate the browser, take screenshots, and read network and console logs — closing the loop without a human in it. He also uses Firecrawl to convert any website to markdown, and deliberately prefers the `gh` CLI over the GitHub MCP because some models handle the CLI better.
- MCP (Model Context Protocol, an Anthropic-led standard now backed by OpenAI and Google) is useful to him for two things: packaging tool use with the context an LLM needs to use it, and — the enterprise-relevant part — encapsulating internal workflows, prompts, and markdown context into one installable unit a non-technical colleague can drop into Claude, ChatGPT, Cursor, or Copilot. The spec landed in November and the ecosystem is messy enough that there is now a registry of MCP registries.
- Format matters for context files: XML and markdown are his defaults, XML specifically because pre-training ingested enormous amounts of it. He still uses XML-style tags to segment prompts and believes he gets meaningfully better performance, though the advantage shrinks as models improve.
- Bolt is his non-engineer context tool. His CEO and CPO iterate on product ideas inside the same constraints he works under, and instead of a Figma doc he receives code that compiles. His CEO prototyped features and took them to partners for feedback before engineering was involved; the operations team builds its own internal tooling because they understand their workflows better than he does, and he refines the security and API integration afterward.
- His research pipeline for the AI Engineer World's Fair: record all sessions and meetings with Granola, scrape the site for 224 talk descriptions plus speaker and company data, feed everything into deep research, and use NotebookLM to query the corpus or generate a podcast from it — then intersect the result with written OKRs and current projects so the output is actionable against the actual tech stack.
- Frameworks as thinking scaffolds: he pipes a corpus through a named structure (SWOT, BRD, PRD) so the model reasons in quadrants or sections rather than freeform. A related experiment he runs is two models talking over the API, one cast as a principal UX researcher or customer-development interviewer, the other as a persona such as the CMO of a mid-sized healthcare company, to mine pre-training for market intuition — then validated against real users.
- Voice removes the largest input friction. SuperWhisper runs a local transcription model, then passes the text through GPT-4.1 mini, and — critically — knows whether he is in an IDE, a terminal, or a word processor and reshapes the output for that environment.
- Model personalities differ enough to require per-model prompt work: Sonnet 3.5 was considered lazy, 3.7 overeager (refactoring unrelated unit tests unprompted), Sonnet 4 and Opus 4 much more steerable and literal about the prompt. He notes the Claude Code team found apparent regressions in Sonnet 4/Opus 4 testing that turned out to be the models correctly following flawed examples in the eval prompts.
- His validation stack is tiered: human-in-the-loop at their scale, Braintrust-style text and code evals for anything inside the product, and custom image evals for their image pipeline (checking, for instance, that a subject's glasses survive into the output). Beyond that he is candid that a lot of assessment is still vibes, and recommends finding the 20% of surface that actually needs measurement. Agentic workflow frameworks (OpenAI's Agents SDK, LangChain) supply patterns for inserting validation steps and specialist roles; fine-tuning one of OpenAI's models on roughly 100 data pairs gets surprisingly far toward predictable outputs.
- Two concrete build datapoints. A WebGL event slideshow needing virtualization to avoid crashing a browser on 10,000 images or videos took one engineer three to four weeks — roughly a quarter of normal — with the performance optimization still done by hand because Sonnet 3.5/3.7 could not do it. A SaaS dashboard with API integration and authentication came together in 5 hours from an initial repo plus written PRDs.
- His design-quality recipe: ask the model to research the design principles of companies he admires and compile them into a markdown file, convert the company's 15-page PDF style guide to markdown as well, then have it apply both to the existing Tailwind and shadcn UI. The gain was in accumulated small animations and polish.
- On GenAI UX he splits the problem in two: designing for LLMs that use your product — SEO giving way to LLM discoverability, docs collapsing into one large markdown file or an `llms.txt` sitemap for models, and eventually agents making purchase decisions through Stripe or crypto — and designing products for humans using GenAI, where he cites ChatGPT auto-renaming a chat from its content as a small example of sprinkled intelligence.
- On governance he is direct about the startup tradeoff: PII and user data are protected seriously, everything else is subordinated to speed. He stays with Anthropic, OpenAI, and Grok, notes enterprise tiers carry stronger guarantees than the $20-40 plans, and would avoid models like DeepSeek unless running a post-trained Hugging Face version self-hosted.

## Actionable Takeaways

1. Give any coding agent working on UI a browser tool — Playwright MCP — so it can screenshot, read console and network logs, and iterate without you. That single loop is what converts a 10-minute assistant into a multi-hour one.
2. Keep a `context/` folder of markdown in the repo holding PRDs, workflow instructions, and documentation, and use XML-style tags to segment long prompts. Convert existing PDFs (style guides, brand docs) to markdown before handing them to a model.
3. Package repeated internal workflows as an MCP server rather than distributing prompt files, so non-technical teammates can invoke them by name from Claude, ChatGPT, Cursor, or Copilot.
4. For prototyping with non-engineers, hand them Bolt (or Lovable) instead of Figma — the artifact you get back is compiling code, which removes a round of feasibility conversation.
5. Build evals before switching models, and expect to retune prompts per model. Braintrust for text and code; write domain-specific checks (Ellis's image evals verify attribute preservation) for anything the model produces inside the product.
6. Fine-tune a small model for a narrowly defined role when you need predictability — roughly 100 input/output pairs is enough to get meaningful lift.
7. To learn the tools, spend 30 minutes vibe-coding something personal in Bolt or Lovable, and read the primary sources: Anthropic's Claude Code best-practices article and their "Mastering Claude Code in 30 minutes" video, plus the provider API docs, which he considers under-promoted and full of usable nuance.
8. Attack the communication bottleneck rather than the coding bottleneck. Ellis's test for a meeting or PRD round-trip is whether enough context could instead be assembled — product, engineering, customer comments, style guide — so that a single person's first MVP lands close to target.

## Notable Quotes

> "I'm thinking of our entire team and especially myself more and more of orchestrating an environment where these LLMs can run." — Patrick Oakley Ellis

> "The little bits of friction that might not seem like a big deal actually are a really big deal." — Patrick Oakley Ellis

> "Having empathy for the LLMs and really putting yourself in their shoes even through that thought exercise. It's remarkable how much that can help." — Patrick Oakley Ellis

> "Instead of a Figma doc… I get actual code that compiles and runs." — Patrick Oakley Ellis, on non-engineers prototyping in Bolt

> "Engineers in the future… are much more of an orchestrator. We're not in the IC mode that we used to always be in." — Patrick Oakley Ellis

> "One of the only moats moving forward, at least for now, that's persistent is the speed of execution." — Patrick Oakley Ellis

---

*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).*