Kent C. Dodds, egghead instructor
case-study
Kent C. Dodds has worked with egghead for most of his career as a developer. This is his story.
Browse
Find courses, lessons, articles, talks, and podcasts.
110 results for "egghead"
Showing 1–24 · Page 1 of 5
case-study
Kent C. Dodds has worked with egghead for most of his career as a developer. This is his story.
case-study
John is the original egghead. This is his story of how he started sharing his knowledge through screencasting and later build egghead with Joel Hooks.
case-study
Will is the community engineer at egghead. He energizes the community and makes connections, while also growing his career in tech
article
The primary purpose of egghead.io is to give you the opportunity for exposure to the sea of technology choices you need to make to stay relevant in your career as a web developer. ✅ egghead instructors are working professionals. ✅ egghead instructors are forward thinking. ✅ egghead instructors solve real problems with real tools. ✅ egghead instructors provide you with information-rich, concise summaries of the tools and techniques that are most valuable to them on the job. But, here’s the thing… egghead courses aren’t really meant to be code-along workshops. 🤯 egghead courses are meant to be practical, concise, in-depth, and most of all they are respectful of your limited learning time. egghead courses are created to inform you so that you can make your own decisions about where to spend your precious time learning new tools and techniques. egghead is your constant stream of “what’s next?” to help you level-up your career and make smart choices. egghead gives you access to real-life in the trenches experience presented in a concise, information-rich, level of depth that you can leverage to make the best decisions. egghead is a very real competitive advantage to you as a web developer. 🏁 When you are watching an egghead lesson, try to not code along in the first pass. Don’t pause the video constantly so that you can type what you see on the screen. Watch the lesson. Take notes. Then try to apply the example yourself in an environment like codesandbox. If you’re watching a course, consider this approach. ⭐️ Watch all of the lessons without trying to type the code as it is presented! ⭐️ Take written notes of key information or things you’d like to look up and get more details on. ⭐️ When the course is complete, try out what you’ve learned. This is when you can use the individual lessons as a reference and return to the ones that you need to understand in more depth now that you’ve got the bigger picture. Because of the concise nature of an egghead course, you can effectively treat it as an overview before you take a deep dive. You will gain more understanding of the topic, and decide if it is appropriate for you to pursue more in-depth practice and study. Now, watch the course again if you'd like to code along, or better yet write a blog post summarizing what you've learned using your own example. **Sharing what you learn is one of the best ways to absorb and understand your new knowledge.** Try watching at 1.5-2x speed *with subtitles*. The increased speed forces you to concentrate and you get the audio cues along with the visual cues of the code and subtitle text. This allows you to watch a half hour course in 15 minutes and you can’t even consider typing along with the code. At the end of 15 minutes, you’ve got a really solid idea of if you want to pursue what you’ve just learned, and what you will do next. In other words, you’ve leveled up and gained experience points that you can apply to future learning focus. This approach allows you to survey the new hotness and understand how it affects you and your career in a space of time that fits your busy work schedule. Please keep in mind that these are all just suggestions. You know how you learn best and can use egghead in the manner that you choose! egghead isn't here to be bossy about your personal approach, but it’s also important to us that you maximize your success as a web developer! 😀 <Course slug="create-contextual-video-analysis-app-with-nextjs-and-symbl-ai-4efb" />
case-study
Ceora is a digital marketer turned software engineer who enthusiastically and consistently engages with the development community.
lessonDuration 3m 2sFree
Sometimes you have an idea that you want to quickly record, but the idea of setting up a project just to get it recorded gets in your way. I'm going to walk your through scripting away the main setup pain points so that you can focus on creating content.
course
The only better feeling than deleting code is automating away mundane tasks. This playlist shows off many variations of tasks that can be automated away with tools like zsh functions, alfred, and karabiner. These techniques apply broadly to the small development tasks you tackle every day.
article
<Course slug="introduction-to-groq-query-language-6e9c6fc0" /> <div className="prose-reset text-lg font-medium pb-8"> Reconsidering content modeling at a data level for egghead to allow for more{' '} <mark> flexible collaboration and design has been an ongoing, long-term challenge </mark> . Since migrating our primary UI to Next.js, features like serverless functions and quick access to flexible server-side rendering have allowed us to consider new options. One of the tools that we've chosen is sanity.io, a content modeling and design service layer that helps us layer valuable contextual metadata on top of our existing data model. </div> ## Where we were We have two APIs available that access the same underlying postgres database. One is a REST API that has nice hypermedia capabilities and is pretty slow built on top of jbuilder. The other is a well-formed GraphQL API that is much more performant and provides immediate and direct access to slices of the data we want. Both of these APIs are fairly 1:1 with the underlying database and define what I've come to look at as a "hyper specified" content model that got the job done, but has been a serious constraint that we've had to live with for many years 😅 Both of these APIs take 30-40 minutes to deploy and require fairly deep knowledge of Rails, GraphQL, and Ruby. The deeply technical API layer provides a massive barrier to entry and because everything is very closely tied to the database, changes can have rippling side-effects that were never intended. ### Resources and Collections When egghead was a sparkling fresh app I started out modeling what was obvious at the time. - `Lessons`: people come to egghead to watch lessons, not videos. - `Series`: sometimes people want to watch a series of lessons (not videos) Later we added `Playlists`, called them collections, and then decided that both a series and a playlist were actually courses. lol Fundamentally what we are dealing with are **resources** and **collections**, where a collection is just a resource with a list of other resources referenced. ## Where we want to be We want to build [a digital garden](https://joelhooks.com/digital-garden). We want to curate, update, associate, and present relevant resources to users so that they can quickly find what they need and reach the outcomes they desire. For us, this requires a "metadata" layer that sits above the APIs without a rigid schema or the need for deep levels of technical know-how to operate. For years we've done this by creating various JavaScript/JSON data structures in flat files that get compiled in with the application. You can [see an example here where we keep various metadata about egghead courses](https://github.com/eggheadio/egghead-next/blob/83629b66ad705cc3a0224a54baa3aa3c8e755d9c/src/data/courseDependenciesData.js). Another example is [this one that describes the data for our curated home page](https://github.com/eggheadio/egghead-next/blob/83629b66ad705cc3a0224a54baa3aa3c8e755d9c/src/components/pages/home/homepage-data.ts). This honestly isn't bad, but it's still tedious, error-prone, and requires us to use IDEs as UI for updating content. Not ideal, but very flexible. ## Content Modeling with Sanity.io After exploring several alternatives and living with the flat json files for years, a product has emerged that checks most of the boxes that we need. Deep flexibility. Ease of use. An incredibly nice authoring experience and a welcoming team and community. Sanity. What first stands out to me about Sanity is that it installs into your project via their CLI (command line interface). This was so different to me that it was hard to understand at first, but once I got the CLI installed with a default starter dataset, it started to make sense. Once I read the docs and started to explore the flexible potential it really clicked. The core atom of our emerging system is the `resource` type. You can see [how it evolved here on Github](https://github.com/eggheadio/egghead-next/commits/main/studio/schemas/resource.js) if you're interested. A resource as a `type` property. It can describe any of the content types that we deal with at egghead, and we can always add additional types as needed. Types are resources like podcasts, videos, courses, collections, and features. We are able to sync our existing database with Sanity, so all of the items that are in postgres are represented in Sanity. It could potentially replace a huge portion of our data needs, but for now, we are keeping them synced manually. ### Modeling resources, not layout What's stood out as important for us is that we want to create a robust resource model that describes and augments core content. We want it to be flexible and longer-lived than a typical layout and withstand heavy changes to design and presentation. We want our data to work in different contexts across our app (and beyond) so we are intentionally avoiding any layout concerns in the content model. The data describes what, not where, the content will ultimately be displayed. This means that instead of modeling pages, we are describing content and layering on supporting assets and metadata that allow us to choose content that's appropriate and relevant, when and where you need it. ## A Practical Example To illustrate, on the egghead homepage we present a large banner that showcases a resource, a new course, an event, etc  It's represented in [`home-page-date.ts` as a property called `jumbotron`](https://github.com/eggheadio/egghead-next/blob/83629b66ad705cc3a0224a54baa3aa3c8e755d9c/src/components/pages/home/homepage-data.ts#L2-L20) ```javascript { id: 'jumbotron', title: 'Introduction to Cloudflare Workers', byline: 'new course', description: `Follow along with Kristian Freeman as you build a localization engine that renders data based on the Edge location nearest to the application's user.`, image: '/banner.jpg', path: '/playlists/introduction-to-cloudflare-workers-5aa3', slug: 'introduction-to-cloudflare-workers-5aa3', instructor: { name: 'Kristian Freeman', slug: 'kristian-freeman', path: '/q/resources-by-kristian-freeman', twitter: 'signalnerve', image: '/headshot.jpg', }, }, ``` This works pretty well. When we want to swap it out we just go in and enter new data. It's not great though, and requires a deploy. When I sat down to model this in Sanity, the first impulse was to create a document called "Home Page Jumbotron". Then I can query Sanity using their GROQ query language on the server and create a similar data structure to render the header graphic: ```jsx export const getServerSideProps: GetServerSideProps = async ({res, params}) => { const load = async () => { const data = await sanityClient.fetch(groq` *[slug.current == 'home-page-jumbotron'][0]{ name, title, description, summary, byline, meta, path, 'slug': resources[][0]->_id, 'instructor': collaborators[]->[role == 'instructor'][0]{ title, 'slug': person->slug.current, 'name': person->name, 'path': person->website, 'twitter': person->twitter, 'image': person->image.url }, 'background': images[label == 'background'][0].url, 'image': images[label == 'badge'][0].url, } `) return data } const resource = await load() res.setHeader('Cache-Control', 's-maxage=1, stale-while-revalidate') return { props: { resource, }, } } ``` This is getting better. It produces the same data structure, and <mark>we can now live-update the header component inside of Sanity Studio</mark> and don't need to redeploy. While that is creating documents that are tied to specific pages, it isn't modeling data for layout and gives us a ton of flexibility. <Callout title="What the GROQ??"> If this is your first time seeing GROQ it might look strange, but it's actually a fascinating and relatively simple way to query data. Here's the [official GROQ Cheat Sheet](https://www.sanity.io/docs/query-cheat-sheet) that gives a great overview. </Callout> Taking that a step further I can consider replacing the entire `home-page-date.ts` with a loader that looks like this using what is referred to as an "outer reflection" in Sanity's GROQ query language: ```typescript import {sanityClient} from 'utils/sanity-client' import groq from 'groq' export async function loadHomePageData() { const slugs = { jumbotron: 'home-page-jumbotron', } const data = await sanityClient.fetch( groq` { 'jumbotron': ${jumbotronQuery}, } `, slugs, ) return data } const jumbotronQuery = groq` *[slug.current == $jumbotron][0]{ name, title, description, summary, byline, meta, path, 'slug': resources[][0]->_id, 'instructor': collaborators[]->[role == 'instructor'][0]{ title, 'slug': person->slug.current, 'name': person->name, 'path': person->website, 'twitter': person->twitter, 'image': person->image.url }, 'background': images[label == 'background'][0].url, 'image': images[label == 'badge'][0].url, } ` ``` This approach would allow me to add a structured query to load the data for each section, feature, and call to action (CTA) on the home page of the site and give the team the ability to update, curate, and tend our collaborative digital community garden without requiring a deploy of the front end. If we want to change the design or switch out the data we are loading, that starts to become simpler as well. We are able to layer assets on top of our resources with ease and allow our designers and editorial team members to have more collaborative creative control over the resulting page. ## Where we are headed.... This is a great start. Sanity has a lot of potential and we haven't even begun to scratch the surface. We are going to be tuning our content model and importing more data first. Then we will start to explore Sanity's Structure Builder, which can be used to design content pipelines and workflows that give us even more flexibility in our digital gardening process. Having a bespoke, contextual, lovely content authoring tool at our disposal is exciting, and I'm looking forward to digging in more. Questions? Please feel free to [ask on twitter](https://twitter.com/jhooks)! <Course slug="introduction-to-groq-query-language-6e9c6fc0" />
case-study
Tomasz's journey with egghead began as a learner. When he had to quickly learn about React and Webpack for a new job opportunity in 2016.
case-study
Erin shared her expertise on the topic through teaching in-person workshops for developers, which led us to invite her to teach on egghead.
case-study
Maggie is a cornerstone of egghead and our efforts. She might be best known for the superb course illustrations and illustrated notes.
case-study
Joe shares his story of sharing what he learns and how egghead supported him in his efforts.
podcast
<p>John Lindquist interviews Ben Clinkinbeard, a veteran developer and egghead instructor. He currently works as a consultant, focusing on data visualization. Ben discusses his career path, the benefits of having a mentor, and the importance of Data Driven Documents.</p><p>Ben talks about how he worked on a multi-year project for the Colorado Department of Education where he was visualizing aggregate standardized testing data. He discusses his experience there and how it left a long lasting enjoyment of the craft. He also talks about why he chose D3 for his data visualization work, and how he feels that it's the best option in the JS space.</p><p>A lot of companies have D3 as a "nice to have" but not many devs have that skill. There is a lot of demand but not enough supply. Seeing this, Ben created a screencast for egghead as our very first instructor! His interest in info-products sparked and he talks about his experience and the challenges he faced building his email course and then a full-fledged D3 and SVG book.</p><hr /><h3>Transcript</h3><p><a href="https://egghead.simplecast.com/episodes/d2851987/transcript">"Data Viz using D3 with Ben Clinkinbeard" Transcript</a></p><h3>Resources</h3><ul><li><a href="https://benclinkinbeard.com/d3in5days/">D3 in 5 Days</a></li></ul><h3>Ben Clinkinbeard</h3><ul><li><a href="https://egghead.io/instructors/ben-clinkinbeard">Egghead</a></li><li><a href="https://github.com/bclinkinbeard">Github</a></li><li><a href="https://twitter.com/bclinkinbeard?lang=en">Twitter</a></li></ul><h3>John Lindquist</h3><ul><li><a href="https://twitter.com/johnlindquist?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Eauthor">Twitter</a></li><li><a href="https://egghead.io/instructors/john-lindquist">egghead.io</a></li><li><a href="https://github.com/johnlindquist">Github</a></li><li><a href="https://johnlindquist.com/">Website</a></li></ul>
podcast
<p>Kent C. Dodds, a leading React expert, speaks with John Lindquist and Joel Hooks, the co-founders of egghead, about how React is a fantastic technology to learn for both newcomers to programming and Javascript grey-beards alike.</p><p>Kent talks about how great componentizing your code is. No longer are you going in and writing HTML for all your pages, you are now writing powerful and useful javascript components.</p><p>The concepts that React got built upon don't just apply to React code. Joel talks about how he taught the React style of componentized code, but using Angular in the workshops he has run.</p><p>Kent and Joel also discuss the importance of ES6. There are still new Javascript tutorials that are get written in ES5, Joel explains why this is shortsighted. The future of Javascript is moving to ES6. Not only that but ES6 is an excellent improvement over ES5.<br />New and powerful features can be leveraged with it, spread syntax, arrow functions, modules. These features are the direction Javascript is moving.</p><p>So check it out. Learn this new technology and see that it's not so weird, with Kent's new courses <a href="https://egghead.io/courses/the-beginner-s-guide-to-reactjs">The Beginner's Guide to ReactJS</a> and <a href="https://egghead.io/courses/advanced-react-component-patterns">Advanced React Component Patterns</a></p><hr /><h3>Transcript</h3><p><a href="https://egghead.simplecast.com/episodes/learn-react-with-kent-c-dodds/transcript">"Learning React with Kent C. Dodds" Transcript</a></p><h3>Resources</h3><ul><li><a href="https://egghead.io/courses/the-beginner-s-guide-to-reactjs">The Beginner's Guide to ReactJS</a></li><li><a href="https://egghead.io/courses/advanced-react-component-patterns">Advanced React Component Patterns</a></li><li><a href="https://egghead.io/courses/learn-es6-ecmascript-2015">Learn ES6</a></li><li><a href="https://codesandbox.io/">codesandbox.io</a></li><li><a href="https://reactjs.org/docs/hello-world.html">React Documentation</a></li></ul><h3>Kent C. Dodds</h3><ul><li><a href="https://kentcdodds.com/">kentcdodds.com</a></li><li><a href="https://twitter.com/kentcdodds">Twitter</a></li><li><a href="https://github.com/kentcdodds">Github</a></li></ul><h3>John Lindquist</h3><ul><li><a href="https://twitter.com/johnlindquist?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Eauthor">Twitter</a></li><li><a href="https://egghead.io/instructors/john-lindquist">egghead.io</a></li><li><a href="https://github.com/johnlindquist">Github</a></li><li><a href="https://johnlindquist.com/">Website</a></li></ul><h3>Joel Hooks</h3><ul><li><a href="https://twitter.com/jhooks">Twitter</a></li><li><a href="https://joelhooks.com/">Website</a></li></ul>
article
Hey Everyone 👋, John Lindquist here with the **42nd issue of AI Dev Essentials!** Last week was about Fable 5 landing. This week is about the aftermath of Governments stepping in to take away our favorite new toy. Anthropic had to disable Fable 5 and Mythos 5 after a U.S. government export-control directive. OpenAI gave Codex controlled Chrome DevTools Protocol access. Unreal Engine 5.8 shipped experimental MCP support. Claude Design started syncing with Claude Code. Cursor teased Origin, a waitlist-stage git forge aimed at agent-era workflows. That Fable shutdown hit harder than I expected. For three days it felt like we all had self-driving cars, then suddenly we were back on manual, remembering how easy it was every time we changed gears. It was a strong reminder to me how unpredictable the AI landscape is, but I never really expected it to move backwards. Get your ticket for the next **[Codex Power User Workshop](https://egghead.io/workshop/codex)**. Standard tickets are $450, and yearly egghead members can register for $350. > ⚡ **Codex Power User Workshop** — 📅 Fri June 26, 9am PT > **Regular** (no membership required): **$450** — [Get Regular Ticket](https://egghead.io/workshop/codex) > **Pro Yearly Member** (egghead.io yearly subscription): **$350** (~~$450~~ regular price), you save $100 — [Get Pro Ticket](https://egghead.io/workshop/codex) --- ## 🎤 Speaking Events Check out my recent/upcoming speaking engagements: **O'Reilly: This Week in AI** — I joined YK Sugi on O'Reilly Radar to unpack Fable 5, the token-cost problem around agentic coding loops, and why throwing agents at a legacy codebase without the right environment is such an easy way to burn budget. [Read/watch the episode recap →](https://www.oreilly.com/radar/this-week-in-ai-fable-5-the-clone-wave-and-ubers-ai-reality-check/) **AI ❤️ Monorepos Conf** — On June 23, I'm giving **The Agentic Power User's Playbook**, a practical talk about running swarms of agents in parallel: tiled terminals, fast-model routing, and the muscle memory that makes multi-agent work feel less chaotic. [Register free →](https://monorepo.tools/conf#speaker=john-lindquist) **AI Engineer World's Fair** — At AI Engineer World's Fair, I'm teaching **The Agentic Power User's Playbook: Tips and Tricks for Swarm-Style Agentic Development**. This is the more hands-on version: how to make agents cooperate, verify each other, and stay useful across real projects. [See the schedule →](https://www.ai.engineer/worldsfair/schedule?q=lindquist&session=236) --- ## 🚀 Major Announcements ### `Policy` Anthropic Disables Fable 5 and Mythos 5 After U.S. Export Directive **Anthropic said on June 12, 2026 that it received a U.S. government export-control directive requiring the company to suspend access to Fable 5 and Mythos 5 by foreign nationals, including foreign-national Anthropic employees. Anthropic says it could not reliably separate that access in real time, so it disabled both models for all customers while leaving other Claude models unaffected.** **What Changed:** - Fable 5 and Mythos 5 were disabled globally for customers - Access to other Claude models was not affected - Anthropic says the order applies to foreign nationals inside and outside the United States - Anthropic says the government's concern involved a narrow potential jailbreak, not a disclosed universal jailbreak - The incident followed the Fable 5 launch and the earlier backlash over invisible safeguard behavior - The Verge reports that experts see this as an unsettled and possibly unprecedented use of export controls for access to a hosted AI model ([Anthropic — Fable and Mythos Access Statement](https://www.anthropic.com/news/fable-mythos-access), [The Verge — Export Controls Coverage](https://www.theverge.com/ai-artificial-intelligence/951703/anthropic-shutdown-export-controls)) > 💬 *This one hurt. I loved the progress I was making with Fable. I had it build my own custom "Brain" system (like an OpenClaw/Hermes, but the way I wanted it). I was making incredible progress on the next version of Script Kit which has been an extremely difficult project for other models since it leverages the GPUI framework from Zed. It felt like 3 pure days of progress. I've been building my custom version of "Fusion" (a popular "council" concept that OpenRouter mainstreamed). It's something I'd done in the past, but updated it to the latest models: Opus 4.8, GPT 5.5, GLM 5.2, and Gemini 3.5. It's working really well and achieving near-Fable levels (based on vibes, I don't have the budget for evals), but definitely will keep tweaking it. I'll be teaching the setup in my next Codex Power User workshop for sure.* --- ### `Tool` Codex Developer Mode Gets Chrome DevTools Protocol Access **OpenAI added Developer mode for Browser use in Chrome and the Codex in-app browser, giving Codex controlled access to Chrome DevTools Protocol for deeper browser debugging. Codex can inspect console output, network traffic, runtime errors, DOM state, applied styles, and JavaScript performance when the feature is enabled.** **Developer Notes:** - Works with Browser use in Chrome and the Codex in-app browser - Full CDP access is off by default and can be enabled from Codex app settings - Codex asks for explicit approval before using full CDP access to inspect a website - Organizations can restrict full CDP access through managed configuration - The feature is designed for debugging live browser issues, not just clicking through visible UI - Pairs naturally with Codex browser tasks, app previews, and web app verification loops ([OpenAI Codex — In-App Browser](https://developers.openai.com/codex/app/browser), [OpenAI Codex — Changelog](https://developers.openai.com/codex/changelog), [OpenAI Codex — App Settings](https://developers.openai.com/codex/app/settings)) > 💬 *I love this workflow. I mainly use Agent Browser, but glad to see this becoming the standard. Whenever I work in a non-web project, one of my first prompts is: "What dev tools can we build to give us Chrome's CDP-like capabilities."* --- ### `Web` Chrome's WebMCP Origin Trial Gives Websites Agent Tools **Chrome opened the WebMCP origin trial, letting web apps expose structured tools to agents through imperative JavaScript APIs or declarative form annotations. The goal is to help agents complete tasks from explicit tool definitions instead of inferring intent from pixels and labels.** **Developer Notes:** - Origin trial is available in Chrome 149 - Web apps can expose actions as structured tools - Supports JavaScript APIs and declarative HTML form annotations - Local testing is available through `chrome://flags/#enable-webmcp-testing` - Current implementation requires an open browser tab or webview ([Chrome for Developers — WebMCP Origin Trial](https://developer.chrome.com/blog/ai-webmcp-origin-trial), [Chrome for Developers — WebMCP Docs](https://developer.chrome.com/docs/ai/webmcp)) > 💬 *I have too many ideas for this. Definitely going to record lessons about it as I explore it.* --- ### `Game Dev` Unreal Engine 5.8 Ships Experimental MCP Server Support **Epic released Unreal Engine 5.8 with an experimental Model Context Protocol plugin that lets MCP-compatible agents like Claude Code, Cursor, Codex, VS Code, Gemini, and MCP Inspector drive Unreal Editor workflows over a local connection.** **What Developers Get:** - Experimental MCP plugin for Unreal Engine 5.8 - Direct agent connection to project context and Unreal workflows - The docs call this experimental, incomplete in places, and subject to API and data-format changes - Part of a larger 5.8 release focused on performance, content creation, animation, and virtual production - Epic describes this as a way for models to become active collaborators inside the editor ([Epic Docs — Unreal MCP](https://dev.epicgames.com/documentation/unreal-engine/unreal-mcp-in-unreal-editor)) > 💬 *Can't wait to see what the next generation of game devs can make when they can build with natural language.* --- ## 🛠️ Developer Tooling Updates ### `Tool` Claude Design Adds Claude Code Sync and Design-System Workflows **Anthropic's Claude Design support docs now describe Claude Code workflows, including `/design-sync` for syncing a design system from Claude Code and `/design` for starting design work directly from Claude Code. Claude Design remains in beta, with support for design systems, direct edits, comments, and handoff into implementation workflows.** **Developer Notes:** - `/design-sync` syncs a design system from Claude Code - `/design` starts Claude Design work from Claude Code - Claude Design can package handoff bundles for Claude Code implementation - Support docs call out large-codebase considerations and known beta limitations - Enterprise availability is beta and default-off, and the docs still call out workflow edges around large codebases ([Claude Support — Get Started with Claude Design](https://support.claude.com/en/articles/14604416-get-started-with-claude-design), [Anthropic — Claude Design](https://www.anthropic.com/news/claude-design-anthropic-labs)) > 💬 *I have a big design project coming up next week. Definitely going to be using this and I'll report back.* --- ### `Model Update` Z.ai Releases GLM-5.2 for Long-Horizon Coding Tasks **Z.ai released GLM-5.2, a flagship model positioned around long-horizon tasks, project-scale engineering context, and 1M-token context windows. Z.ai says GLM-5.2 is built for stable execution across full development workflows, from requirements to deployable products.** **What Stands Out:** - **1M-token context** aimed at project-scale engineering work - Focus on long-horizon coding and agentic engineering tasks - Two thinking-effort levels in the developer docs - Coding-plan guides for Claude Code, Cursor, Cline, Trae, Kilo Code, and more - Z.ai's own benchmark claims are strong, but I would still treat this as vendor positioning until independent evals settle ([Z.ai — GLM-5.2](https://z.ai/blog/glm-5.2), [Z.ai Docs — GLM-5.2](https://docs.z.ai/guides/llm/glm-5.2), [Z.ai — Subscribe](https://z.ai/subscribe)) > 💬 *Z.ai is cooking. I've only used GLM 5.2 a tiny bit, but I can definitely say the model gap between open and closed models is closing.* --- ### `Open Source` OpenAI Joins the Rust Foundation as a Platinum Member **The Rust Foundation announced that OpenAI joined as a Platinum Member and made a $600,000 total contribution supporting the Rust Project and broader Rust ecosystem. The Foundation says the funding will support maintainers, technical priorities, Project Goals, the Rust Foundation Maintainers Fund, and the Rust Innovation Lab.** **Why It Matters:** - OpenAI is publicly backing Rust's maintainer ecosystem and technical priorities - Predrag Gruevski, maintainer of `cargo-semver-checks`, will join the Rust Foundation Board as OpenAI's Platinum Member representative - This is direct support for maintainer infrastructure, not just a sponsorship logo ([Rust Foundation — OpenAI Platinum Member](https://rustfoundation.org/media/rust-foundation-welcomes-openai-as-platinum-member-announces-donation-to-rust-project/), [Rust Foundation — On OpenAI's Support for Rust](https://rustfoundation.org/media/on-openais-support-for-rust/)) > 💬 *Love this. My main personal projects are all now built in Rust. Thanks OpenAI.* --- ### `Platform` Cursor Teases Origin, a Git Forge for Agent-Era Workflows **Cursor has opened a waitlist for Origin, which it describes as "a git forge for the agentic era." The public page is still light on product detail, so I would treat this as a strategic signal rather than a fully specified GitHub alternative.** **Why It Matters:** - Cursor is signaling interest beyond the editor and into the code-hosting layer - The public page frames Origin around agent-era infrastructure, but does not yet spell out review, collaboration, or migration details - Keep this as a watch item unless Cursor publishes deeper docs or launch notes ([Cursor — Origin](https://cursor.com/origin)) > 💬 *Git and GitHub are so engrained into my processes, it will be difficult to try something else. I'm really curious how tied to the Cursor ecosystem it will be and how much they'll be able to open-source.* --- ## 🤖 AI Ecosystem Updates ### `Ecosystem` Midjourney Announces Midjourney Medical **Midjourney now lists "Medical" among its projects, and The Verge reports that David Holz showed a proposed ultrasound-based full-body scanner developed with Butterfly Network modules. The reported initial focus is body-composition mapping rather than diagnostic imaging.** **What To Watch:** - Midjourney appears to be exploring medical imaging hardware beyond its image-generation business - The reported scanner concept uses ultrasound modules around a water-filled platform - The company is not positioning the first version as a diagnostic medical device - Privacy, regulation, FDA classification, and data access will matter more than the demo ([Midjourney](https://www.midjourney.com/), [The Verge — Midjourney Medical](https://www.theverge.com/ai-artificial-intelligence/952011/midjourney-medical-ai-ultrasound-scan)) > 💬 *Um, what? How am I supposed to react to this? I'm no medical expert and have no clue what to say. I do love MidJourney's image design taste though...* --- ## ⚡ Quick Updates ### `Tool` Codex Mobile Adds Profile Usage Stats - **Released**: June 9, 2026 - OpenAI added a Codex profile screen to ChatGPT for iOS with usage stats and token activity charts. ([OpenAI Codex — Changelog](https://developers.openai.com/codex/changelog)) --- ## ✨ Workshop Spotlight ### Codex Power User Workshop **Next Friday, seats are still available** - **Context Packaging**: Bundle files, logs, screenshots, and traces so Codex understands the real problem - **Terminal Workflows**: Run parallel research, planner, builder, and validator sessions without losing the thread - **Agent Profiles**: Compare broad defaults vs. narrow prompts, focused skills, and limited tool access - **Tools & Sandboxing**: Separate read-only from mutation tools and map agents to repeatable tool profiles - **Skills, Hooks & Memory**: Build reusable expertise, enforce guardrails, and capture durable decisions - **Codex SDK**: Embed Codex into CI, dashboards, and internal tools when terminal sessions aren't enough **Friday, Jun 26 @ 9:00 AM to 2:00 PM Pacific** **Regular** (no membership required): **$450** — [Get Regular Ticket](https://egghead.io/workshop/codex) **Pro Yearly Member** (egghead.io yearly subscription): **$350** (~~$450~~ regular price), you save $100 — [Get Pro Ticket](https://egghead.io/workshop/codex) --- Did you enjoy this issue? [Share it with a friend](https://egghead.io/newsletters/ai-dev-essentials). *© 2026 John Lindquist • egghead.io*
article
Hey Everyone 👋, John Lindquist here with the **41st issue of AI Dev Essentials!** Fable 5 has shaken up the AI landscape. Anthropic's latest model based on a new class of models called "Mythos". I've been using Fable non-stop for the past two days and have been wildly impressed with what it's been able to do: Rebuild my dev tools, clean up my entire layout system, detect and fix edge cases that I didn't know existed. Each fix would always work the first time. It handled issues that every other model had struggled with for the past few months. Fable finally understands all of the custom software and tooling I've built for my workflows (this is a Rust + GPUI project) and excels at using and suggesting improvements to the tools. Fable is definitely *slow* and people are still trying to figure out which reasoning effort to choose from "low" to "max" since benchmarks are all over the place. Some people are reporting results that Fable "low" is better than Opus 4.8 "max" which would actually make it cheaper. Fable is *expensive*. Almost 2x the cost of Opus. And it's only on available on the Claude Code plan for the next 11 days, so use it while you can. **Bottom line**: Fable is slow and expensive, but it's the best model available. We'll see how OpenAI responds... they sound pretty confident :). Their only response to Fable so far is "Feeling pretty good about things". On that note, I've scheduled my next **[Codex Power User Workshop](https://egghead.io/workshop/codex)**. **Early bird pricing ends tomorrow**, with standard tickets at $375 instead of $450 and egghead yearly members able to grab a seat for $300. > You may have noticed the workshop page is back on egghead.io. I left Vercel last month to go all-in on education again, so expect some *massive* changes to egghead.io going forward. Everything I do will be hosted there and we'll have many more announcements in the future. (Side note: we're handing dev.build to one of our instructors). > ⏳ **Early Bird Ends Tomorrow** — ⚡ **Codex Power User Workshop** — 📅 Fri June 26, 9am PT > **Regular** (no membership required): **$375** (~~$450~~ after tomorrow) — [Get Regular Ticket](https://egghead.io/workshop/codex) > **Pro Yearly Member** (egghead.io yearly subscription): **$300** (~~$450~~ after tomorrow), double the discount — [Get Pro Ticket](https://egghead.io/workshop/codex) --- ## 🚀 Major Announcements ### `Model Update` Anthropic Releases Claude Fable 5 and Mythos 5 **Anthropic released Claude Fable 5 on June 9, 2026, introducing its fifth-generation model family for long-running coding, knowledge work, vision, and agentic tasks. Fable 5 is the generally available version, while Mythos 5 shares the same capabilities without the safety classifiers and remains limited to Project Glasswing.** **What Developers Need to Know:** - **1M token context** by default, with up to **128k output tokens** per request - **$10 per 1M input tokens** and **$50 per 1M output tokens** - Available through the Claude API, Claude Platform on AWS, Amazon Bedrock, Vertex AI, Microsoft Foundry, and Claude products - Built for ambitious, long-running, asynchronous work, especially agent harnesses like Claude Code and Claude Managed Agents - Fable 5 includes safety classifiers; flagged cybersecurity, biology, chemistry, and related requests can refuse or fall back to Opus 4.8 - Using Fable requires **30-day data retention** for safety monitoring ([Anthropic — Claude Fable 5](https://www.anthropic.com/claude/fable), [Claude API Docs — Fable 5 and Mythos 5](https://platform.claude.com/docs/en/about-claude/models/introducing-claude-fable-5-and-claude-mythos-5)) > 💬 *Fable 5 is the announcement of the week, but I do not think the takeaway is "use it for everything." The use case that makes sense to me is specific: give it a hard, bounded loop and let it work. Use the best model to design the plan, audit the architecture, find the hidden constraint, or run the deep optimization pass. Then hand the cheaper models the chores.* --- ### `Safety` Anthropic Walks Back Invisible Fable Guardrails **After backlash from researchers and developers, Anthropic changed how Fable 5 handles safeguards around frontier AI development. Instead of silently degrading responses for some requests, Anthropic says safeguards will now be visible, with users told when requests are refused or rerouted.** **What Changed:** - Fable 5 launched with safety classifiers for high-risk domains and frontier model development - The initial system card described invisible degradation for suspected distillation or frontier AI development requests - Anthropic apologized and said visible safeguards were the right tradeoff, even if they create more false positives - Separately, Microsoft reportedly restricted internal employee use of Fable 5 while legal teams review Anthropic's data retention requirements ([The Verge — Fable Guardrails](https://www.theverge.com/ai-artificial-intelligence/948280/anthropic-claude-fable-invisible-distillation-guardrail), [WIRED — Anthropic Walkback](https://www.wired.com/story/anthropic-responds-to-backlash-on-claudes-secret-sabotage-on-ai-research/), [The Verge — Microsoft Restriction](https://www.theverge.com/report/947575/microsoft-claude-fable-5-restricted-internally)) > 💬 *This is the part of the Fable launch that matters beyond benchmark charts. If a model is going to refuse, reroute, or degrade output, I need to know that happened. Hidden behavior destroys evaluation, and evaluation is already hard enough. I understand why Anthropic is worried about model distillation and dangerous domains, but invisible changes to output are a trust tax every serious developer will notice.* --- ### `Tool` Claude Managed Agents Add Schedules and Vaulted Environment Variables **Anthropic updated Claude Managed Agents on June 9 with scheduled deployments and vault-backed environment variables in public beta, while Dynamic Workflows in Claude Code is now generally available. Agents can run on a cron schedule, call CLIs securely, and take on larger recurring jobs without teams building their own scheduler.** **Why It Matters:** - **Scheduled deployments** let agents run recurring tasks like nightly syncs, weekly compliance scans, daily digests, and health reports - **Environment variables in vaults** let agents authenticate CLIs without exposing real secrets to the model - Vaults attach secrets at the network boundary only for approved domains - Browserbase and KERNEL integrations bring browser capabilities into Managed Agents through authenticated CLI tools - Dynamic Workflows in Claude Code makes multi-agent orchestration a first-class workflow instead of a hand-rolled pattern ([Claude — Managed Agents Schedules and Vaults](https://claude.com/blog/whats-new-in-claude-managed-agents), [Claude API Release Notes](https://docs.anthropic.com/en/release-notes/api), [Claude Code Changelog](https://docs.anthropic.com/en/release-notes/claude-code)) > 💬 *This is the most practical Anthropic announcement after Fable. A scheduled agent with scoped secrets is not a demo anymore. That is closer to infrastructure. The move from "ask Claude to do this" to "Claude owns this recurring responsibility" is exactly the loop discourse people are circling around. The hard part is still verification, but at least the primitive is finally shaped like production work.* --- ### `Platform` Apple Opens Foundation Models to Claude, Gemini, and Custom Providers **At WWDC 2026, Apple expanded the Foundation Models framework into a native Swift API that can work with Apple Foundation Models, cloud models like Claude and Gemini, or any provider that implements Apple's Language Model protocol. Apple also added image input, Private Cloud Compute access, context management APIs, semantic search, Dynamic Profiles, and an Evaluations framework.** **Developer Highlights:** - Single Swift interface for on-device Apple models and third-party model providers - Support for Claude, Gemini, open source models, and custom provider implementations - Vision support, context management APIs, semantic search, and Dynamic Profiles for agentic app behavior - Small Business Program developers with fewer than 2 million first-time App Store downloads get access to next-generation Apple Foundation Models on Private Cloud Compute at no cloud API cost - The Evaluations framework helps test AI behavior across dynamic conditions ([Apple Newsroom — Intelligence Frameworks](https://www.apple.com/newsroom/2026/06/apple-aids-app-development-with-new-intelligence-frameworks-and-advanced-tools/), [Apple Developer — Apple Intelligence Guide](https://developer.apple.com/wwdc26/guides/apple-intelligence/), [WWDC26 — Foundation Models Framework](https://developer.apple.com/videos/play/wwdc2026/241/)) > 💬 *This is Apple doing the Apple thing: make the API boring, native, and hard to ignore. The interesting part is not that Claude or Gemini can show up inside an Apple app. The interesting part is that model choice starts looking like an implementation detail. Once the call is standardized, the product value moves to evaluation, permissions, context, and UX. That is where developers still have to do real work.* --- ## 🛠️ Developer Tooling Updates ### `Open Source` Google Releases DiffusionGemma for Fast Local Text Generation **Google released DiffusionGemma on June 10, an experimental open-weights model based on Gemma 4 that uses discrete text diffusion instead of traditional token-by-token generation. Google positions it as a fast local model for workflows where latency and iterative editing matter more than maximum reasoning quality.** **What Stands Out:** - **26B MoE** architecture with roughly **4B active parameters** - Generates text through diffusion, refining blocks in parallel instead of predicting one token at a time - Google reports up to **4x faster** generation, with up to **1,000+ tokens per second** on a single H100 - Can run within **18GB VRAM** when quantized - Apache 2.0 open model release - Multimodal inputs with text output ([Google Developers Blog — DiffusionGemma](https://developers.googleblog.com/diffusiongemma-the-developer-guide/), [Google AI — DiffusionGemma Docs](https://ai.google.dev/gemma/docs/diffusiongemma)) > 💬 *I like this because it changes the shape of local inference. Not every agent step needs the smartest possible model. Some steps need fast drafts, structured fills, code edits, or candidate generation close to the machine doing the work. DiffusionGemma is not trying to replace the frontier model. It is a reminder that local agent loops may be won by latency and scheduling, not leaderboard rank.* --- ### `Web` Chrome Opens the WebMCP Origin Trial **Chrome opened the WebMCP origin trial in Chrome 149, giving developers a way to expose structured tools from web apps so agents do not have to infer intent from pixels and labels alone. WebMCP supports both imperative JavaScript APIs and declarative annotations on HTML forms.** **Why It Matters:** - Websites can expose actions as structured tools for browser-based agents - Agents can fill complex forms or trigger diagnostics without guessing the UI - Chrome supports local testing through `chrome://flags/#enable-webmcp-testing` - The current implementation requires an open browser tab or webview, not headless tool calls ([Chrome for Developers — WebMCP Origin Trial](https://developer.chrome.com/blog/ai-webmcp-origin-trial), [Chrome for Developers — WebMCP Docs](https://developer.chrome.com/docs/ai/webmcp)) > 💬 *This is the web platform acknowledging that agents are now real users of our apps. I do not want agents clicking around a UI by vibes forever. Give them named tools, scoped actions, and explicit state. The limitation that a browser context has to be open is annoying, but honestly healthy for this stage. It keeps the feature tied to visible user-facing surfaces while the security model matures.* --- ### `CLI` Google Colab CLI Makes GPU Runtimes Agent-Friendly **Google introduced the Colab CLI on June 5, bridging local terminals and remote Colab runtimes. Developers and agents can provision GPUs or TPUs, run local scripts remotely, recover artifacts, and export logs without driving the notebook UI.** **Capabilities:** - Provision CPU, GPU, or TPU runtimes from the terminal - Run local scripts on remote Colab runtimes with `colab exec` - Download models, datasets, adapters, and logs after remote execution - Open interactive REPL or console sessions - Includes a prepackaged Colab skill file for AI agents - Supports macOS and Linux ([Google Developers Blog — Colab CLI](https://developers.googleblog.com/introducing-the-google-colab-cli/), [Google Colab CLI on GitHub](https://github.com/googlecolab/google-colab-cli)) > 💬 *This is exactly the kind of bridge agents need. I do not want an agent babysitting a notebook tab just to fine-tune a small model or run a GPU job. Give it a CLI, a recoverable log, and a clean artifact path. That is the difference between "the agent helped me in Colab" and "the agent handled the remote compute step with logs and artifacts I can inspect."* --- ### `API` OpenAI Adds Image Results to Web Search in the Responses API **OpenAI updated web search in the Responses API so applications can request image results alongside text results. Developers can now build search flows that return product photos, landmarks, events, visual references, and source links from the same tool path.** **Developer Notes:** - Set `search_content_types` to include `image` - Add `text` when you want supporting text results for summary and ranking - Use `image_settings` for result count and captions - Raw image results are available through `web_search_call.results` ([OpenAI API Docs — Web Search](https://developers.openai.com/api/docs/guides/tools-web-search), [OpenAI API Changelog](https://developers.openai.com/api/docs/changelog)) > 💬 *This is small, but useful. A lot of agent workflows quietly need visual references: products, places, UI inspiration, screenshots, charts, maps. Making image search part of the same Responses API tool flow means fewer weird side channels and fewer hand-rolled scrapers. I care less about the feature by itself and more about the API surface getting complete enough to build boring, reliable workflows.* --- ## 🤖 AI Ecosystem Updates ### `Policy` Dario Amodei Publishes "Policy on the AI Exponential" **Anthropic CEO Dario Amodei published a long policy essay arguing that AI progress is moving faster than the policy process was built to handle. He focuses on frontier model regulation, macroeconomics and tax policy, scientific innovation, the balance of power between state and society, and geopolitics.** **Key Proposals:** - Move beyond transparency alone toward stronger frontier model testing and public safety rules - Prepare for structural labor market disruption and consider redistribution mechanisms if AI reduces demand for human labor - Rework scientific and medical policy so AI-accelerated discovery can actually reach patients - Protect against concentration of power as AI gives individuals and institutions more capability - Build democratic coalitions around chips, export controls, security, and frontier AI governance ([Dario Amodei — Policy on the AI Exponential](https://darioamodei.com/post/policy-on-the-ai-exponential), [AP — Anthropic Economic Impact Funding](https://apnews.com/article/afeb5279eef406980dffa46ff91495e0)) > 💬 *I do not always know what to do with essays like this in a developer newsletter, but ignoring it feels wrong. The same week Anthropic ships Fable 5, Dario is arguing that policy is lagging the tools. That tension is worth naming without turning this into a policy newsletter.* --- ### `Ecosystem` OpenAI Says Codex Is Expanding Beyond Developers **OpenAI published a report arguing that Codex is becoming a productivity tool for knowledge workers, not only developers. OpenAI says Codex has more than 5 million weekly active users, up more than 6x since the desktop app launched in February, and that knowledge workers now make up about 20% of users.** **Reported Usage Patterns:** - Knowledge workers use Codex for reports, spreadsheets, presentations, contracts, research, data analysis, workflow automation, and lightweight tools - Multiple Codex tasks increasingly run in parallel - Developers remain the largest user group, but non-developer usage is growing faster - The report frames Codex as a way to remove bottlenecks in knowledge work, not just write code ([OpenAI — Codex for Knowledge Work](https://openai.com/index/codex-for-knowledge-work/)) > 💬 *This tracks with what I keep seeing. Codex started as a coding surface, but the most interesting workflows are not always "write this function." They are "pull this context together, make the artifact, verify it, and keep the thread moving." That is why the workshop is not just a list of Codex commands. It is about building repeatable systems around agents, because the same pattern works whether the output is code, a dashboard, a deck, or a newsletter.* --- ## ⚡ Quick Updates ### `Cloud` Anthropic Fable 5 on AWS - **Announced**: June 9, 2026 - AWS says Claude Fable 5 is available on Amazon Bedrock and Claude Platform on AWS for coding, knowledge work, and vision workloads. ([AWS — Claude Fable 5](https://www.aboutamazon.com/news/aws/claude-fable-5-anthropic-available-amazon-bedrock)) ### `Model Update` Google Gemma 4 12B Still Matters - **Released**: June 3, 2026 - Google released Gemma 4 12B as an Apache 2.0 multimodal model that runs locally with 16GB of VRAM or unified memory. DiffusionGemma is the faster experimental sibling, not a straight replacement. ([Google — Gemma 4 12B](https://blog.google/innovation-and-ai/technology/developers-tools/introducing-gemma-4-12b/), [Google — Gemma Docs](https://ai.google.dev/gemma/docs)) ### `CLI` Google Colab CLI Supports Agent Skills - **Released**: June 5, 2026 - The Colab CLI includes a skill file so terminal agents can understand how to provision remote runtimes, run scripts, recover artifacts, and clean up. ([Google Colab CLI on GitHub](https://github.com/googlecolab/google-colab-cli)) --- ## ✨ Workshop Spotlight ### Codex Power User Workshop **Early bird ends tomorrow** - **Context Packaging**: Bundle files, logs, screenshots, and traces so Codex understands the real problem - **Terminal Workflows**: Run parallel research, planner, builder, and validator sessions without losing the thread - **Agent Profiles**: Compare broad defaults vs. narrow prompts, focused skills, and limited tool access - **Tools & Sandboxing**: Separate read-only from mutation tools and map agents to repeatable tool profiles - **Skills, Hooks & Memory**: Build reusable expertise, enforce guardrails, and capture durable decisions - **Codex SDK**: Embed Codex into CI, dashboards, and internal tools when terminal sessions aren't enough **Friday, Jun 26 @ 9:00 AM to 2:00 PM Pacific** — ⏳ Early Bird Ends Tomorrow **Regular** (no membership required): **$375** (~~$450~~ after tomorrow), you save $75 — [Get Regular Ticket](https://egghead.io/workshop/codex) **Pro Yearly Member** (egghead.io yearly subscription): **$300** (~~$450~~ after tomorrow), you save $150 — double the discount — [Get Pro Ticket](https://egghead.io/workshop/codex) --- Did you enjoy this issue? [Share it with a friend](https://egghead.io/newsletters/ai-dev-essentials). *© 2026 John Lindquist • egghead.io*
article
Hey Everyone 👋, John Lindquist here with the **37th issue of AI Dev Essentials!** **Google released Gemini 3 Flash** globally, delivering Pro-level performance at Flash speed. **OpenAI launched GPT-5.2-Codex**, their most advanced agentic coding model with a 400K context window. **Anthropic made Agent Skills an open standard** with Microsoft, Cursor, and others already adopting it, plus launched a Skills Directory with partners like Vercel, Figma, Notion, and Stripe. On the tooling front, **NVIDIA dropped Nemotron 3 Nano** with a 1M context window, **Cline moved to Vercel AI Gateway** cutting errors by 24%, and **OpenCode launched their Desktop beta**. Google also introduced **CC**, an experimental AI productivity agent in Gmail, and integrated **Opal** (their vibe-coding tool) directly into Gemini. On a personal note, I spoke at [Microsoft AI Dev Days last week](https://www.youtube.com/watch?v=Ed3uQYdr3Wc) and shipped a nice little agent scripting tool called [mdflow](https://mdflow.dev). Let's start this off with a sweet little deal... --- ## 🎁 egghead.io Lifetime Sale 👀 Since I'm not teaching a workshop this month, I wanted to do something a little different and open up a sweet little bundle: **egghead Lifetime**. Pay once, keep it for life. Plus, during this sale you get two full workshop recordings: - **Cursor Power User** workshop recording ($375 value) - **Claude Code Power User** workshop recording ($375 value) That's $750 in bonus training along with everything else on egghead. If you want to end the year strong and start 2026 with momentum, this is your next step. 👉 **[Get egghead Lifetime here](https://egghead.io/forever)** --- ## 🚀 mdflow Launch I launched [mdflow](https://mdflow.dev) this week. It's a scripting language for AI agents built on executable markdown. You write instructions and code blocks in a `.md` file, and mdflow runs them in sequence, passing context between steps. Think of it as literate programming meets agent orchestration. It's perfect for creating repeatable workflows that AI agents can follow, or for making your documentation actually runnable. The syntax is just markdown, so there's no new language to learn. --- ## 🚀 Major Announcements ### `Breaking` Google Releases Gemini 3 Flash with Pro-Level Performance **Google released Gemini 3 Flash on December 17, 2025, making it the default model in the Gemini app globally. The model delivers "frontier intelligence built for speed" with Pro-level performance at Flash-level latency.** **Benchmark Performance:** - **GPQA Diamond**: 90.4% (PhD-level reasoning) - **Humanity's Last Exam**: 33.7% without tools (3x the previous Flash model's 11%) - **MMMU-Pro**: 81.2% (state-of-the-art, comparable to Gemini 3 Pro) - **Video-MMMU**: 87.6% (multimodal video understanding) - **SWE-bench Verified**: 78% for agentic coding (outperforms Gemini 3 Pro's 72.8%) **Technical Specs:** - **Context Window**: 1 million tokens input, 64K output - **Speed**: 3x faster than Gemini 2.5 Pro, 218 output tokens/second - **Token Efficiency**: Uses 30% fewer tokens than 2.5 Pro on average - **Thinking Levels**: Four modes (minimal, low, medium, high) for controlling reasoning depth **Pricing:** - **Input**: $0.50 per 1M tokens - **Output**: $3.00 per 1M tokens - **Context Caching**: 90% cost reduction for repeated tokens - **Batch API**: 50% cost savings for async processing **Availability**: Gemini app (default), Google AI Studio, Vertex AI, Gemini API, Gemini CLI, Google Antigravity, and AI Mode in Google Search. ([Google Blog](https://blog.google/products/gemini/gemini-3-flash/), [Google Developers Blog](https://blog.google/technology/developers/build-with-gemini-3-flash/), [TechCrunch](https://techcrunch.com/2025/12/17/google-launches-gemini-3-flash-makes-it-the-default-model-in-the-gemini-app/), [SiliconANGLE](https://siliconangle.com/2025/12/17/googles-gemini-3-flash-makes-big-splash-faster-responsiveness-superior-reasoning/)) > 💬 *Flash 3 is my normal life "daily driver". It's the default model on Android for all of my dictated actions. It's my default model on gemini for replacing "searching". I'm still deeply in love with Opus 4.5 for development, but I'm experimenting with Opus 4.5 being a "manager" and multiple Flash 3s being the "workers". Nothing to share yet, but I'll keep you posted on how it turns out.* --- ### OpenAI Releases GPT-5.2-Codex for Agentic Coding **OpenAI launched GPT-5.2-Codex on December 18, 2025, describing it as "the most advanced agentic coding model yet for complex, real-world software engineering."** **Technical Capabilities:** - **Context Window**: 400,000 tokens with 128,000 max output tokens - **Native Compaction**: Optimized for long-horizon work through context compaction - **Windows Support**: First OpenAI model trained to operate in Windows environments - **Enhanced Security**: Strongest cybersecurity capabilities of any OpenAI model **Benchmark Performance:** - **SWE-Bench Pro**: 56.4% accuracy (highest of all coding models) - **Terminal-Bench 2.0**: 64% accuracy **Real-World Validation**: Security engineer Andrew MacPherson used GPT-5.1-Codex-Max to discover three React Server Components vulnerabilities (CVE-2025-55183, CVE-2025-55184, CVE-2025-67779). **Availability**: All Codex surfaces for paid ChatGPT users. API access coming in the following weeks. ([OpenAI Blog](https://openai.com/index/introducing-gpt-5-2-codex/), [OpenAI System Card](https://openai.com/index/gpt-5-2-codex-system-card/), [SiliconANGLE](https://siliconangle.com/2025/12/18/openais-gpt-5-2-codex-advances-software-engineering-better-reasoning-context-understanding/)) > 💬 *The Opus 4.5 challenger arrives! I've heard great things from friends about it, but since it just dropped yesterday and I'm deep in Claude Code work, I haven't had a chance to spin up Codex, etc and give it a fair shake. Initial anectodal reports that "it's really smart in different ways", so I think deciding when to use which model might have to be learned trait based on your specific requirements. I'll have to post more about mdflow and how it can bring together multiple models/agents into a single prompt...* --- ### `Breaking` Anthropic Makes Agent Skills an Open Standard **Anthropic announced on December 18, 2025 that Agent Skills is now an open standard, with a new Skills Directory launching at [claude.com/connectors](https://claude.com/connectors).** **Open Standard Adoption:** - **Microsoft**: Adopted within VS Code and GitHub - **Coding Agents**: Cursor, Goose, Amp, and OpenCode already supporting skills - **Directory Partners**: Atlassian (Jira, Confluence), Canva, Figma, Notion, Cloudflare, Zapier, Stripe, Vercel **Skills Directory Features:** - Browse and enable skills at [claude.com/connectors](https://claude.com/connectors) - One-click installation for verified partner skills - Skills work across Claude.ai, Claude Desktop, and Claude Code ([Anthropic - Skills Open Standard](https://siliconangle.com/2025/12/18/anthropic-makes-agent-skills-open-standard/), [Claude Blog - Skills Directory](https://claude.com/blog/organization-skills-and-directory), [Claude Blog - Introducing Skills](https://claude.com/blog/skills)) > 💬 *We all win here! I've grown to love skills over the past couple of months. It's a great way of lazy-loading a ton of relevant context for specific tasks and they're completely decoupled from the tools that need them. So it's awesome to see the AI ecosystem adopt them and I'm sure we'll see an explosions of shared skills in 2026.* --- ### `Tool` Claude Code Chrome Extension Enables Browser Testing **Anthropic released Claude Code integration with Chrome on December 18, 2025, enabling a complete build-test-verify workflow directly from the terminal.** **Capabilities:** - Test code directly in the browser to validate work - Read client-side errors via console logs - Access DOM state, network requests, and page content - Interact with authenticated web apps **Workflow**: Build with Claude Code in your terminal, test in the browser with the Chrome extension, debug using console logs. Launch with `/chrome` command. ([Claude Code Docs - Chrome](https://code.claude.com/docs/en/chrome), [Claude Blog - Chrome Pilot](https://claude.com/blog/claude-for-chrome)) > 💬 *What distinguishes this from other solutions is how you get to use "Real Chrome" and not an isolated playwright browser. I've had a lot of luck using the Claude Chrome extension for interacting with real web apps. I can't wait to hook it up to Claude Code for dev projects.* --- ## 🛠️ Developer Tooling Updates ### `Tool` xAI Launches Grok Voice Agent APIs **xAI released the Grok Voice Agent API on December 17, 2025, enabling developers to build voice agents with sub-second response times.** **Technical Specs:** - **Latency**: Average time-to-first-audio under 1 second (5x faster than closest competitor) - **Benchmark**: #1 on Big Bench Audio - **Languages**: 100+ with automatic detection - **Pricing**: $0.05 per minute flat rate **Available Voices**: Sal, Rex, Eve, Leo, Ara, Mika, Valentin. Developers can prompt auditory cues like [whisper], [sigh], and [laugh]. ([xAI Documentation](https://docs.x.ai/docs/guides/voice), [LiveKit Partnership](https://blog.livekit.io/xai-livekit-partnership-grok-voice-agent-api/)) --- ### `Tool` NVIDIA Releases Nemotron 3 Nano with 1M Context **NVIDIA released Nemotron 3 Nano on December 15, 2025, a hybrid reasoning model with 1M token context window.** **Architecture:** - **Parameters**: 3.2B active (31.6B total) with hybrid Mamba-Transformer MoE - **Context**: 1M tokens (68.2% accuracy at full context on RULER) - **Throughput**: Up to 3.3x higher than comparable open-source models **Open Source**: Weights, datasets, training recipes, 3T pre-training tokens. Runs on 24GB RAM via GGUF. ([NVIDIA Research](https://research.nvidia.com/labs/nemotron/Nemotron-3/), [Hugging Face Blog](https://huggingface.co/blog/nvidia/nemotron-3-nano-efficient-open-intelligent-models)) --- ### `Tool` Cline Moves to Vercel AI Gateway **Cline announced their migration to Vercel AI Gateway on December 16, 2025, reporting significant improvements.** **Performance**: Error rates down 24.3%, P99 streaming latency improved 10-14%, automatic failover during provider outages. **Scale**: 1M+ developers and 4M+ installations. ([Vercel Blog](https://vercel.com/blog/cline-on-ai-gateway), [Cline Blog](https://cline.bot/blog/cline-provider-now-runs-on-vercel)) --- ### `Tool` OpenCode Desktop Launches in Beta **OpenCode released their Desktop application in beta on December 15, 2025.** **Features**: Native cross-platform app (Tauri + SolidJS), multi-project workspace, persistent sessions, embedded terminal, diff viewers. Free models included or connect any provider. **Install**: `brew install --cask opencode-desktop` on macOS. ([OpenCode Official](https://opencode.ai/), [GitHub](https://github.com/sst/opencode)) --- ### `Tool` Claude Code Ships Terminal Rendering Overhaul **Anthropic announced on December 17, 2025 that Claude Code's terminal rendering was rewritten, reducing flickering by ~85%.** **Improvements**: Fixed diff view on resize, 3x better memory usage for large conversations, fixed rendering during token streaming. **December 16 Updates**: Syntax highlighting for diffs, prompt suggestions, first-party plugins marketplace, shareable guest passes. ([ClaudeLog Changelog](https://claudelog.com/claude-code-changelog/)) > 💬 *We'll see if this sticks. I just read that they're rolling it back temporarily due to some edge cases in some environments.* --- ## 🤖 AI Ecosystem Updates ### `Tool` Google Labs Launches CC AI Productivity Agent **Google Labs released CC on December 16, 2025, an experimental AI agent delivering "Your Day Ahead" briefings via Gmail, Calendar, and Drive.** **Capabilities**: Morning briefings, email drafting, calendar link creation, web search context, cross-document connections. **Limitations**: Cannot send emails or reschedule meetings autonomously. **Availability**: Early access for Google AI Ultra and paid Gemini subscribers (US/Canada). ([Google Blog](https://blog.google/technology/google-labs/cc-ai-agent/), [9to5Google](https://9to5google.com/2025/12/16/google-labs-cc/)) > 💬 *This is actually pretty awesome. I definitely recommend giving it a shot to see a clean summary of the emails of your day that you might not otherwise read.* --- ### `Tool` Gemini Deep Research Adds Visual Reports **Google enhanced Deep Research on December 16, 2025 with AI-generated images, charts, and interactive simulations.** **Capabilities**: Custom visuals from research, interactive variable adjustment, reports in Canvas. Exclusive to AI Ultra ($250/month). ([Google Blog](https://blog.google/products/gemini/visual-reports/), [9to5Google](https://9to5google.com/2025/12/16/gemini-deep-research-images/)) > 💬 *Some of the graphs and charts they produce are super clean. I hope they expose ways to have full control over the visualizations and allow users to customize them further.* --- ### `Tool` NotebookLM Integration Rolling Out in Gemini **Google began rolling out NotebookLM integration in Gemini on December 13-17, 2025.** **How It Works**: Attach notebooks as context via the plus menu. Gemini responds based on curated sources rather than web search. ([9to5Google](https://9to5google.com/2025/12/17/gemini-app-notebooklm/), [Android Central](https://www.androidcentral.com/apps-software/googles-gemini-now-integrates-seamlessly-with-notebooklm-for-improved-project-management)) > 💬 *This is the integration I've been waiting for! Being able to use NotebookLM as context in Gemini means I can leverage curated research directly.* --- ### `Ecosystem` OpenAI Launches ChatGPT App Store **OpenAI launched the ChatGPT App Store on December 18, 2025, opening to 800+ million users.** **Partners**: Booking.com, Spotify, Dropbox, DoorDash, Zillow. Built on MCP. Submit apps through OpenAI Developer Platform. ([TechCrunch](https://techcrunch.com/2025/12/18/chatgpt-launches-an-app-store-lets-developers-know-its-open-for-business/), [Engadget](https://www.engadget.com/ai/openai-just-launched-an-app-store-inside-chatgpt-133049586.html)) > 💬 *This is a big opportunity for devs who want to jump in and try to claim one of those "first to the app store" spots.* --- ### `Research` Apple Releases SHARP for Instant 3D Photo Conversion **Apple published SHARP on December 11, 2025, converting single 2D photos to 3D in under one second.** **Technical**: Single feedforward pass, 3D Gaussian at 100+ fps, 25-34% LPIPS improvement, three orders of magnitude faster than previous methods. Open source under Apache 2.0. ([arXiv](https://arxiv.org/abs/2512.10685), [Apple ML Research](https://machinelearning.apple.com/research/sharp-monocular-view), [GitHub](https://github.com/apple/ml-sharp)) --- ## ⚡ Quick Updates ### Gemini 2.5 Flash Native Audio Upgrade - **Release**: December 12, 2025 - **Function Calling**: ComplexFuncBench Audio score of 71.5% - **Instruction Following**: 90% adherence rate (up from 84%) - **Live Translation**: Streaming speech-to-speech in 70+ languages ([Google Blog](https://blog.google/products/gemini/gemini-audio-model-updates/)) ### Standard JSON Schema Specification - **Created by**: Zod, Valibot, and ArkType creators - **Purpose**: Unified JSON Schema with preserved type inference - **AI SDK 6 Beta**: Native `jsonSchema` helper function ([Standard JSON Schema](https://standardschema.dev/json-schema)) ### Google Agent Development Kit for TypeScript - **Release**: December 17, 2025 - **Version**: ADK TypeScript v0.2.0 - **Features**: Code-first multi-agent systems, type-safe development ([Google Developers Blog](https://developers.googleblog.com/introducing-agent-development-kit-for-typescript-build-ai-agents-with-the-power-of-a-code-first-approach/)) ### React Grab Agent Integration - **Feature**: Click any React element, copy exact source location - **Agents**: Works with Claude Code, Cursor, OpenCode, Codex, Gemini - **Install**: `npx @react-grab/cli@latest` ([GitHub](https://github.com/aidenybai/react-grab)) --- ## 📢 Workshop Update Due to the raging success of this past year's AI Workshops, I'm moving them to a monthly cadence under [dev.build](https://dev.build) to help with bookkeeping. There are no workshops left this year, but we're planning 1 per month next year with the first tentatively planned for Jan 30. We'll announce more soon. --- ## Happy Holidays 🎅! This is the last newsletter of the year (I really hope no one is releases anything interesting next week...). I'll be on vacation with my family and loved ones next week and I sincerely hope you and yours have a wonderful holiday season! See you in 2026! Read this far? Share "AI Dev Essentials" with a friend! — [egghead.io/newsletters/ai-dev-essentials](https://egghead.io/newsletters/ai-dev-essentials) — John Lindquist [egghead.io](https://egghead.io) --- *Did you enjoy this issue? Share it with a friend.* *© 2025 John Lindquist • egghead.io*
article
Hey Everyone 👋, John Lindquist here with the **36th issue of AI Dev Essentials!** This week **Anthropic, OpenAI, and Block co-founded the Agentic AI Foundation** under the Linux Foundation, donating MCP, AGENTS.md, and goose to ensure open governance for the agentic future. **Mistral AI** dropped Devstral 2 with their new Mistral Vibe CLI for end-to-end code automation. The **Claude Agent SDK** got major upgrades including 1M context window support and sandboxing. **Google AlphaEvolve** entered private preview on Google Cloud. And a critical **React2Shell vulnerability** (CVE-2025-55182) sent the React ecosystem scrambling with Vercel deploying auto-fix tools. On the vision model front, **Z.ai released GLM-4.6V** with native function calling for multimodal workflows. Google and Replit announced a partnership to bring "enterprise vibe-coding" mainstream, while **NotebookLM** expanded mobile features with direct camera uploads. Microsoft invited me to guest speak at their AI Dev Days event tomorrow, so I've been preparing a talk called "Scripting Copilot" to show off what you can do when you pipe and compose AI agents together. I'll be teaching how to build reproducible agentic workflows for your team. Lastly, I have a couple of awesome announcements that I'll save for next week... so stay tuned! > ⚡ **Claude Code Power User Workshop** — 📅 Dec 19 > 🚨 THIS FRIDAY — [Register Now](https://egghead.io/workshop/claude-code) --- ## 📚 dev.build Lessons ### Bridge Automated and Human-in-the-Loop AI Workflows with Claude Code Learn how to create persistent, reusable Claude Code sessions using `--session-id` and `--resume` flags. The lesson demonstrates a powerful triage pattern: use a cheap, fast model (Haiku) for initial checks, then automatically escalate to a more powerful model (Opus) in interactive mode only when issues are detected. [dev.build](https://www.dev.build/bridge-automated-and-human-in-the-loop-ai-workflows-with-claude-code~i6xy4) --- ## 🚀 Major Announcements ### `Breaking` Agentic AI Foundation Launches Under Linux Foundation **On December 9, 2025, the Linux Foundation announced the Agentic AI Foundation (AAIF), with Anthropic donating MCP, OpenAI donating AGENTS.md, and Block donating goose.** **Founding Members & Contributions:** - **Anthropic**: Model Context Protocol (MCP) - 10,000+ servers, 97M+ monthly SDK downloads - **OpenAI**: AGENTS.md - instruction standard adopted by 60,000+ projects - **Block**: goose - open-source, local-first AI agent framework **Platinum Members (8)**: AWS, Anthropic, Block, Bloomberg, Cloudflare, Google, Microsoft, OpenAI **Gold Members (18)**: Adyen, Arcade.dev, Cisco, Datadog, Docker, Ericsson, IBM, JetBrains, Okta, Oracle, Runlayer, Salesforce, SAP, Shopify, Snowflake, Temporal, Tetrate, Twilio GitHub contributed OAuth flows, MCP Registry, and enterprise governance features. ([Linux Foundation](https://www.linuxfoundation.org/press/linux-foundation-announces-the-formation-of-the-agentic-ai-foundation), [Anthropic](https://www.anthropic.com/news/donating-the-model-context-protocol-and-establishing-of-the-agentic-ai-foundation), [Block](https://block.xyz/inside/block-anthropic-and-openai-launch-the-agentic-ai-foundation), [GitHub Blog](https://github.blog/open-source/maintainers/mcp-joins-the-linux-foundation-what-this-means-for-developers-building-the-next-era-of-ai-tools-and-agents/), [TechCrunch](https://techcrunch.com/2025/12/09/openai-anthropic-and-block-join-new-linux-foundation-effort-to-standardize-the-ai-agent-era/)) > 💬 *It's nice to see important projects being taken under a neutral foundation rather than owned by a single enterprise. This ensures these projects will benefit all the tools out there rather than being focused solely on supporting the company that owns them.* --- ### `Breaking` Mistral AI Releases Devstral 2 and Mistral Vibe CLI **Mistral AI announced Devstral 2 on December 9, 2025, alongside Mistral Vibe, their open-source CLI for end-to-end code automation.** **Devstral 2 Models:** - **Devstral 2 (123B)**: 256K context, modified MIT license, requires 4+ H100 GPUs - **Devstral Small 2 (24B)**: 256K context, Apache 2.0 license, runs on single GPU/CPU **Performance**: 72.2% on SWE-bench Verified (5x smaller than DeepSeek V3.2 with near-equivalent performance) **Mistral Vibe CLI**: Open-source (Apache 2.0), project-aware context, @ autocomplete for files, ripgrep integration, Zed IDE extension available. **Pricing**: Currently free via API. Future: $0.40/$2.00 per M tokens (Devstral 2), $0.10/$0.30 (Small 2) ([Mistral AI](https://mistral.ai/news/devstral-2-vibe-cli), [TechCrunch](https://techcrunch.com/2025/12/09/mistral-ai-surfs-vibe-coding-tailwinds-with-new-coding-models/), [VentureBeat](https://venturebeat.com/ai/mistral-launches-powerful-devstral-2-coding-model-including-open-source)) > 💬 *These are extremely impressive releases. I need to set aside some time to compare if the slight trade-off in intelligence is worth the massive wins in cost and open source flexibility. You can feel open source models breathing down the necks of the big ones, and it's exciting times for everyone to get more access and more usage out of the tooling we know and love.* --- ### `Tool` Claude Agent SDK Gets 1M Context and Sandboxing **Anthropic shipped major updates to the Claude Agent SDK including 1M context window support, sandboxing, and Skills integration.** **1M Context**: Enable via `betas: ['context-1m-2025-08-07']`. Compatible with Sonnet 4/4.5. 78.2% on SWE-bench with 1M context. **Sandboxing**: Command sandboxing, network controls (`allowLocalBinding`, `allowUnixSockets`), command exclusions, violation handling. **Skills**: Configure `settingSources: ['user', 'project']`, add `"Skill"` to `allowedTools`. Auto-discovered from `.claude/skills/`. ([Anthropic Engineering](https://www.anthropic.com/engineering/building-agents-with-the-claude-agent-sdk), [Agent SDK Docs](https://platform.claude.com/docs/en/agent-sdk/overview), [Skills Guide](https://platform.claude.com/docs/en/agent-sdk/skills)) > 💬 *I'm most excited about the version 2 of the TypeScript SDK they're sneaking in, which completely rewrites parsing out conversations with much simpler scripting logic. The version 1 SDK felt pretty clunky, but the new approach feels just like iterating through a loop. Definitely expect more lessons about it from me.* --- ### `Tool` Google AlphaEvolve Enters Private Preview **Google Cloud announced AlphaEvolve's private preview on December 9, 2025, making the Gemini-powered algorithm design agent available to enterprises.** **Proven Results**: Recovered 0.7% of Google's global compute, sped up Gemini kernel by 23%, designed new matrix multiplication algorithm beating methods since 1969. **Applications**: Biotech molecular simulation, logistics routing, general algorithm optimization. ([Google Cloud](https://cloud.google.com/blog/products/ai-machine-learning/alphaevolve-on-google-cloud), [DeepMind](https://deepmind.google/blog/alphaevolve-a-gemini-powered-coding-agent-for-designing-advanced-algorithms/)) > 💬 *Algorithms drive the world, and even the smallest wins end up saving massive compute and massive amounts of money while making the world operate better. Sticking AIs on these problems to automatically benchmark and find better ways is one of the most important things going on in the field right now.* --- ## 🛠️ Developer Tooling Updates ### `Breaking` React2Shell Vulnerability (CVE-2025-55182) - CVSS 10.0 **A critical RCE vulnerability affecting React 19.x and Next.js 15.0.0-16.0.6 was disclosed December 3, 2025, with active exploitation in the wild.** **Vercel Auto-Fix**: Vercel Agent detects vulnerable projects and opens PRs to patch. WAF rules deployed December 5. **Fix**: `npx fix-react2shell-next`. Patched versions: React 19.0.1, 19.1.2, 19.2.1. **Rotate all secrets after patching.** ([Vercel](https://vercel.com/blog/resources-for-protecting-against-react2shell), [Trend Micro](https://www.trendmicro.com/en_us/research/25/l/CVE-2025-55182-analysis-poc-itw.html), [AWS Security](https://aws.amazon.com/blogs/security/china-nexus-cyber-threat-groups-rapidly-exploit-react2shell-vulnerability-cve-2025-55182/)) > 💬 *If you're running React 19 or Next.js 15-16, stop reading and patch now. CVSS 10.0 with active exploitation. Run the fix command, update dependencies, rotate secrets.* --- ### `Tool` Vercel AI SDK 6 Beta Ships **Vercel released AI SDK 6 Beta with a unified agent interface, human-in-the-loop patterns, and structured data alongside tool calling.** **Install**: `npm install ai@beta @ai-sdk/openai@beta @ai-sdk/react@beta` **Migration guide**: <https://v6.ai-sdk.dev/docs/migration-guides/migration-guide-6-0> ([AI SDK 6 Beta](https://v6.ai-sdk.dev/docs/announcing-ai-sdk-6-beta)) --- ### `Tool` Z.ai Releases GLM-4.6V with Native Visual Function Calling **Z.ai released GLM-4.6V on December 8, 2025, featuring native function calling in a vision-language model.** **Models**: GLM-4.6V (106B) and GLM-4.6V-Flash (9B). 128K context window. MIT license. **Capabilities**: Pass raw image data to tools, generate HTML/CSS/JS from screenshots. **Pricing**: $0.30/$0.90 per M tokens (GLM-4.6V), Flash is free. ([Z.ai](https://z.ai/blog/glm-4.6v), [VentureBeat](https://venturebeat.com/ai/z-ai-debuts-open-source-glm-4-6v-a-native-tool-calling-vision-model-for), [MarkTechPost](https://www.marktechpost.com/2025/12/09/zhipu-ai-releases-glm-4-6v-a-128k-context-vision-language-model-with-native-tool-calling/)) > 💬 *It's easy to underestimate just how important multimodal input is, and this is probably the best open source option we have right now. Any sort of workflow where you're analyzing images, definitely give this a shot.* --- ### `Tool` Vercel for Platforms Enables Multi-Tenant SaaS **Vercel announced Vercel for Platforms on December 5, 2025, for multi-tenant and multi-project platforms.** **Features**: Wildcard domains with auto SSL, custom domain SDK, routing middleware, programmatic domain management. ([Vercel Docs](https://vercel.com/docs/multi-tenant), [Changelog](https://vercel.com/changelog/introducing-vercel-for-platforms)) --- ## 🤖 AI Ecosystem Updates ### `Ecosystem` Google and Replit Partner on Enterprise Vibe-Coding **Google Cloud and Replit announced a partnership expansion on December 4, 2025, integrating Gemini models for enterprise vibe-coding.** **Replit Growth**: $250M funding (Sept 2025), $3B valuation, revenue from $2.8M to $150M annualized. **Google AI Studio**: Describe apps in natural language, generate React/Angular, one-click deploy to Cloud Run. ([CNBC](https://www.cnbc.com/2025/12/04/google-replit-ai-vibe-coding-anthropic-cursor.html), [Google Cloud](https://cloud.google.com/blog/products/ai-machine-learning/bringing-vibe-coding-to-the-enterprise-with-replit)) > 💬 *Replit's revenue growth from $2.8M to $150M is staggering. I'm still more comfortable in Claude Code for complex projects, but vibe-coding tools are becoming the entry point for a new generation of developers.* --- ### `Tool` NotebookLM Expands Mobile with Camera Integration **Google rolled out NotebookLM mobile updates in December 2025 with direct camera capture and podcast progress saving.** **Features**: Camera capture for whiteboards/notes, infographics and slides on mobile, 50% chat quality improvement. ([9to5Google](https://9to5google.com/2025/12/04/notebooklm-camera-image-sources/), [Jetstream](https://jetstream.blog/en/android-ios-notebooklm-direct-image-upload-support/)) > 💬 *The camera integration is exactly what I've been wanting. Snap a photo of a whiteboard and immediately add it as a source. Game-changer for meetings.* --- ### `Ecosystem` OpenAI Hires Former Slack CEO as CRO **OpenAI announced Denise Dresser, former Slack CEO, as Chief Revenue Officer on December 9, 2025.** ([OpenAI](https://openai.com/index/openai-appoints-denise-dresser/)) --- ### `Research` Anthropic Launches Interviewer Tool **Anthropic released Anthropic Interviewer on December 4, 2025, for gathering AI perspectives at [claude.ai/interviewer](https://claude.ai/interviewer).** ([Anthropic](https://www.anthropic.com/news/anthropic-interviewer)) --- ## ⚡ Quick Updates ### Cursor Gets New Codex Model - Free until December 11, optimized agent harness ([Cursor](https://cursor.com/changelog)) ### Mixboard Gets Nano Banana Pro - Create presentations with latest image generation ([Google Labs](https://blog.google/technology/google-labs/create-presentations-with-nano-banana-pro-in-mixboard-and-more/)) ### GPT-5.2 Possibly Testing (Rumor) - Codename "olive-oil-cake" found in Notion codebase (unconfirmed) ### Professional AI Usage Dataset Released - 1,250 interviews on Hugging Face ([Dataset](https://huggingface.co/datasets/Anthropic/AnthropicInterviewer)) --- ## ✨ Workshop Spotlight ### Claude Code Power User Workshop (🚨 THIS FRIDAY! 🚨) What you'll learn: - **Context Engineering**: Control what context Claude sees - **TypeScript SDK**: Script Claude programmatically - **Custom Hooks**: Automate repetitive tasks - **Model Context Protocol**: Integrate APIs securely - **Claude Code Skills**: Build custom skills - **Live Q&A**: Get your questions answered **Friday, Dec 19 @ 9:00 AM PST** [Register Now ($375)](https://egghead.io/workshop/claude-code) — $300 for egghead Pro Members --- *Did you enjoy this issue? Share it with a friend.* *© 2025 John Lindquist • egghead.io*
article
Hey Everyone 👋, John Lindquist here with the **35th issue of AI Dev Essentials!** **Anthropic acquired Bun** as Claude Code hit $1 billion in run-rate revenue just six months after public launch. AWS re:Invent 2025 dominated the week with **Amazon Nova 2** models, the **Kiro** autonomous coding agent, and the blazing-fast **Trainium3** chip. **Mistral AI** dropped their entire Mistral 3 family under Apache 2.0, including a massive 675B parameter model. **DeepSeek** released V3.2 with groundbreaking sparse attention that rivals Gemini 3 Pro. **TypeScript 7** is now ready for testing with its native Go-based compiler delivering 10x faster builds. And **Anthropic** is reportedly preparing for a 2026 IPO at a potential $300 billion valuation. The AI video space also heated up with **Runway Gen-4.5** "Whisper Thunder" claiming the top spot on benchmarks, while **Kling 2.6** introduced native audio generation for synchronized speaking, singing, and sound effects. I've been focusing on a tool for benchmarking CLAUDE.md files (sharing soon!), optimizing "code mode" for lazy loading tools, and preparing for my guest speaking spot at Microsoft's AI Dev Days next week. I'll be speaking about "Scripting AI Agents" and how you can combine deterministic scripts with non-deterministic agents to create powerful workflows. It will be published after and I'll make sure to share the link here. > ⚡ **Claude Code Power User Workshop** — 📅 Dec 12 > 🚨 ENDS TONIGHT • 🔥 Early Bird: $300 (was $375) — [Register Now](https://egghead.io/workshop/claude-code) --- ## 🚀 Major Announcements ### `Breaking` Anthropic Acquires Bun as Claude Code Hits $1B Milestone **Anthropic announced on December 2, 2025 that it is acquiring Bun, the breakthrough JavaScript runtime, as Claude Code reached $1 billion in run-rate revenue just six months after becoming publicly available.** **Claude Code Milestone:** - **$1B Run-Rate Revenue**: Achieved in only 6 months since May 2025 GA launch - **Enterprise Adoption**: Netflix, Spotify, KPMG, L'Oreal, Salesforce among customers - **Origin**: Started as internal engineering experiment, now critical enterprise tool **Bun Acquisition Details:** - **Founded**: 2021 by Jarred Sumner - **Capabilities**: All-in-one JavaScript toolkit (runtime, package manager, bundler, test runner) - **Adoption**: 7+ million monthly downloads, 82,000+ GitHub stars - **Users**: Midjourney, Lovable, and many others - **License**: Will remain open source and MIT-licensed **Integration Benefits:** - **Faster Performance**: Bun's speed optimizations coming to Claude Code - **Improved Stability**: Enhanced reliability for AI-led development workflows - **Native Installer**: Bun already powered Claude Code's recent native installer launch - **New Capabilities**: Deeper integration between runtime and AI coding workflows > "Bun represents exactly the kind of technical excellence we want to bring into Anthropic. Jarred and his team rethought the entire JavaScript toolchain from first principles while remaining focused on real use cases." — Mike Krieger, Chief Product Officer, Anthropic (*Anthropic News*) > 💬 *I use Bun for all of my personal projects and even scripts. I'm excited to see it get the support it needs to continue to grow. I just hope Anthropic is a good steward of the project since ironically Claude Code is one of the only AI CLIs that is closed-source. The most interesting theory I've heard is that now Anthropic can add a standard lib to Bun, train Claude Code on it, then use it as a much more powerful and reliable foundational tool that works in every ecosystem.* --- ### `Breaking` AWS re:Invent 2025: Nova 2 Models, Kiro Agent, and Trainium3 **AWS unveiled a comprehensive AI strategy at re:Invent 2025 (December 2-5), introducing the Nova 2 model family, three frontier AI agents, and the next-generation Trainium3 chip.** **Nova 2 Model Family:** - **Nova 2 Pro**: Flagship reasoning model with multimodal capabilities (text, images, video, speech) for complex problem-solving and agentic workflows - **Nova 2 Lite**: Cost-effective, low-latency model for high-volume tasks - **Nova 2 Omni**: Native multimodal model processing text, audio, and video simultaneously with image generation - **Nova 2 Sonic**: Speech-to-speech model for real-time voice interactions with emotion understanding - **Context Window**: 1 million tokens across all models - **Performance**: ~66% on SWE-bench Verified via Amazon Q Developer **Frontier AI Agents:** - **Kiro**: Autonomous coding agent that works independently for hours to days, learns team patterns, integrates with Jira/GitHub/Slack, and manages multi-repository changes - **AWS Security Agent**: Virtual penetration tester with autonomous security reviews and CI/CD validation - **AWS DevOps Agent**: Always-on operations expert for incident triage, root cause analysis, and IaC generation **Trainium3 Chip Specifications:** - **Performance**: 2.52 PetaFLOPS (FP8) per chip, up to 10 PetaFLOPS with sparsity - **Memory**: 144 GB HBM3e per chip with 4.9 TB/s bandwidth - **Efficiency**: 40% more energy efficient, 3x throughput vs Trainium2 - **UltraServer Scale**: 144 chips per server (~362 PetaFLOPS total) - **Cost**: 50% lower training costs vs comparable GPU instances (*AWS News Blog, TechCrunch, VentureBeat*) > 💬 *I was wondering where AWS was in the AI space. Looks like they're diving in full throttle. My "way too early" take is that the early benchmarks for Nova 2 Pro lag a little behind the other frontier models, so no one is really going to rush out to try it. I'm certainly way too busy with so many other tools to dedicate any time to anything that's not the "best". Opus 4.5 has stolen my heart.* --- ### `Breaking` Mistral 3 Family: 675B Parameters Under Apache 2.0 **Mistral AI released their third-generation model family on December 2, 2025, open-sourcing their entire frontier lineup including a 675B parameter flagship model under the Apache 2.0 license.** **Mistral Large 3 Specifications:** - **Total Parameters**: 675 billion (41B active via Mixture-of-Experts) - **Context Window**: 256,000 tokens - **Training**: 3,000 NVIDIA H200 GPUs - **License**: Apache 2.0 (unrestricted commercial use) - **Performance**: #2 on LMArena for open-source non-reasoning models **Ministral 3 Series (Edge-Focused):** - **Sizes**: 3B, 8B, and 14B parameters - **Variants**: Base, Instruct, and Reasoning versions - **Target**: Edge devices, local deployment, consumer hardware **Key Capabilities:** - **Native Vision**: All models include image understanding - **Tool Use**: Optimized for agentic workflows and function calling - **Multilingual**: Strong European language support - **Cost Efficiency**: Claims ~80% lower cost than top-tier proprietary models **Availability**: Mistral AI Studio, Amazon Bedrock, Azure AI Foundry, Google Cloud Vertex AI, Hugging Face, OpenRouter, vLLM (*Mistral AI Blog, TechCrunch, VentureBeat*) > 💬 *Another solid win for open source. It's great to see them staying close to closed models and it gives me some hope that open source will win out in the end. That cost-efficiency is a huge deal for many scenarios though.* --- ### `Breaking` DeepSeek V3.2 Launches with Revolutionary Sparse Attention **DeepSeek released V3.2 and V3.2-Speciale on December 1, 2025, introducing DeepSeek Sparse Attention (DSA) that reduces attention complexity from quadratic to near-linear while rivaling Gemini 3 Pro performance.** **Technical Breakthrough:** - **DeepSeek Sparse Attention**: 90% sparsity with near-linear O(kL) complexity - **Performance Gains**: 3.5x faster inference for 128k context, 50-70% cost reduction - **Architecture**: Lightning Indexer for token ranking, Fine-Grained Selector for relevance **Model Variants:** - **V3.2**: Daily driver with "thinking in tool-use" capability, OpenAI-compatible API - **V3.2-Speciale**: Maxed reasoning (2-5x more output tokens), rivals Gemini 3 Pro **Performance Benchmarks:** - **MMLU**: ~91% (Speciale) - **Codeforces**: Gold Level (outperforms GPT-5 High in competitive coding) - **IMO/IOI**: Gold-level performance - **ICPC World Finals**: 2nd place **Pricing (Extremely Aggressive):** - **Input**: $0.27-0.28/M tokens (Cache hit: $0.028) - **Output**: $0.41-0.42/M tokens - **10-20x cheaper** than GPT-5 equivalents **Availability**: DeepSeek platform, mobile app, API, OpenRouter. V3.2-Speciale free until December 15, 2025. (*DeepSeek Blog, OpenRouter*) > 💬 *DeepSeek has full integration with Claude Code, so it's a model I've thrown a few tests at last week. It does feel a little slower than Opus 4.5, but good enough (and cheap enough) that I'll keep it in the mix and throw some more long-running tests with it. I did see some bugs around compaction which might be a blocker for me, but I'm not sure if they were random or if I'll keep running into them.* --- ### `Tool` TypeScript 7 Native Port Ready for Testing with 10x Speed Gains **Microsoft announced on December 2, 2025 that TypeScript 7's native Go-based compiler (Project Corsa) is now ready for public testing, delivering 10x faster build times with full `--build` and `--incremental` support.** **Performance Improvements:** - **10x Faster Builds**: Full builds complete in a fraction of the time - **Reduced Memory**: Addresses OOM crashes in large codebases - **Improved Parallelism**: Efficient multi-project builds for monorepos - **Faster Editor Startup**: Drastically improved VS Code project loading **Features Implemented:** - **`--build` Support**: Full project references working - **`--incremental` Support**: Incremental compilation functional - **Feature-Complete Type-Checking**: Works for most projects - **Native Language Service**: Powers IntelliSense, Go-to-Definition, Refactoring - **VS Code Extension**: Daily-updated extension available now **Current Gaps:** - JavaScript emit for older runtimes still in development - Full `--watch` mode feature parity not yet complete **Release Strategy:** - **TypeScript 6.0**: Final JavaScript-based release (transition point) - **TypeScript 7.0**: First native release with `strict: true` as default (*Microsoft DevBlogs, GitHub: microsoft/typescript-go*) > 💬 *TypeScript is quickly becoming the language for writing AI Agents. So many SDKs are based on it (the AI SDK, Claude Agent SDK, etc). I'll take any speed improvement I can get to help me build faster.* --- ### `Breaking` Anthropic Preparing for 2026 IPO at $300B+ Valuation **Anthropic is laying groundwork for a potential 2026 IPO that could value the company at over $300 billion, according to Financial Times reporting from December 2025.** **IPO Details:** - **Target Timeline**: As early as 2026 - **Target Valuation**: Over $300 billion (some reports suggest $350B) - **Legal Advisor**: Wilson Sonsini Goodrich & Rosati engaged - **Current Valuation**: ~$183 billion (September 2025 Series F) **Financial Projections:** - **2026 Revenue**: ~$26 billion ARR projected - **Customer Base**: Over 300,000 business customers - **Major Backers**: Amazon, Google, Microsoft, NVIDIA **Official Statement**: "We have not made any decisions on when, or even if, we will go public." **Context**: Move seen as strategic response to OpenAI's rumored late-2026 IPO with potential $1 trillion valuation. (*Financial Times, Reuters, Bloomberg*) > 💬 *$300 billion would make this one of the largest tech IPOs ever. I know many people want to make this about OpenAI and "competitors", but it seems like Anthropic mostly just stays in their own lane and focuses on quality agents. It will be curious as models evolve and how they drive their revenue. Especially if an open-source model starts to dominate the space.* --- ## 🛠️ Developer Tooling Updates ### `Tool` Runway Gen-4.5 "Whisper Thunder" Claims Video Benchmark Crown **Runway released Gen-4.5 on December 1, 2025, achieving the #1 ranking on the Artificial Analysis Video Arena leaderboard with breakthrough physics simulation and director tools.** **Technical Capabilities:** - **Physics-Based World Model**: Realistic liquid flow, object weight, momentum, and interactions - **Complex Choreography**: Multi-stage prompts in single generation - **Director Mode 2.0**: Advanced camera control tools - **Motion Brush 3.0**: Independent movement control for specific objects - **Resolution**: Native 1080p - **Duration**: 5-10 second clips **Benchmark Performance:** - **Artificial Analysis Elo**: 1247 (#1, ahead of Veo 3.1 at 1226 and Sora 2 Pro at 1206) **Pricing:** - **Gen-4.5 Base**: 12 credits/second ($0.12/sec) - **Gen-4.5 Turbo**: 5 credits/second ($0.05/sec) - **Subscriptions**: Standard $12/mo, Pro $28/mo, Unlimited $76/mo **Limitation**: No native audio (unlike Veo 3 and Sora 2) (*Runway ML, TechCrunch*) --- ### `Tool` Kling 2.6 Introduces Native Audio-Visual Generation **Kling AI released version 2.6 on December 3, 2025, introducing native audio generation that synchronizes speaking, singing, and sound effects with video in a single pass.** **Audio Capabilities:** - **Speaking & Dialogue**: Multilingual (English, Mandarin, Spanish), frame-accurate lip-sync, emotional intonation - **Singing**: Lyric integration, genre versatility (Pop, Opera, Rap, Country), rhythm control - **Sound Effects**: Frame-level foley synchronization, prompt-driven SFX, environmental audio **Technical Specs:** - **Resolution**: Native 1080p - **Duration**: 5-10 second clips - **Audio Output**: High-fidelity stereo - **Generation**: Single-pass joint attention for audio-visual synchronization **Workflow Options:** - Text-to-Audio-Visual: Describe scene and sound together - Image-to-Audio-Visual: Animate reference image with appropriate audio (*Kling AI, Kuaishou Technology*) --- ### `Tool` Google Workspace Studio: No-Code AI Agent Builder **Google launched Workspace Studio on December 3-4, 2025, a no-code platform for building autonomous AI agents that work across Gmail, Drive, Docs, Sheets, Calendar, and third-party apps.** **Core Capabilities:** - **Natural Language Agent Creation**: Build agents by describing tasks in plain English - **Cross-App Orchestration**: Agents work across entire Google Workspace - **Third-Party Integration**: Salesforce, Jira, Asana, Mailchimp - **Shareable Agents**: Share like Google Docs for team standardization - **Powered By**: Gemini 3 for multi-step planning and autonomous execution **Example Workflow**: Monitor Gmail for invoices → Extract data to Sheets → Request approval via Chat → Email confirmation (all automatic) **Rollout**: Generally Available, rolling out to business customers. Alpha participants completed 20+ million tasks in last 30 days. (*Google Workspace Blog, Google Blog*) > 💬 *Google is massively integrating AI into every step of their product suite. I personally switched to a Pixel phone just so I could have a physical button to trigger AI. Allowing users to create custom workflows is going to be a fascinating UX pattern to watch. I know many of us set these up in Zapier and other tools, but this is a much more integrated approach.* --- ### `Tool` Claude Opus 4.5 Now Available in Claude Code for Pro Users **Anthropic announced on December 3, 2025 that Claude Opus 4.5 is now available in Claude Code for Pro subscribers via the `/model` command.** **Access Details:** - **Availability**: Claude Code Pro users - **Selection**: Use `/model` command in terminal - **Capabilities**: Full Opus 4.5 intelligence including effort parameter, 200K context (*Claude Code Changelog*) > 💬 *My favorite model coming to the Pro tier. I'm excited that more people get to experience it.* --- ### `Tool` Gemini CLI v0.19 Ships with ElevenLabs Extension Support **Google released Gemini CLI v0.19.0 in late November 2025, featuring enhanced MCP support that enables the official ElevenLabs audio extension.** **New Features:** - **Interactive Session Browser**: UI for browsing past sessions - **Model Availability Service**: Track model health across providers - **Lenient MCP Validator**: Enables complex extensions like ElevenLabs **ElevenLabs Extension Capabilities (via MCP):** - Text-to-Speech generation - Voice Design and Cloning - Sound Effects and Music Generation - Install: `gemini extensions install https://github.com/elevenlabs/elevenlabs-mcp` **Bug Fixes**: CJK character cursor positioning, authentication flow, bash prompt detection (*GitHub: google-gemini/gemini-cli*) > 💬 *The ElevenLabs integration is a nice addition for anyone building audio workflows. Seeing the Gemini CLI embrace extensions is a big win for the ecosystem that might help differentiate it from the competition.* --- ## 🤖 AI Ecosystem Updates ### `Tool` ByteDance Releases Seedream 4.5 Image Generation Model **ByteDance released Seedream 4.5 on December 3, 2025, featuring multi-reference consistency for maintaining character and scene coherence across multiple images.** **Key Capabilities:** - **Multi-Reference System**: Up to 10-14 reference images for consistency - **Typography**: Native support for complex text layouts and logos - **Resolution**: Native 4K (4096×4096) output - **Speed**: ~1.8 seconds for 2K images - **Unified Architecture**: Single model for generation and editing **Performance**: Outperforms Gemini 2.5 Flash Image in prompt adherence; leads in multi-image consistency vs Midjourney v6.1 and Flux.1 **Availability**: BytePlus ModelArk (enterprise), Jimeng AI/Dreamina (consumer), third-party APIs (WaveSpeedAI, Fal.ai, Kie.ai) **Pricing**: ~$0.03-0.04 per image (*BytePlus, Jimeng AI*) --- ### `Research` Apple Releases CLaRa-7B for Efficient RAG **Apple released CLaRa-7B-Instruct on December 3, 2025, a 7B parameter model that retrieves compressed vector representations instead of raw text for 16-128x more efficient RAG.** **Core Innovation:** - **Latent Retrieval**: Retrieves compressed vectors instead of text chunks - **Compression**: 16x to 128x compression while retaining semantic meaning - **Efficiency**: Process significantly more documents within same context window **Model Variants:** - `apple/CLaRa-7B-Instruct` (instruction-tuned for QA) - `apple/CLaRa-7B-Base` (foundation model) - `apple/CLaRa-7B-E2E` (end-to-end retriever and generator) **Availability**: Open source on Hugging Face. Deployable on Apple Silicon. (*arXiv:2511.18659, Hugging Face: apple*) --- ### `Ecosystem` OpenAI Partners with Accenture for Massive Enterprise Rollout **OpenAI and Accenture announced a strategic partnership on December 1, 2025, deploying ChatGPT Enterprise to tens of thousands of Accenture professionals and creating the largest OpenAI certification program.** **Partnership Scope:** - **ChatGPT Enterprise**: Deployed to tens of thousands of Accenture staff - **OpenAI Certifications**: Largest group of certified professionals - **AgentKit Focus**: Building custom AI agents for enterprise workflows - **Target Industries**: Financial Services, Healthcare, Public Sector, Retail **Long-term Goal**: OpenAI committed to certifying 10 million Americans by 2030 through OpenAI Academy (*OpenAI Blog, Accenture Newsroom*) > 💬 *This signals OpenAI's serious enterprise push. Accenture as "Client Zero" gives them a massive proof point for security and scalability concerns. The certification program could create a whole ecosystem of OpenAI-trained implementation partners.* --- ### `Education` Anthropic Partners with Dartmouth for Claude for Education **Anthropic announced a partnership with Dartmouth College and AWS on December 3, 2025, bringing Claude for Education to the entire Dartmouth community.** (*Anthropic Newsroom*) --- ## ⚡ Quick Updates ### OpenAI "Code Red" Response to Gemini (Rumor) - **Status**: Unconfirmed reporting from The Information - **Claims**: Internal "Code Red" declared December 1, feature freeze on non-core products - **Context**: ChatGPT reportedly lost ~12M daily active users post-Gemini 3 launch - **Response**: New model codenamed "Garlic" targeting early 2026 (*The Information*) ### Cursor Composer Deep-Dive Talk Released - **Content**: Technical journey behind Cursor's first in-house coding LLM - **Speakers**: @srush_nlp with @leerob - **Platform**: AI Engineer YouTube channel (*YouTube: AI Engineer*) ### Vercel AI Gateway Adds Image-Only Models - **Models**: 7 BFL/Flux models, 3 Google Imagen models - **Integration**: Supported by AI SDK's `generateImage` - **Pricing**: Per megapixel or per image (*Vercel AI Gateway*) ### Vercel Workflow Builder Hits 8,600+ Workflows - **First Week Stats**: 580 stars, 7,600+ users, 330 commits, 11 contributors - **Status**: Actively accepting contributions (*GitHub: vercel/workflow*) ### Gemini 3 + Structured Outputs Now Combined - **Feature**: Google Search tool works with Structured Outputs - **Use Case**: Grounded search results in typed schemas (*Google AI Developers*) --- ## ✨ Workshop Spotlight ### Claude Code Power User Workshop Learn the essential skills to ship reliable AI-generated code with confidence. This hands-on workshop covers everything from foundational prompting to advanced automation using the Claude Code SDK and custom integrations. **Friday, Dec 12 @ 9:00 AM PST** 🚨 ENDS TONIGHT! • 🔥 Early Bird Pricing — Standard $375 (save $75) | Pro Member $300 (save $150) What you'll learn: - **Context Engineering**: Control what context Claude sees for reliable, consistent results - **TypeScript SDK**: Script Claude programmatically to build custom workflows - **Custom Hooks**: Automate repetitive tasks with Claude Code hooks - **Model Context Protocol**: Integrate APIs securely to extend Claude's capabilities - **Claude Code Skills**: Build custom skills for Claude Code - **Live Q&A**: Get your specific questions answered by John Lindquist [Register Now ($300)](https://egghead.io/workshop/claude-code) — $225 for egghead Pro Members --- *Did you enjoy this issue? Share it with a friend.* *© 2025 John Lindquist • egghead.io*
article
# AI Dev Essentials - Issue #21 Hey Everyone 👋, John Lindquist here with the **21st issue of AI Dev Essentials!** Google just obliterated the competition with their release of the new Gemini 2.5 Flash Image model (which is affectionately referred to as "Nano Banana"). It's been so consistent and predictable that my kids love using it, my parents love using it, and it's just made image generation so much more fun thanks to the consistency and things you can do. My kids especially love taking stuffed animals and turning them into superheroes and then putting them into comic books. As a an automation nerd, I've been playing around with scripts to generate storyboards then converting the storyboards into videos. I've had decent luck with it and hope to be able to iron out the workflow. I decided to record a lesson about scripting Nano Banana following a similar process on egghead, which you can see below. I've also been spending a lot more time with Claude Code on GitHub Actions. Now I can inject AI into any of the dev ops workflows I'd typically have to subscribe to some other service for.You can run whatever you want on GitHub, whether it's the standard pull request review or fixing an issue, or it's something like generating a story on a cron job or scraping data on a webhook trigger. Essentially anything is possible, and it really brings a ton of value to a Claude Code subscription. This is definitely something I'll be covering in future Claude Code workshops. Sign up for the next workshop here: [https://egghead.io/workshop/claude-code](https://egghead.io/workshop/claude-code) --- ### 🎓 New egghead.io Lessons This Week **Batch Generate Nano Banana Variations with AI Studio and Scripting** Manually creating dozens of variations for a single image in a web UI is tedious and inefficient. This lesson demonstrates a powerful workflow for automating this process by leveraging Google AI Studio's "Get code" feature to build a flexible Node.js script. You'll learn how to take a simple image-to-image generation task and scale it up to create a large batch of customized images programmatically. This approach is perfect for generating marketing assets, social media content, or character sheets where you need a consistent base character with different expressions or styles. - GitHub Repo: [https://github.com/johnlindquist/expressions](https://github.com/johnlindquist/expressions) - Watch the lesson: [https://egghead.io/batch-generate-nano-banana-variations-with-ai-studio-and-scripting~ks0vr](https://egghead.io/batch-generate-nano-banana-variations-with-ai-studio-and-scripting~ks0vr) Time for the news! --- ## 🚀 Major Announcements ### Google's Gemini 2.5 Flash Image (Nano-Banana) Dominates Image Generation Market **Google released Gemini 2.5 Flash Image on August 26, 2025, a groundbreaking image generation model that's setting new standards for character consistency and creative control, leaving competitors scrambling to catch up.** Revolutionary capabilities: - **Unmatched Character Consistency**: Maintains exact character features across multiple scenes and contexts - **Multi-Image Fusion**: Seamlessly blend elements from multiple reference images - **Natural Language Editing**: Targeted edits via conversational prompts (blur backgrounds, remove objects, change colors) - **World Knowledge Integration**: Leverages Gemini's understanding for contextually appropriate imagery - **LMArena Champion**: Topped benchmarks for instruction-following and fidelity before official reveal - **Aggressive Pricing**: $0.039 per image vs. competitors' subscription models - **Instant Access**: Available in Gemini App (100 free edits/day) and Google AI Studio > *You just gotta try it. Take an image of yourself, a few items from around the house, and tell Nano Banana to smash them together into some funny pose. Then just be ready to be blown away.* ([Google Developers Blog](https://developers.googleblog.com/en/introducing-gemini-2-5-flash-image/), [TechCrunch Coverage](https://techcrunch.com/2025/08/26/google-geminis-ai-image-model-gets-a-bananas-upgrade/), [Axios Report](https://www.axios.com/2025/08/26/nano-banana-google-ai-images)) ### Claude Code GitHub Integration Reaches General Availability **Claude Code's GitHub integration became generally available on August 26, 2025, unlocking powerful automation capabilities that transform how teams handle code reviews, CI failures, and issue management.** Game-changing features: - **Expanded Triggers**: Beyond @mentions - new issues, failed CI, custom conditions - **Automatic CI Fix Attempts**: Claude detects and attempts to fix failing builds - **Intelligent Code Reviews**: Validates changes against PR intent, not just syntax - **Subagent Architecture**: Deploy specialized agents for different review types - **Ready-to-Deploy Templates**: Pre-built workflows for common tasks - **Issue Triage Automation**: Automatic deduplication and categorization - **Vulnerability Detection**: Security scanning on new PRs > *I love that this is integrated with your Claude Pro or Claude Max plans. It really takes a lot of the financial pressure off of running AI tooling for people such as myself who are trying to use AI within a budget. It's nice to be able to just pay a subscription and have it cover all my AI needs. It honestly can replace many of the code review tools or other AI tools that you're using. In fact, if you're currently using an AI tool on GitHub, you can ask Claude, "Hey, please just copy the features of this and turn it into a GitHub action that uses Claude Code."* ([Claude Code GitHub Documentation](https://docs.anthropic.com/en/docs/claude-code/github-actions)) ### OpenAI Launches Codex IDE Extensions and Enhanced CLI **OpenAI released comprehensive Codex platform updates on August 27, 2025, introducing IDE extensions, cloud integration, and enhanced CLI capabilities powered by their codex-1 model, all included in ChatGPT subscriptions.** Platform enhancements: - **Native IDE Extensions**: VS Code, Cursor, and fork support with full context sharing - **Cloud-to-Local Handoff**: Start tasks in cloud, continue in IDE without losing context - **Intelligent PR Reviews**: Validates changes against intent, checks dependencies - **Revamped CLI**: New UI with image inputs, message queuing, web search, to-do lists - **Unified Agent Experience**: Works across IDE, terminal, cloud, GitHub, and mobile - **Transparent Rate Limits**: Plus/Team: 30-150 messages/5hrs, Pro: 300-1,500/5hrs - **Codex-1 Model**: Optimized o3 variant specifically for software engineering > *OpenAI is massively accelerating their efforts around Codex. I've had a lot of luck using the CLI tool and I've had early access to the extension, and while things aren't as perfect and polished as other IDE tools and ecosystems out there with the sheer amount of velocity they have right now, I can only see this getting better and better. GPT-5 Pro is still my go-to reasoning model for my hardest questions and using the Codex CLI with high reasoning turned on is one of my favorite planning tools as well. So, and again, I love the fact that you can now sign in with ChatGPT and essentially leverage money that you're already paying rather than the pay-as-you-go.* ([OpenAI Codex Developer Hub](https://developers.openai.com/codex/), [TechCrunch Coverage](https://techcrunch.com/2025/05/16/openai-launches-codex-an-ai-coding-agent-in-chatgpt/)) --- ## 🛠️ Developer Tooling Updates ### Cursor 1.5 Brings Native OS Notifications and MCP Support **Cursor released version 1.5 on August 26, 2025, with game-changing quality-of-life improvements for AI-assisted development.** Version 1.5 highlights: - **Native OS Notifications**: Get alerts when long-running agent tasks complete - **Improved Agent Terminal UX**: Better visibility and control over agent actions - **MCP Elicitation**: Full Model Context Protocol support - **Enhanced Jupyter Support**: Improved notebook editing experience - **Grok Code Integration**: New model option with competitive pricing ($0.2/1M input) - **Claude 4 Sonnet**: Million token context window now available > *Cursor is still my favorite IDE, and it just keeps on cranking up the polish. It'll be interesting as all these tools and IDEs start gaining the same features, how to separate themselves from the pack. The common phrase is: "there is no moat", and it'll be interesting to see if Cursor can actually create a moat for themselves.* ([Cursor 1.5 Changelog](https://cursor.com/changelog/1-5)) ### Zed Editor Introduces Agent Client Protocol with Gemini Support **Zed announced the Agent Client Protocol (ACP) on August 27, 2025, creating a universal standard for editor-agent communication.** Protocol features: - **Universal standard**: Blueprint for any editor to work with any AI agent - **Gemini CLI support**: First integration with full code context - **Multiple agents**: Run different agents simultaneously - **Open source**: Specification available for all - **Performance focused**: Maintains Zed's speed-first philosophy > *I have Zed installed and I have the Gemini CLI installed, but they are two of the tools which I just have not had the time to give a fair shake. The performance of Zed is unmatched, and the context window of the Gemini CLI have been unmatched so far, and if the next version of Gemini is anything, and if Nano Banana image generation gives us any hint of the capabilities of the future Gemini coding models, I think we're really in for a treat here.* ([Zed Blog on ACP](https://zed.dev/blog/bring-your-own-agent-to-zed)) --- ## 📚 AI Learning Resources ### Major AI Companies Release Comprehensive Training Guides **OpenAI, Anthropic, and Google simultaneously released free comprehensive guides on August 28, 2025, representing thousands of hours of internal expertise now publicly available.** Essential resources: - **[Google's Prompting Guide](https://services.google.com/fh/files/misc/gemini-for-google-workspace-prompting-guide-101.pdf)**: Complete Gemini for Workspace guide - **[Anthropic's Building Effective Agents](https://anthropic.com/engineering/building-effective-agents)**: Deep dive into agent architecture - **[Anthropic's Prompt Engineering](https://docs.anthropic.com/en/docs/build-with-claude/prompt-engineering/overview)**: Comprehensive prompt optimization - **[OpenAI's Agent Building Guide](https://cdn.openai.com/business-guides-and-resources/a-practical-guide-to-building-agents.pdf)**: Practical examples and patterns - **[OpenAI's Scaling AI Use Cases](https://cdn.openai.com/business-guides-and-resources/identifying-and-scaling-ai-use-cases.pdf)**: Enterprise integration strategies > *These are some awesome guides that are pretty popular that I realized I hadn't included in previous newsletters. So here you go!* --- ## 💼 AI Ecosystem Updates ### Anthropic and OpenAI's Unprecedented Safety Collaboration **In a first-of-its-kind collaboration, OpenAI and Anthropic ran each other's internal safety evaluations on publicly released models and shared results publicly on August 27, 2025.** Key findings: - **Cross-evaluation methodology**: Each ran their safety tests on the other's models - **Transparency milestone**: Results shared publicly for community benefit - **Sycophancy issues**: Both identified "extreme sycophancy" across models - **Model differences**: Claude refused 70% of uncertain questions vs. higher hallucination in OpenAI - **Industry precedent**: First public collaboration between AI competitors > *It is awesome to see the major providers working together. I know I easily get sick of the hype cycles and the benchmark maxing and the comparisons when if everyone just kind of worked and collaborated more, we could be making much more progress in a much more responsible way.* ([OpenAI Safety Blog](https://openai.com/index/openai-anthropic-safety-evaluation/), [Anthropic Research Blog](https://alignment.anthropic.com/2025/openai-findings/)) ### Anthropic Launches Claude for Chrome Browser Extension **Anthropic announced Claude for Chrome on August 26, 2025, a research preview for browser automation, initially available to 1,000 Max plan users.** Extension capabilities: - **Browser automation**: Claude performs actions on your behalf - **Limited rollout**: 1,000 user pilot for real-world testing - **Safety focus**: Addressing prompt injection vulnerabilities - **Max plan exclusive**: Waitlist available for subscribers > *Again, being able to have all of this under a single subscription plan with Anthropic is still one of the major draws here. Like even if it's not quite as good as many of the other solutions that are out there, many of the other solutions out there just wrap Anthropic's APIs for a lot of the agentic work so having Anthropic come in and build their own tooling is really gonna upset a lot of tools.* ([Anthropic Announcement](http://anthropic.com/news/claude-for-chrome), [Waitlist](http://claude.ai/chrome)) ### Google's NotebookLM Major Upgrade **NotebookLM announced significant updates on August 26, 2025, evolving into a full knowledge synthesis platform.** New features: - **Studio UI**: Generate multiple outputs from single source - **Video Overviews**: Slide-style summaries with narration - **Featured Notebooks**: Pre-built notebooks on trending topics - **Customization Box**: Tailor depth and expertise level - **Shareable Links**: Public notebook sharing > *NotebookLM often gets lost in the noise around all the other products out there, but it's definitely worth coming back to over and over again if you're someone who is collecting notes, data, research, etc for any project.* --- ## ⚡ Quick Updates ### Microsoft Releases VibeVoice TTS Model - **Open source**: 1.5B parameter model with MIT license - **Long-form audio**: Generate up to 90 minutes - **Multi-speaker**: Simultaneous generation of 4+ voices - **Cross-lingual**: Supports multiple languages and singing ([VibeVoice on HuggingFace](https://huggingface.co/microsoft/VibeVoice-1.5B)) ### Google Vids Surpasses 1 Million Users - **AI-powered editing**: Automated video creation features - **Team collaboration**: Built for workplace video needs ([Google Workspace Blog](http://goo.gle/3UNWISl)) --- ## ✨ Workshop Spotlight **Claude Code Power User Workshop** Want to take your Claude skill to the next level? This workshop is for you! The past 3 workshops have all sold out, so make sure to grab a spot before they're gone. **Next session:** Friday, September 12, 2025 **Time:** 5:00 AM - 10:00 AM (PDT) **Platform:** Zoom **🇪🇸 Europe-Friendly Time!** That's 1:00 PM in London, 2:00 PM in Paris & Berlin Register: [https://egghead.io/workshop/claude-code](https://egghead.io/workshop/claude-code) --- Read this far? Share "AI Dev Essentials" with a friend! - https://egghead.io/newsletters/ai-dev-essentials - John Lindquist [https://egghead.io](https://egghead.io)
article
# AI Dev Essentials - Issue #19 Hey Everyone 👋, John Lindquist here with the **19th issue of AI Dev Essentials!** I spent the past week building out an app to streamline "video prompting". I'll put out a call for beta testers next week 😇 Throughout the process, I've had really good experiences asking Claude Code to drive CLIs (gcloud, vercel, and GitHub) to accomplish tasks like setting up storage buckets, managing permissions, and auto-fixing failed GitHub actions. These tasks used to be extremely painful days wasted diving into complicated settings pages. Thanks to AI's understanding of CLIs, their flags, and their options, it can run the right commands in one shot, verify they're working, and then send you the URLs to confirm. Honsestly, using CLIs with natural langague has taken off so much weight and boredom of chore work and allowed me to focus on the fun stuff. Anyone else felt the same? I'll be recording some videos based on this week's experiences tomorrow, so I should be posting some interesting videos to egghead soon. They just didn't quite make the cutoff for today's newsletter. The rest of the time I spent polishing up materials for my Claude Code workshop next Friday. I'm really enjoying teaching all of these powerhouse workflows and excited to share the countless hours of work I've put into them with you. These Claude Code workshops keep selling out, so grab your ticket now: [https://egghead.io/workshop/claude-code](https://egghead.io/workshop/claude-code) On to the news! --- ## 🚀 Major Announcements ### GPT-5's Rocky Launch Leaves Developers Divided **OpenAI released GPT-5 on August 7, 2025, but the highly anticipated launch has been met with confusion and frustration as the model fails to live up to pre-release hype.** The reality check: - **Preview vs. Production**: Developers who tested preview models report significant degradation in production - **Performance issues**: Widespread complaints about speed, especially in IDEs like Cursor where it's "absolutely painful to use" - **Routing confusion**: Unclear how the model decides between instant responses and deeper reasoning - **Mixed reception**: Community feedback ranges from "underwhelming" to questioning if they're using it wrong - **Integration problems**: Slowness and inconsistent behavior across different platforms What was promised vs. delivered: - **Promise**: Breakthrough reasoning with intelligent routing - **Reality**: Inconsistent performance that has developers reverting to Claude or GPT-4 - **Promise**: Enhanced agentic capabilities for development - **Reality**: Speed issues make it impractical for real-time coding assistance ([OpenAI Official Blog](https://openai.com/index/introducing-gpt-5/), [Cursor Community Forum](https://forum.cursor.com/t/gpt-5-slow-very-slow/127337)) > My personal experience with GPT-5 started strong. Right at launch things felt like they were working really well, but then performance degraded over the week. I tried it both inside Cursor and via the Cursor CLI and had a very mixed experience. Sometimes it was great; other times it failed in ways that made it hard to build trust. > > That said, with GPT-5 Pro through ChatGPT on the $200 per month plan, I have had incredible experiences solving difficult problems in video recording workflows, refactoring asynchronous code, and other complex tasks that require deep reasoning and a strong understanding of the code. I have seen it optimize code, add edge case handling, cover a wide range of tasks, and get it right the first time. It also creates clear plans that I can hand to other tools. I am using GPT-5 Pro constantly, and right now it is my go to for planning. > > Claude Code is still king for me when it comes to agent work, mostly because it's been the most reliable and because of its pacing and feedback. A lot of my GPT-5 sessions show twenty or more tool calls with no explanation, which doesn't provide much insight into what's happening. I hope they take notes from Claude Code on surfacing incremental updates and briefly explaining what's going on. > > I get worried when GPT-5 seems like it's doing a lot of work without checking in. Until the visibility and reliability improve, I'll keep leaning on Claude Code for serious agent tasks. We'll see how both the Cursor CLI and Codex improve over time. It would take a massive turnaround for them to truly compete with the experience of Claude Code, especially when it comes to building true AI pipelines. ### Claude Expands Context Window to 1 Million Tokens **Anthropic announced on August 12, 2025, that Claude Sonnet 4 now supports 1 million tokens of context on the Anthropic API, representing a 5x increase from the previous 200,000 token limit.** Technical details: - **Context window**: 1 million tokens (approximately 750,000 words) - **Availability**: API access for Sonnet 4 - **Use cases**: Large codebases, extensive documentation, multi-file analysis - **Performance**: Maintained speed despite increased context ([Anthropic Official Announcement](https://www.anthropic.com/news/1m-context), [TechCrunch Coverage](https://techcrunch.com/2025/08/12/anthropics-claude-ai-model-can-now-handle-longer-prompts/)) > It is exciting to see more providers catch up with Gemini and offer a one million token context window. Early research suggests Anthropic is doing very well at understanding the full window and keeping responses coherent as conversations get longer. > > This just shipped and it's not available in Claude Code yet (even if you try to hack it in, lol). > > I am curious whether Gemini will counter with a ten million token context window. There are rumors they have it working internally, but it's not cost efficient to release yet. Given their recent moves, it feels like Gemini is sitting on something significant. I hope they release it to the public soon. ### GitHub CEO Thomas Dohmke Departs to Found New Startup **After nearly four years as CEO, Thomas Dohmke announced on August 11, 2025, his departure from GitHub to become a startup founder again.** Impact and transition: - **Legacy**: Led GitHub through significant growth and AI integration era - **GitHub Copilot**: Oversaw development and expansion of AI coding assistant - **New venture**: Details of startup not yet announced - **Transition**: Will remain through end of 2025 ([GitHub Official Blog](https://github.blog/news-insights/company-news/goodbye-github/), [Tech Startups Coverage](https://techstartups.com/2025/08/11/github-ceo-thomas-dohmke-steps-down-to-launch-new-startup-after-ai-driven-tenure/)) > It is curious to see the GitHub CEO leave at this specific moment when many AI enabled tooling companies are "accelerating" (sorry for the buzzword). It makes it smell like GitHub missed the AI boat and are trying to course correct, but I'm making massive assumptions here. I'm just surprised and curious if there's more to the story. --- ## 🛠️ Developer Tooling Updates ### Gemini CLI Updates and VS Code Integration **Google released significant updates to Gemini CLI during the week of August 4, 2025, including deep VS Code integration and performance enhancements.** Updates include: - **VS Code integration**: Native integration with context-aware workflows (v0.1.20) - **Performance**: Faster response times and improved reliability - **Guided Learning**: New AI tutor feature using LearnLM and Gemini 2.5 Pro - **Fine-tuning**: Supervised fine-tuning available for Gemini 2.5 Flash ([Google Developers Blog](https://developers.googleblog.com/en/gemini-cli-vs-code-native-diffing-context-aware-workflows/), [Google Guided Learning](https://blog.google/outreach-initiatives/education/guided-learning/)) > I love seeing the updates to the Gemini CLI. They might be moving a little slower than some others, but they are doing all the right things. > > The biggest unlock everyone is waiting for is Gemini becoming a stronger agentic model that can keep up with the models from Anthropic. If Gemini releases a 2.6 or a 3.0 that lets Pro create plans and lets Flash execute those plans, and bundles that with a one million plus context window, we will have something special on our hands. ### Chrome's Built-in AI: Prompt API Now Available **Google's Prompt API for Chrome enables free, local AI capabilities directly in the browser powered by Gemini Nano, available from Chrome 138 stable.** Technical specifications: - **Local execution**: All processing done locally with no data sent to external servers - **Privacy-first**: Supports offline usage with complete data privacy - **Chrome Extensions**: Available for extension developers from Chrome 138 - **Model**: Powered by Gemini Nano - **Use cases**: Text generation, summarization, translation ([Chrome for Developers - Prompt API](https://developer.chrome.com/docs/ai/prompt-api), [Chrome for Developers - Built-in AI](https://developer.chrome.com/docs/ai/built-in)) > Many people would be surprised by how many AI tools are now built into Chrome. Both the developer tooling and the browser internals are moving toward running models directly in the browser. It feels like Chrome is doing important work that will shape what sites can do, where a site does not need to rely on external AI services for basic features. > > On my Script Kit site I have a scenario where a user selection should present autocomplete like options. That is one of the first things I am going to try with the Prompt API. Let someone click a button and get a few suggested options. It does not need much intelligence. It just needs something small and fast. If I can offload that work to the browser that is a huge win for owning the entire workflow rather than relying on providers to be up. > > API providers do go down, have issues, and sometimes create poor user experiences. The more control we have over the AI when building our own tools, the better. > > I also need to make lessons and tutorials on the AI developer tools inside Chrome DevTools. There is a lot to cover and they are doing incredible work. --- ## 💼 AI Ecosystem & Business Updates ### MCP-UI Protocol Gains Momentum **The Model Context Protocol UI extension is gaining traction as an open RFC being considered for adoption into the MCP specification.** Development updates: - **RFC stage**: Open RFC under consideration, may change as proposal advances - **Component layer**: Enables AI agents to return fully interactive UI components - **Community adoption**: Growing ecosystem of MCP-UI compatible tools - **Shopify development**: Shopify actively developing and promoting the protocol ([Shopify Engineering](https://shopify.engineering/mcp-ui-breaking-the-text-wall), [Block/Goose Blog](https://block.github.io/goose/blog/2025/08/11/mcp-ui-post-browser-world/)) > This specification feels important for the future of how we interact with AI tools and AI conversations. The idea of just in time user interfaces that are rendered by MCPs could change everything. At the high end it might replace websites. A more moderate view is that it will give you rich user interfaces on mobile when you are chatting with GPT and Claude and the tools you use every day. Instead of only text you get buttons and controls. > > One of my favorite things to do with Claude on mobile, which can render a canvas, is to ask it to create interactive charts and interactive timelines. Instead of a static diagram you can get an animated diagram that you can drag and change. That experience feels like the future. > > Bringing those kinds of experiences into the general flow of any tool I use feels like an ideal direction for where MCPs could go. I am cheering this project on. ### Jules Agent Enhances Code Review Capabilities **Google introduced the Jules Critic feature on August 8, 2025, acting as an internal peer reviewer integrated directly into the code generation process.** Key features: - **Automated review**: Flags potential bugs and inefficient code patterns - **Adversarial review**: Challenges proposed changes before developers see output - **Integration**: Works seamlessly with existing Jules workflow - **Reliability**: Significantly improves code robustness ([Google Developers Blog](https://developers.googleblog.com/en/meet-jules-sharpest-critic-and-most-valuable-ally/), [Jules Changelog](https://jules.google/docs/changelog/)) > I have seen so many code review tools at this point that I am not surprised when another one appears. I built my own code review tools last year, so I know this is something I could build myself. > > No matter how talented I may or may not be, seeing teams at companies like Google build their own code review tools is not an impressive achievement. It feels like a must have feature now. It also feels odd that GitHub has code review, and then Cursor, CodeRabbit, and others are adding their own code review layers on top. > > I am curious if anyone has stacked every code review tool on a single pull request. I would love to see a battle royale of code review tools reviewing nonsense code just for fun. --- ## 💻 Cursor Corner ### GPT-5 Integration Tips and Best Practices **The Cursor community has been sharing optimal configurations for GPT-5 integration following its release.** Configuration recommendations: - **Model selection**: Use `gpt-5` (full reasoning model) with Agent mode and MAX mode enabled - **Performance notes**: Users continue reporting significant slowness issues with GPT-5 in Cursor - **Prompting differences**: GPT-5 requires different strategies, focusing on clarity and autonomous behavior rather than explicit instruction - **Cost considerations**: Higher reasoning modes significantly increase costs through additional reasoning tokens ([OpenAI GPT-5 Documentation](https://openai.com/index/introducing-gpt-5-for-developers/), [GPT-5 Prompting Guide](https://cookbook.openai.com/examples/gpt-5/gpt-5_prompting_guide), [Cursor GPT-5 Blog](https://cursor.com/en/blog/gpt-5)) Community feedback: - Mixed initial reactions with improvement after configuration adjustments - Speed improvements noted after backend optimizations - Best results with high reasoning effort for complex tasks > As with any new model there are growing pains in the integration between the model and the IDEs. I do not usually expect this many growing pains on the model side, but this round feels different. > > It will take some time before both the model and the IDE settle into an optimized workflow that most people are happy with. That likely means we need some patience for the tools to shine and for the model to fully represent what it is capable of. > > If you are fumbling with Cursor right now trying to get GPT-5 to meet your expectations, you are not alone. --- ## ⚡ Quick Updates ### Mistral Small 3.1 Release - New small-tier model with improved reasoning and code generation - Enhanced performance while maintaining efficiency - Available through major API providers ([Mistral AI Models](https://mistral.ai/models)) ### Google AI Studio Redesign - New landing page and improved user interface - Better model selection and comparison tools - Enhanced documentation and examples ### Fine-tuning OpenAI's GPT-OSS Locally - GPT-OSS models (120B and 20B) available under Apache 2.0 license - Community tutorials through Unsloth and Hugging Face - 100% local execution maintaining privacy ([OpenAI GPT-OSS Announcement](https://openai.com/index/introducing-gpt-oss/), [Unsloth Documentation](https://docs.unsloth.ai/basics/gpt-oss-how-to-run-and-fine-tune)) ### Higgsfield Platform Updates - Enhanced video generation with Seedance Pro unlimited access - Supports MiniMax Hailuo-02, Veo 3, and Seedance Pro models - Image-to-video conversion for creative workflows ([Higgsfield Official Site](https://higgsfield.ai/), [Seedance Pro Launch](https://deepnewz.com/software/higgsfield-launches-bytedances-seedance-pro-ai-unlimited-free-generations-30-4116cf9a)) ### Claude Chat History References - New on-demand recall of past conversations for Max, Team, and Enterprise subscribers - Privacy-focused approach requiring explicit user prompts - Improved context preservation across sessions ([Anthropic Announcement](https://tech.yahoo.com/ai/articles/anthropic-brings-demand-chat-history-190710803.html), [Business Today](https://www.businesstoday.in/amp/technology/news/story/anthropic-adds-chat-history-recall-to-claude-letting-users-resume-projects-across-devices-489000-2025-08-12)) ## ✨ Workshop Spotlight ### Claude Code Power User Workshop - Next Friday, August 22nd Following our two sold-out workshops, the next Claude Code Power User workshop is scheduled for this **Friday, August 22nd at 9am PDT** What we'll cover: - Advanced subagent orchestration patterns - Building AI pipelines with multiple Claude instances - Context engineering for complex projects - Real-world automation workflows - Live Q&A and troubleshooting **Register here**: [https://egghead.io/workshop/claude-code](https://egghead.io/workshop/claude-code) --- Read this far? Share "AI Dev Essentials" with a friend! - https://egghead.io/newsletters/ai-dev-essentials - John Lindquist [https://egghead.io](https://egghead.io)
article
# AI Dev Essentials - Issue #17 Hey Everyone 👋, John Lindquist here with the **17th issue of AI Dev Essentials!** My first Claude Code Power User Workshop sold out in less than seven days—thanks to everyone for their support! I've already posted the next workshop for Friday, August 8th at 12pm UTC (1pm UK / 2pm Europe), and it's selling out just as quickly, so make sure to grab your spot now. All my time has been spent preparing for these Claude Code workshops, especially with the release of new features like custom subagents. These have fundamentally changed how I work with Claude Code. I'll be making egghead videos about these topics as well, diving deeper into specialized scenarios and use cases to share with everyone. Now, onto the news! --- ## 🚀 Major Announcements ### Claude Code Custom Sub-agents Launch **Anthropic released custom sub-agents for Claude Code on July 24, 2025, enabling developers to create specialized AI teams that handle specific tasks autonomously.** Key capabilities: - **Custom agent creation**: Design agents for code review, architecture, testing, and more - **Automatic invocation**: Claude Code intelligently calls relevant agents based on context - **Template ecosystem**: Community sharing agents via GitHub repositories - **Project-level customization**: Store agents in `.claude/agents/` or globally in `~/.claude/agents/` - **Refresh requirement**: Must refresh Claude Code after creating new agents Popular agent types emerging: - **Code refactorer**: Automated refactoring with best practices - **Security auditor**: Vulnerability scanning and security recommendations - **Frontend designer**: UI/UX improvements and component design - **PRD writer**: Product requirement documentation from ideas ([Anthropic Documentation](https://docs.anthropic.com/en/docs/claude-code/sub-agents), [Anthropic Blog](https://www.anthropic.com/news/how-anthropic-teams-use-claude-code)) > *Before sub-agents, I was building aliases with Claude Code and chaining them together through AI pipelines. While that's still a valuable technique, sub-agents have vastly simplified setting up these pipelines and handing tasks off to specialized child agents. It's definitely one of my new favorite features. I especially love how easy it is to create an agent using their custom slash commands—just dictate a few sentences about what you want it to do, and it generates the agent itself. Really looking forward to diving deeper into this.* ### Anthropic Announces Weekly Rate Limits for Claude Pro/Max **Anthropic announced on July 28, 2025, that new weekly rate limits will be implemented starting August 28, 2025, affecting less than 5% of Claude Pro and Max subscribers based on current usage patterns.** Details: - **Context**: Claude Code has seen "unprecedented demand," especially on Max plans - **Edge cases**: One user consumed "tens of thousands" in model usage on a $200 plan - **Account sharing**: Violations of usage policies through account reselling detected - **Solution**: Max plan users can purchase additional usage at standard API rates - **Impact**: Estimated to affect heavy users running Claude Code 24/7 ([TechCrunch](https://techcrunch.com/2025/07/28/anthropic-unveils-new-rate-limits-to-curb-claude-code-power-users/), [Engadget](https://www.engadget.com/ai/anthropic-is-rate-limiting-claude-code-blaming-some-users-for-never-turning-it-off-211134730.html)) > *I fully understand Anthropic's position here. I spent a few days running Claude Code 24/7 using background tasks with multiple subagents, and based on some calculations, I was racking up what would have been costs in the many thousands of dollars. We've seen Cursor do this in the past where they had an unlimited plan but had to back off. It seems to be a pattern: lure in customers with generous offerings, then change the policies. The main lesson is don't subscribe to yearly plans, because these companies will change the pricing underneath you. That said, I still think Anthropic's $200 a month is a screaming deal. If I ever run out of credits for the week, I'll just buy a second account. It achieves way more for $200 than I could ever achieve on my own. I'm constantly using it, prompting it, tweaking things with it. I can't imagine development without it. In fact, I'm using it right now by dictating and asking it to polish this commentary (although I still go back and hand-edit for that hand-crafted, home-grown feel).* ### ChatGPT Study Mode Rolls Out to All Users **OpenAI's Study Mode is now available to all free, Plus, Pro, and Teams users as of July 29, 2025, expanding educational AI capabilities across the platform.** Features: - **Universal access**: Available across all ChatGPT tiers - **Educational focus**: Designed to make learning more accessible and intentional - **Interactive learning**: Adaptive questioning and explanations - **Subject coverage**: Works across all academic disciplines ([OpenAI Official](https://openai.com/index/chatgpt-study-mode/), [TechCrunch](https://techcrunch.com/2025/07/29/openai-launches-study-mode-in-chatgpt/)) > *I tried ChatGPT Study Mode briefly last night and didn't see much value compared to the prompts I use to generate quizzes on topics. But I definitely need to spend more time giving it a fair shake before drawing any real conclusions. It's fairly trivial to ask any AI agent to create quizzes and materials. Maybe this is just a streamlined UI for less advanced users. I know many of us could do this ourselves.* ### Google Introduces NotebookLM Video Overviews **Google launched Video Overviews in NotebookLM on July 29, 2025, creating visual summaries with slides, diagrams, and AI narration from uploaded sources.** Technical details: - **Format**: Short, engaging slide presentations - **Content**: Automatically extracts images, diagrams, quotes, and data - **Narration**: AI host provides voice-over explanations - **Alternative to**: Audio Overviews for visual learners - **Use cases**: Research synthesis, presentation creation, study materials ([Google Blog](https://blog.google/technology/google-labs/notebooklm-video-overviews-studio-upgrades/), [TechCrunch](https://techcrunch.com/2025/07/29/googles-notebooklm-rolls-out-video-overviews/)) > *I've generated a few of these so far and absolutely love them. The narrator's voice is extremely pleasant. It's probably the best AI voiceover I've ever heard. I love the slides, the way it highlights text, pretty much everything about it. Definitely looking forward to generating more of these.* --- ## 🛠️ Developer Tooling Updates ### Cursor 1.3: Enhanced Agent Capabilities **Cursor 1.3 is rolling out with significant improvements to agent interaction and development workflow transparency.** Major updates: - **Shared terminal**: Agents can now interact with your terminal session - **Context usage visibility**: See exactly what context is being used in Chat - **Faster edits**: Performance improvements across the board - **Git integration**: Checkpoints now use git under the hood - **Notebook support**: Checkpoints work with Jupyter notebooks - **Security**: Removed denylist for auto-run, improved security model - **UI improvements**: Right-click directories to send to chat ([Cursor Changelog](https://cursor.com/en/changelog), [AlternativeTo](https://alternativeto.net/news/2025/7/cursor-1-3-adds-agent-terminal-sharing-faster-edits-and-enterprise-controls/)) > *Backgrounding tasks in the terminal has been one of the biggest pain points in Cursor agents, so I'm definitely excited to see this feature. Honestly, I haven't had a chance to fully test it out yet, but I'm looking forward to putting it through the ringer.* ### Microsoft Edge Copilot Mode: Multi-Tab RAG **Satya Nadella unveiled Copilot Mode in Edge on July 28, 2025, introducing multi-tab RAG capabilities that analyze all open browser tabs simultaneously.** Key features: - **Multi-tab analysis**: RAG across all open tabs in real-time - **Research synthesis**: Combine information from multiple sources - **Browser-native AI**: First step in "reinventing the browser for the AI age" - **Academic use case**: Demonstrated analyzing Nature journal papers - **Contextual understanding**: Maintains context across different websites ([Microsoft Edge Blog](https://blogs.windows.com/msedgedev/2025/07/28/introducing-copilot-mode-in-edge-a-new-way-to-browse-the-web/), [TechCrunch](https://techcrunch.com/2025/07/28/microsoft-edge-is-now-an-ai-browser-with-launch-of-copilot-mode/)) > *It's fascinating watching every browser add AI capabilities. I've used Chrome forever, so I don't see any AI feature pulling me away after I've customized all my extensions. I've tried the Dia browser, but I spend so much more time using AI in ChatGPT, Gemini, or Claude's actual home pages than opening browser tabs and asking questions. Maybe I just need to adjust my mindset to optimize to chatting with multiple tabs? But my multiple tabs are usually multiple AI sessions that have done searches inline, so 🤷♂️* ### OpenTUI: Terminal UI Library for TypeScript **SST is sponsoring the development of OpenTUI, a TypeScript library for building terminal UIs, with impressive real-time rendering capabilities.** Technical specifications: - **TypeScript-first**: Native TypeScript support for terminal UIs - **Performance**: Real-time rendering without speed-up in demos - **Based on**: kmdrfx's previous work - **Repository**: [github.com/sst/opentui](https://github.com/sst/opentui) - **Use cases**: CLI tools, development dashboards, interactive terminals ([GitHub Repository](https://github.com/sst/opentui), [SST Blog](https://sst.dev/blog/announcing-opentui)) > *The OpenCode terminal team is definitely pushing terminals way beyond what I thought they were capable of. It does seem a bit ironic to build UIs inside terminals when that's not their purpose at all. I don't see the value when there are so many IDEs with built-in terminals where you could build way more advanced UIs that interact with the terminals and let them do what they're best at. But who knows? I could be surprised. I know this is definitely going to appeal to a certain subset of developers.* --- ## 💼 AI Business & Ecosystem ### Industry Shift: From Documentation to Rapid Prototyping **Tech companies are experiencing a fundamental cultural shift from documentation-heavy processes to rapid prototyping, enabled by AI coding assistants.** Cultural transformation across the industry: - **Old model**: Extensive PRDs and documentation before development - **New model**: "Vibe-code" prototypes created in hours instead of days - **Role evolution**: Product and engineering roles increasingly overlapping - **Time equation**: AI-assisted prototyping now faster than writing specifications - **Impact**: Ideas tested in code before extensive planning phases ([Industry Analysis](https://www.computerworld.com/article/4029384/ai-coding-tools-reshape-software-development-culture.html)) > *I like seeing these efforts where project managers are being taught to think in AI workflows. We all need to adjust to what our new tools are capable of. The longer we fight against it and stick to traditional ways, the faster we'll fall behind when it comes time to really leverage these tools' full power. Even if we fail sometimes using these tools, it's better to be prepared for when they become more reliable. If there's one thing we've noticed, it's that AI tools have grown increasingly reliable over the past year. Think about how you use AI today compared to July 2024.* ### Cline's Critique of AI Subscription Economics **Cline published a detailed analysis explaining why subscription models for AI inference are economically unsustainable.** Key arguments: - **Cost mismatch**: $200/month power users can burn $500/day in AI costs - **Provider losses**: Up to $14,800/month per heavy user - **Commodity nature**: AI inference is like gas or electricity - **Hidden limits**: Providers forced to add undisclosed usage caps - **Solution**: Bring-your-own-key model with transparent usage - **Business model**: Cline monetizes through enterprise features, not inference markup ([Cline Blog](https://cline.bot/blog/the-economic-realities-of-commodity-subscription-models), [VentureBeat Analysis](https://venturebeat.com/ai/why-ai-subscription-models-are-economically-unsustainable/)) > *I shared this because I thought it was interesting commentary on pricing models, tokens, and tools. I don't think anyone really has insight into what the future holds regarding price versus model capabilities. How much work does $10 get you? Right now, we're all caught up in pricing model changes being pulled out from under us. But it's quite possible that by this time next year, everything will be so cheap and fast that it won't matter.* --- ## 🤖 Model & Research Updates ### Z.ai Launches GLM-4.5 and GLM-4.5 Air **Z.ai released GLM-4.5 (355B total/32B active) and GLM-4.5-Air (106B total/12B active) on July 28, 2025, featuring frontier reasoning, coding, and agentic capabilities.** Technical specifications: - **GLM-4.5**: 355B parameters total, 32B active, $0.6/$2.2 per 1M tokens - **GLM-4.5-Air**: 106B parameters total, 12B active, $0.2/$1.1 per 1M tokens - **Training**: Hybrid post-training with domain-specific experts - **Features**: Native coding agent inspired by Claude Code - **Benchmarks**: Pareto frontier performance at respective scales - **Availability**: Weights on Hugging Face, APIs via Z.ai and OpenRouter Notable capabilities: - **Website generation**: Create full-stack sites from prompts - **Slides/Poster agent**: Model-native presentation creation - **Interactive artifacts**: Games, physics simulations in HTML/SVG/Python ([Z.ai Blog](https://z.ai/blog/glm-4.5), [Hugging Face](https://huggingface.co/zai-org/GLM-4.5), [PR Newswire](https://www.prnewswire.com/news-releases/zai-releases-glm-4-5--setting-new-standards-for-ai-performance-and-accessibility-while-improving-affordability-302514803.html), [VentureBeat](https://venturebeat.com/ai/chinese-startup-z-ai-launches-powerful-open-source-glm-4-5-model-family-with-powerpoint-creation/)) > *I've seen many benchmarks, but not many people actually using. I'll dig in next week, but I've been fooled by benchmarks before so I'm tempering my excitement.* ### Gemini 2.5 MCP Integration: 2,700+ APIs via Pipedream **Google showcased Gemini 2.5's MCP integration connecting to 2,700+ APIs and 10K tools through Pipedream in under 100 lines of code.** Implementation details: - **Code simplicity**: Complete agent in <100 lines - **API access**: 2,700+ APIs through Pipedream - **Tool count**: 10,000+ available tools - **Demo**: Google Calendar and Gmail integration - **Repository**: [GitHub example](https://github.com/philschmid/gemini-samples/blob/main/scripts/gemini-mcp-pipedream.py) ([Google DeepMind Blog](https://blog.google/technology/google-deepmind/google-gemini-updates-io-2025/), [Pipedream Platform](https://pipedream.com/), [GitHub Example](https://github.com/philschmid/gemini-samples)) > *It's fascinating to see Gemini excel in some areas, especially with larger context windows, where other agents fail. They're tackling problems many people don't have yet—and might never have. I'm definitely never going to build a tool that connects to 2,700 APIs, but I'm glad someone's pushing the boundaries that way.* --- ## 🎨 Creative AI Breakthroughs ### Photoshop Beta: Harmonize Feature Revolution **Adobe's Photoshop beta introduced Harmonize on July 29, 2025, fundamentally changing how compositing works in professional image editing.** ([Adobe Blog](https://blog.adobe.com/en/publish/2025/07/29/powerful-new-photoshop-innovations-creators-creative-pros), [TechCrunch](https://techcrunch.com/2025/07/29/adobe-adds-new-ai-powered-image-editing-features-to-photoshop/)) > *I feel like this is the holy grail for photo editing. I'm decent with the lasso tool and yanking a picture of somebody and plopping it onto a background. But I've never been great at matching lighting or getting the colors just right. This is exciting work. For time-saving design work, especially marketing campaigns, this is going to save people an unfathomable amount of time.* ### Veo 3's Emergent Visual Instruction Capability **Google discovered an emergent capability in Veo 3 where the model can read and execute visual instructions drawn on the first frame of a video.** How it works: - **Input method**: Draw or annotate instructions on the starting frame - **Execution**: Model interprets and executes instructions sequentially - **Prompt**: "Delete instructions and execute in order" - **Applications**: Complex spatial relationships, multi-step animations - **Discovery**: Found by Google Labs team during testing ([Google Flow Blog](https://blog.google/technology/ai/google-flow-veo-ai-filmmaking-tool/), [DeepNewz AI](https://deepnewz.com/ai-modeling/googles-veo-3-learns-to-follow-hand-drawn-video-instructions-89633fd8)) > *I love this story so much. The fact that they didn't design for this, but people discovered a way to use it, is something we'll see more and more of as these models improve. And it's not just a minor discovery—it's an awesome way of interacting with video. Classic storyboarding with arrows and text boxes is just chef's kiss perfection. It makes me wish I was doing more AI video work.* --- ## ⚡ Quick Updates - **Ian Nuttall's 7 custom Claude Code agents**: code-refactorer, prd-writer, project-task-planner, vibe-coding-coach, security-auditor, frontend-designer, content-writer ([GitHub](https://github.com/iannuttall/claude-agents), [Thread](https://x.com/iannuttall/status/1948702664348631446)) - **Gemini CLI comparison vs Claude Code**: 50+ task comparison shows tool choice depends on specific use case - Claude Code excels at multi-file edits, Gemini at single-file refactoring ([Analysis](https://x.com/DynamicWebPaige/status/1949963776918171788)) - **Alex Albert collecting non-coding Claude Code uses**: Community sharing creative applications beyond development ([Thread](https://x.com/alexalbert__/status/1948765443776544885)) - **Cursor tips thread**: Eric Zakariasson gathering lesser-known Cursor features from community ([Discussion](https://x.com/ericzakariasson/status/1948774763318706684)) - **Imagen 4 Ultra**: Logan Kilpatrick confirms "best text to image model in the world" available in Gemini API ([Announcement](https://x.com/OfficialLoganK/status/1948815146115314001)) - **swyx on ambient agents**: Predicts 1-2hr autonomy barrier will be broken by EOY 2025, changing usage patterns ([Thread](https://x.com/swyx/status/1948871669646590165)) --- ## ✨ Live Workshop: Transform into a Claude Code Power User ✨ Full details: [https://egghead.io/workshop/claude-code](https://egghead.io/workshop/claude-code) Learn the latest power user workflows to maximize your productivity. Join me live as I walk through building CLI chains, video prompting, triggering workflows on hooks, and much more: * **When:** Friday, August 8th at 12pm UTC (1pm UK / 2pm Europe) * **Where:** Zoom * **Investment:** $350 ➡️ [**Register Now**](https://buy.stripe.com/bJe3cog5f5iq1oBdNU9fW0c) _Selling out quickly. Secure your spot today!_ --- Thanks for reading! What custom agents are you building? I'd love to hear about your experiments. Read this far? [Share "AI Dev Essentials" with a friend!](https://egghead.io/newsletters/ai-dev-essentials) - https://egghead.io/newsletters/ai-dev-essentials - John Lindquist [egghead.io](https://egghead.io)
article
<Course slug="building-an-api-with-express-f1ea" /> # Introduction As a front-end developer, there will be a time where we will need some type of backend when building our side projects. While we can often decide to code the backend ourselves, this might take more time than expected. If this happens for every side project we have, we will have our git repositories filled with projects that might have more or less the same type of boilerplate code. To avoid these issues and quickly build small-scaled backends to serve my web applications, I often resort to Dark. In this blog post, I’ll explain what Dark is while also introducing you to its components and what you can do with it. I’ll also show you how to build a simple REST API to serve your frontend, demonstrate how Dark allows you to create a datastore, and finally wrap up this article by showing you how Dark integrates with Stripe using one of its packages. # What is Dark? [Dark](https://darklang.com/) is a language and framework for building a serverless backend to serve your web applications without having to worry about infrastructure and deployment work. # First steps When creating our application in Dark, we are redirected to our canvas.  *Canvas* The canvas works as an integrated development environment (IDE), web server, and HTTP client. As an IDE, it allows you to write code and access functionalities you usually have on an IDE, like text editing, debugging, and code completion. As a web server, it allows you to receive HTTP requests. Finally, as an HTTP client, it allows you to compose and send HTTP requests. When interacting with your canvas, you can create handlers. Handlers represent the five components in Dark.  *Omnibox* The five existent handlers are the following: * REST API Endpoints * Background Workers * Cron jobs * Persistent Datastore * REPL Code in Dark is written using these handlers. Handlers do not require an additional infrastructure or deployment process. They are available as soon as they are created and updated as code is written. # How to create a REST API? REST API endpoints are one of the five handlers existent in Dark. This handler supports the standard REST methods: GET, POST, PATCH, DELETE, and PUT. To create a new HTTP handler, select it on the canvas sidebar or through the Omnibox.  *HTTP handler - GET request to /test* In the image above, we can see an HTTP handler that will be responsible for handling a GET request to the /test endpoint. In the code section of our handler, we declare a variable using the let keyword with value as the variable name. This variable is assigned “valueToBeReturn” as its value. Afterward, we leverage one of the functional aspects of Dark which is implicit returns. Besides what we saw in the previous example, the REST API handler also supports features such as flagging and URL parameters.  *HTTP handler - GET request to /test/:username with a feature flag* In the image above, we can see the following: a GET request to the test endpoint that receives username as the URL parameter. Then it returns “hello user” appended to the username. We then create a feature flag that when the username received is “admin” it returns “hello admin”. If we access our endpoint passing a value as username parameter, it will display the following:  *GET request to /test with a random user* If we pass admin as the username parameter, then the feature flag will jump in.  *GET request to /test with admin* Before ending this topic, it’s important to refer that Dark supports trace-driven development. Trace-driven development allows you to use real data to write your application. Here’s an example of it:  *GET request to non-existent endpoint hits the 404* Firstly try to access an endpoint that you haven’t configured in Dark yet. When you do so, Dark will add this endpoint to your 404s section.  *The GET request performed above is added to the 404 section.* Now, we can click on it to add it to our canvas. When writing code, Dark will show you in real-time the incoming trace with data of what you are executing.  *A trace of the output of the request* This is helpful because now, we can know the output of our request without changing tabs and running the request manually.  *A trace of the output of the accept headers from the request* # Creating a Datastore Datastores are one of the five handlers existent in Dark. Datastores in Dark are key-value-based. Here’s a datastore example:  *A datastore with three fields: username, age and, isAdmin* In the handlers shown above, we define the schema for our datastore record. It’s important to refer that in Dark, the key is a unique identifier of the string type that will serve each record. This key is not visible when looking at the datastore schema on our canvas. For the example above, here’s an example of how it would look stored: ```json [ {key: { "age": 43, "isAdmin": false, "username": "testUser" }}, {key: { "age": 23, "isAdmin": true, "username": "theUser" }} ] ``` ## Connecting to a REST API Now we need to connect to our datastore. Usually, in our projects, we need to use some store of REST operation to interact with our datastore. In this section, I’ll show you how to add records to our datastore, followed by how to query our datastore for data. ### Adding Records to the Datastore Dark offers you a great set of functions to use in your handlers. You can access these functions by using `DB::< nameOfTheFunction >` To add a new record to our datastore, we can use the DB::set function.  *A handler for adding data to the datastore* On the handler above, we create an HTTP handler with a POST operation. In the code part of our handler, we access our data from our request body (this data will get sent as JSON). Then we use the DB::set function. This function receives three parameters: 1. The expected fields for our record 2. A key. Here we use the DB::generateKey function to create it. 3. The Datastore name. From this point on, we can post a new JSON object in our request body to the /addToDatastore endpoint, which will cause a new record to get created. ### Querying the Datastore Besides offering functions for creating records, Dark also gives you functions for querying our datastore. Using the DB::getAll function and passing it the datastore name, we query the datastore for all of its records.  *A handler for getting all data from the datastore*  *The output of the call to the handler above* Using the DB::query function and passing it the datastore name followed by an expression to get evaluated, we can write a specific query.  *A handler for querying the datastore for the records of a specific user*  *The output of the call to the handler above* ________________ # Integrating with Stripe API At the moment, Dark supports a bunch of packages that contain functions related to that package. For example, the Slack package allows you to integrate with Slack and have access to conversations, schedule messages and build your own Slack bot. During the Portfolio Project Club hosted by Egghead, one of the objectives was to integrate our app with Stripe. To my surprise, Dark already has a package to handle everything we might need to use from Stripe, which meant that I didn’t need to code a backend and could once again use Dark to make my life easier. During this section, I’ll show how I used customer functions that belong to the Stripe package to query for customer information, followed by how I used Dark to create an endpoint that would be called as a webhook by Stripe every time a new subscription was created. ## Getting customer data During the development process of the portfolio project club, I needed to access all my existing customers to get relevant data, which was easily done by using the getAllCustomers function.  *A handler for getting all customers on Stripe* Here I created an HTTP handler for a GET operation to the /customers endpoint. This handler calls the getAllCustomers function from the stripe package by passing it the Stripe key. Once the result of this call is done, it will return all the existing customers, as we can see from the following image.  *The result of getting all customers on Stripe* When logging in to my app, I needed to get only the information of a specific customer. To do this, I leveraged the getCustomer function.  *A handler for getting a specific customer on Stripe* Here, I created another HTTP handler for a GET operation to the /customer endpoint that receives a customerId as an URL parameter. Then I call the getCustomer function with the Stripe key and the customerId. Once the result of this call is done, it will return our customer data, as we can see from the following image.  *The result of getting a customer on Stripe* ## Creating a webhook Tracking when a user subscribed to my products was one thing I needed during the development of the portfolio project club. If I wanted to get my customer subscription, I could just leverage the customer endpoint created above and check if it has subscriptions. The thing here is, I wanted to manage what subscription that user had myself, and I wanted Stripe to call me and say, “Hey, the user X just created a new subscription” and this was when I decided it was time to create a webhook. To create a webhook in Stripe, we have to access our dashboard, select developers, and then webhooks. Now on the webhooks page, we can add a webhook by selecting “Add endpoint”. Now Stripe will show you a modal where you can set your webhook. In the endpoint URL, we add the URL that we want Stripe to call when our event occurs. On the events to send, I wanted my endpoint to get called once a subscription got created, so I chose the “customer.subscription.created” event.  *Adding a webhook on Stripe* Once this webhook is configured, Stripe will call our given endpoint every time a subscription gets created. Now we just need to link all this in Dark. The first thing that we need is our /subscription endpoint that Stripe will call once the event occurs, then we need some way to store the received data. To do this, we can leverage an HTTP handler for the first part and a Datastore handler for the second.  *A datastore to save our subscription records and a handler to be called by the webhook when a subscribe event is triggered* As you can see from the image above, we created an HTTP handler that will receive a POST operation to the /subscription endpoint. When this POST occurs, it accesses that request body data and uses the DB::set function to add this new record to our created datastore. Using this now, I didn’t have to worry about checking for subscriptions by calling Stripe. I just let Stripe call me every time a new subscription was created. # Wrapping up We saw how Dark could make your back-end building process much easier and time-efficient during this blog post. We saw how handling HTTP requests and storing records in data centers worked. And we ended with reviewing one of Dark’s packages for connecting with Stripe. As you read in the introductory section, there’s more to Dark than just what’s written in this blog post, so I encourage you to try it out and start saving some time on building your backends. I hope you enjoyed it, see you next time! <Course slug="building-an-api-with-express-f1ea" />
article
Now that we talked about the common [Request interception algorithms](https://egghead.io/blog/understanding-api-mocking-request-interception-algorithms), it’s time to dive deeper into Service Workers and whether they can be used to implement API mocking (spoiler: they can). <ResourceWidget resource="youre-currently-reading-a-series" /> I haven’t listed them in the previous article intentionally because, to my best knowledge, there aren’t many libraries out there using Service Workers for this exact purpose. But why is that so? What kind of challenges arise when you try to use workers to intercept requests? And is it even possible to solve each and every one of those challenges to get a functional API mocking solution? To answer all of those questions, we have to start from the beginning. ## What is a Service Worker? A Service Worker is an event-driven background task that can intercept outgoing requests in the browser, modify navigation, and cache responses. You have certainly heard about Service Workers in the context of Progressive Web Applications (PWA) because they enable essential user experience enhancements like fast client-side caching, offline-first applications, and push notifications. But, as we will learn, they can also be used for so much more. ### Service Worker usage Every browser ships with a [standardized API to declare Service Workers](https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API), and here’s what it looks like: ```jsx // worker.js // Create a "fetch" event listener in the Service Worker // that triggers every time a page makes an HTTP request. self.addEventListener('fetch', (event) => { const { request } = event event.respondWith(async () => { // Look up a cached response for this request. const cachedResponse = await caches.match(request) if (cachedResponse) { // Respond with a cached response if present. return cachedResponse } // Perform the request as-is. const response = await fetch(request) // Cache the copy of the original response. await cache.put(request, response.clone()) // Respond with the original response. return response }) }) ``` > `caches` is a global object available in the Service Worker’s scope. > That is an example of a basic Service Worker script for caching resources on the browser level. Now, on its own, that module won’t really do anything. We need to *register* that worker in our application for it to do its magic. ```jsx // app.js // Register a Service Worker script for this application. await navigator.serviceWorker.register('./worker.js') ``` > Note that the Service Worker registration is asynchronous. The browser needs to check if your worker is already registered, compare it to the running version to issue an update, or download the worker script and then register it if it’s a new worker. All that is because worker registrations *persist across page reloads* to guarantee a better caching experience. > Once the worker is registered, it starts *controlling* our application—it can intercept, alter, and resolve any asynchronous requests our application makes from that point onward. ### Service Worker runtime You may be wondering **when** and **where** a Service Worker handles requests. The core of any worker is the `fetch` event listener, which means that something up the chain will dispatch that event. That something is *the browser*. That’s right, the worker integrates directly into the browser, and the latter notifies it about any outgoing requests that happen on the page. Despite our application registering the worker, the worker script doesn’t run as a part of the application’s runtime. Instead, it runs *in parallel to it*.  > A high-level diagram of the Service Worker runtime. > This characteristic makes the request interception performed by the worker unique because it captures HTTP requests that *have already happened* and are pending in the browser to be handled by any controlling workers before being sent to the actual server. ## What if…? One of the main use cases for Service Workers is responding from the cache. However, that is not the only source for the responses you can send from the worker. You might have noticed that in the case of an uncached request, we are sending an original `Response` instance after fetching the resource: ```jsx // worker.js self.addEventListener('fetch', (event) => { event.respondWith(async () => { const response = await fetch(request) return response }) }) ``` In fact, the `event.respondWith()` function just expects a [Fetch API `Response` instance](https://developer.mozilla.org/en-US/docs/Web/API/Response) regardless of where we get it from, even if we construct a dummy response ourselves: ```jsx // worker.js self.addEventListener('fetch', (event) => { // Respond to every outgoing request with a dummy response. event.respondWith(new Response('Hello world!')) }) ``` > The cached responses stored in the global `caches` object are also plain `Response` instances! > And that custom response will be handled like any other HTTP response in the browser:  > A “Network” tab screenshot showcasing a custom `Response` instance sent over the network. > Wait, so there’s a standardized browser API to intercept requests on a network level and resolve them with arbitrary responses? That screams API mocking! ## Challenges Well, not that fast. While the Service Worker API is fantastic for many purposes, it wasn’t quite designed with API mocking in mind. There are a number of intricacies in the worker’s behavior that can put spokes in the wheel of our ambition. ### Service Worker life cycle If we decide to put the request matching logic in the worker, we would be modifying the worker script quite often. But here’s the thing: unless you disable this in the browser’s devtools, any changes to the worker script will only get applied on the next page load when your application’s code loads again and registers the modified worker. This can easily lead to stale mocking logic, resulting in unreliable tests or confusing development experience. Besides, any changes to the request matching logic, such as appending a new mock scenario for a specific test, would require a full page reload, which further degrades the DX. ### Hard-reloading Remember how I mentioned that workers persist between page reloads? Well, what if you want to opt-out from that? What if you’ve accidentally registered a worker with a bug? You would want to have that worker force-removed, and the specification comes with an escape hatch to allow you just that. You see, whenever you hard reload the page, the browser will forcefully unregister any active Service Worker controlling the page. So, if we implement API mocking using the worker, a hard reload will disable any mocking altogether until the next page reload. That is not ideal, to say the least because it can easily lead to unpredictable behavior both when developing and testing our application against mocks. ### Scope Any Service Worker registers at a specific scope (by default, its the worker’s location on the server and all nested child paths there). This is great for controlling cache from different parts of the application but not so great when it comes to API mocking. You see, the worker persists not only between page reloads but also between *browser sessions*.In other words, it gets registered in the browser and stays there until the same site either updates the worker or unregisters it. Given that a lot of applications are developed on the same [localhost](http://localhost) port, this would mean that a mock Service Worker would still affect the traffic between different projects if you decide to spin them up on the same port. That sounds like a recipe for confusion. ### Browser timeout Service Workers get terminated by the browser if they’ve been idle or too busy for too long. It would be rather unfortunate to lose the API mocking superpowers if you’ve been focusing on a different part of your application for some time. That time differs between browsers but most seem to implement the pruning of idle workers in one way or another. ## Mock Service Worker  Despite the challenges, five years ago I became interested in using Service Workers for API mocking. This led to an open-source library I created called [Mock Service Worker](https://github.com/mswjs/msw) (MSW). MSW has become one of the most widely used API mocking solutions in JavaScript, helping hundreds of thousands of developers prototype, debug, and test their products. It's even been adopted by companies like Google, Microsoft, Amazon, Vercel, and countless others to ensure network control in their CI pipelines. But MSW's innovation doesn't stop at its interception algorithm. The key design principles of the library are what really sets it apart from the rest. <EmailSubscribeWidget /> ### Key principles 🤝 **Seamless** From day one I wanted to build an API mocking solution that wouldn’t ask you to do any changes to your application. Not during tests, not ever. Let it request the same production resources but get mocked, defined responses back whenever you need them. Let it evaluate as much of your production code as physically possible, which meant no patching of `window.fetch` or meddling with the request clients your application may use, while still giving you full control over the network. 🌐 **Agnostic** Achieving that level of seamlessness requires being fully agnostic. MSW works equally well for any request clients, including `window.fetch`, Axios, React Query, or Apollo, without requiring configurations, adapters, or plugins. Moreover, MSW provides the same predictable behavior regardless of whether it is used in the browser or in Node.js. This environment-agnostic approach enables MSW to work seamlessly with any tooling that you may use while working on your project, including Storybook, Cypress, Playwright, Jest, Mocha, and more. ♻️ **Reusable** API mocking is often considered a feature of testing frameworks, but this significantly limits its capabilities. To fully benefit from API mocking, it should have its own layer in your application, separate from the tests and tools you use. This way, you can have a single source of truth for network behavior and integrate it wherever you need, giving you total control of your network across the entire stack. Simply describe mocks once and use them anywhere. ### Using Mock Service Worker Alright, that was a nice prep talk, how do you actually use the library? > While I will walk you through the library usage below, we have an official [Getting Started](https://mswjs.io/docs/getting-started) tutorial that I highly recommend reading while integrating MSW into your project. > ### 1. **Describe the network** We start by describing the network behavior we want by using *request handlers*. Those are functions that are responsible for two things: intercepting requests and resolving their responses. Think of them as of server-side route handlers because, effectively, you’re describing server-side behaviors when writing API mocks. Here’s an example of a `handlers.js` module that describes how to handle some requests: ```jsx // src/mocks/handlers.js import { rest, graphql } from 'msw' export const handlers = [ // This request handler describes how to process // a "GET /user" request. rest.get('/user', (req, res, ctx) => { return res(ctx.json({ firstName: 'John', age: 32 })) }), // In a similar fashion, this handler intercepts and resolves // GraphQL queries named "GetRecommendedMovies". graphql.query('GetRecommendedMovies', (req, res, ctx) => { return res( ctx.data({ movies: [ { id: 1, title: 'The Lord of the Rings' }, { id: 2, title: 'The Godfather' } ] }) ) }) ] ``` > MSW ships with first-class support for mocking GraphQL API! Say goodbye to mock providers and embrace silly-fast prototyping by combining multiple API types at the same time. > A module like `handlers.js` is a great place to put the “happy paths” of your applications—HTTP transactions applicable at any level of your app. We can add new handlers or change the existing ones later on via the `[.use()` API](https://mswjs.io/docs/api/setup-worker/use), both on browser runtime and on a per-test basis in Node.js. ### 2. **Integrate into environments** Notice how we didn’t take into account *where* our handlers will run or what request clients our application will be using. Because we don’t need any of those details to describe the network. Now, once it’s described, we can proceed with creating *integration points*. With MSW, you can integrate your network behavior with any browser and any Node.js process, including at the same time! **Browser integration** In the browser, MSW operates by registering and activating a Service Worker. Since Service Workers can intercept and affect outgoing traffic, it’s a security requirement that you host and serve the workers by yourself. The library ships with a handy CLI to help us copy the worker script into our application’s public directory: ```jsx npx msw init ./public ``` > Depending on the framework you’re using, that public directory may be different. Please consult your framework’s documentation to find the correct public directory path to use. > This will copy the `./mockServiceWorker.js` script into `./public`, so it’s publicly served from the application’s root. This step is only necessary when creating the browser integration. Next, we have to register that worker. The library exposes a handy `setupWorker` API to set up and automatically register the worker script we’ve just served: ```jsx // src/mocks/browser.js // 1. Import the "setupWorker" function that configures and registers // the Service Worker responsible for request interception. import { setupWorker } from 'msw' // 2. Import your "happy paths" handlers. import { handlers } from './handlers' // 3. Create a "worker" instance that you can later use // to enable mocking and change its behavior on runtime. export const worker = setupWorker(...handlers) ``` The `setupWorker` function configures the `worker` instance but doesn’t actually register anything yet. You can reuse the same worker instance across different browser processes, such as local development or an end-to-end test in tools like Cypress or Playwright. To actually register the worker and enable API mocking, we have to call the `.start()` method on the worker: ```jsx // src/App.jsx (or your application's root) // Conditionally start MSW. if (process.env.NODE_ENV === 'development') { const { worker } = require('./mocks/browser') worker.start() } ``` > Note that registering a Service Worker is an *asynchronous action*. Because of that, you may encounter a race condition between the worker’s registration and some of the requests your application performs on initial render. To account for those, I recommend [deferring your application’s render](https://mswjs.io/docs/recipes/deferred-mounting). > With this integration done, if we load our application in the browser, we will see a console message confirming that API mocking has been enabled:  Any outgoing requests that match the request handlers we’ve defined in `handlers.js` will be intercepted and resolved using the mocked responses we specified. You can observe the traffic in the “Network” tab in the devtools as you would do with real responses because, as far as your application is concerned, those *are* real responses. **Node.js integration** **There are no Service Workers in Node.js**. As the result of it, we don’t have to copy any scripts or account for any asynchronous registrations. Instead, MSW provides the `setupServer` API that has the same call signature as `setupWorker` but is meant to provision request interception by the means available in Node.js (I talked about those in the [Interception algorithms](https://egghead.io/blog/understanding-api-mocking-request-interception-algorithms) so feel free to learn more about those). ```jsx // src/mocks/node.js // 1. Import the "setupWorker" function and configures // the interception of requests in a Node.js process. import { setupServer } from 'msw/node' // 2. Import the same set of request handlers that describes // how the network should behave. import { handlers } from './handlers' // 3. Create a "server" instance that you can later use // to enable, modify, and disable API mocking. export const server = setupServer(...handlers) ``` > Note that despite the name, the `setupServer()` function doesn’t establish any servers. The name has been chosen for familiarity because, conceptually, you *are* describing a server-side behavior when using API mocking. > In a similar fashion, this configures the `server` instance to be reused across any Node.js processes (e.g. Node.js server development, testing frameworks like Vitest or Jest, React Native, etc). The remaining step is to enable the mocking by calling `server.listen()`. Below, you can see an example of integrating MSW in Vitest/Jest (which are Node.js processes running your tests): ```jsx // setupTests.js import { server } from './src/mocks/node' // Enable API mocking. beforeAll(() => server.listen()) // Make sure that request handlers we add on a per-test basis // are reset between tests. afterEach(() => server.resetHandlers()) // Clean up and disable API mocking. afterAll(() => server.close()) ``` > Learn more about the `setupServer` API in the [Documentation](https://mswjs.io/docs/api/setup-server). > ## Using Service Worker for API mocking At the beginning of this article I talked about how the Service Worker API isn’t designed for API mocking and that, despite its objective benefits, it poses a set of challenges to bend it to this particular use case. If that’s true, why am I advocating for this tool called MSW? Because it successfully solves those challenges and has been shipping an incredible mocking experience to developers for years now. Let’s dive into technical details on how exactly it did that. ### Writing mocks on the client In my first iteration of the library, I kept all the request handlers directly in the worker script. That has proven to be a bad decision on many levels: - You cannot use any third-party code. The worker’s scope is strict and you’d have to bundle the worker if you wish for it to include that code, which is an unnecessary overhead; - You cannot use your own application’s code, like utilities and helper functions, in the request handlers for the same reason as above; - Changes to the request handlers (i.e. to the worker) doesn’t apply on the page immediately. You have to wait for the worker update to be promoted, or check the “Update on reload” option in your browser’s devtools and still having to reload the page for the changes to take effect. Those are developer experience regressions I don’t wish to ship. Naturally, something has to be done about this, and the solution has once again led me to “use the platform”. I moved the request handlers (including the mocking logic) to the client side. This allows you to use your preferred languages, dependencies, and utilities to describe the network without burdening the worker. The entire request handling and response resolution pipeline is executed on the client, while the worker simply acts as an intermediary for captured requests and mocked responses. MSW establishes a `MessageChannel` between your application and the worker that allows the two to communicate effectively. Here’s how this approach translates to the HTTP request journey:  Notice that both the outgoing request (1) and the incoming response (3) are green, which means they are performed and received identically to production. Using a Service Worker means having no request client stubs *and* sending authentic responses from the network as if an actual server has sent them. This separation of concerns has clicked with me immediately because it provided me exactly what I was looking for: an interception algorithm that respects your application’s integrity. Moreover, by separating the concerns between the worker and the client, MSW is able to ship a snappy and reactive experience not affected by lazy worker updates or the worker’s life cycle phases. ### Handle hard reloading If you hard-reload the page, the browser will deactivate any workers controlling the current client. For MSW, that would mean deactivating any mocking and, potentially, breaking your app (e.g. when you’re developing mock-first). Luckily, there is a reliable way to detect when a hard reload happens specifically in the context of a worker. First, a bit of terminology: - A worker *registration* (obtainable by `navigator.serviceWorker.getRegistration()`) **is an entry kept by your browser that associates a particular client (e.g. a web page) with a particular Service Worker registration; - A *controller* (obtainable by `navigator.serviceWorker.controller`) points to the Service Worker instance that is currently controlling this client. When a hard reload happens, the browser forces the client to become uncontrolled (`navigator.serviceWorker.controller === null`). However, hard reload has no effect on the existing worker registrations. That’s why on the next (regular) reload of the page, the matching registration will activate the worker and promote it to become this client’s controller. Handling hard reload becomes a matter of detecting when that happens and forcing a regular page reload to skip the uncontrolled phase altogether: ```jsx const isControlled = navigator.serviceWorker.controller !== null const hasRegistration = await navigator.serviceWorker.getRegistration() .then(registration => typeof registration !== 'undefined') if (!isControlled && hasRegistration) { // If the client is uncontrolled but has registrations, // this indicates a hard reload. Force a regular reload // right afterward to promote the existing worker registration // to activate and control this client immediately. location.reload() } ``` ### Self-terminating Service Worker Now, when it comes to dealing with the worker’s scope, we certainly don’t want for one set of request handlers to leak to a completely different application served on the same local host. The way we handle this in MSW is by telling the library’s worker to unregister itself when the last controlled client is closed. This solution consists of two parts: 1. Client-side: Detecting when a controlled client is closed and signaling that to the worker; 2. Worker-side: When the number of clients reaches zero, unregister the worker. If you’ve used Service Workers before, you may know that you can unregister the worker from any controlled client by obtaining the worker reference and calling `worker.unregister()`. However, you can also do that *from the worker itself*. Here’s a rough example of the implementation for this solution: ```jsx // client.js document.addEventListener('beforeunload', () => { // Let the worker know that the current client is closing. worker.postMessage({ type: 'CLIENT_CLOSED' }) }) ``` ```jsx // mockServiceWorker.js const activeClients = new Set() self.addEventListener('message', async (event) => { const clientId = event.source.id if (event.data.type === 'CLIENT_CLOSED') { // Remove the closing client from the internal set. activeClients.remove(clientId) // If there are no more active clients left controlled // by this worker, unregister it. if (activeClients.size === 0) { self.registration.unregister() } } }) ``` Whenever you close the last page of your application, the worker will unregister itself. Opening a new application on the same host will have no worker present to control that host, giving us the clean state that we want. ### Keeping the worker alive While developing, you may not be touching API-related functionalities for some period of time, and the worker may become idle. To prevent the browser from unregistering such idle worker, MSW implements a pingpong messaging between the client and the worker so it constantly handles incoming events. ```jsx // client.js setInterval(() => { // Send a "PING" message to the worker every 5 seconds. worker.postMessage({ type: 'PING' }) }, 5_000) ``` ```jsx // mockService.Worker.js self.addEventListener('message', (event) => { // Whenever the client sends a "PING" message, // respond with a "PONG" message, keeping the worker busy. if (event.data.type === 'PING') { const clientId = event.source.id const client = await self.clients.get(clientId) const channel = new MessageChannel() client.postMessage({ type: 'PONG' }, [channel.port2]) } }) ``` ## Benefits The main benefit and also the main distinction of MSW is that it embraces API mocking as a standalone layer of your application. Mocks first, integrations later—that’s been the recipe that has unlocked previously unseen reusability where you don’t have to repeat yourself describing the same network behaviors across different tools that don’t understand each other. > And if you’d like to see how MSW compares to other solutions, we’ve got a [Comparison](https://mswjs.io/docs/comparison) page just for that. > With the option to reuse mocks and less amount of setup needed as a result, you aren’t just adding another library to your stack but investing into resilient, lasting solution that can support you from the early prototype to the finished product. Frameworks, languages, and libraries may come and go, and you wouldn’t have to make any changes to your API mocking layer (yes, I suggest you start calling it that!). If you’re still unconvinced, I highly recommend watching the [“Beyond API mocking” talk](https://www.youtube.com/watch?v=76yEzm07Kfk) by me and reading through the [“Stop mocking fetch” article](https://kentcdodds.com/blog/stop-mocking-fetch) by Kent C. Dodds. --- ## Closing thoughts MSW has already revolutionized the experience behind API mocking, and it will only push it forward with each release. Its features, such as behavior-driven network contracts, seamless integration, and the ability to alter your network as you please, are often taken for granted until you switch to another tool. I would like to finish this piece by saying thank you to Egghead for giving me this incredible opportunity to write about API mocking and MSW, in particular. And thank all of you for reading through this series, trying my projects out, giving feedback, and supporting me throughout the years. You are truly awesome, and I wish to share more exciting things with you in the months to come! If you believe in seamless, reusable API mocking that respects your application’s integrity, please consider supporting MSW on GitHub Sponsors at https://github.com/sponsors/mswjs. Every contribution helps us bring the future of API mocking closer to reality. Thank you! ## Links & materials - [**Official documentation**](https://mswjs.io) - [MSW on GitHub](https://github.com/mswjs/msw) - [MSW on Twitter](https://twitter.com/ApiMocking) - [Usage examples](https://github.com/mswjs/examples)