Learn AI in Bits

Dan W

AI explained in bits. Each episode takes one concept, like tokens, embeddings, hallucinations, or prompt injection, and explains it in about five minutes. No jargon, no filler. Just the idea, why it matters, and what to remember. If you're curious about AI or already building with it, you'll come away understanding how these systems work. One concept. Five minutes. That's the whole show.

  1. 6h ago

    028 - Claude Academy Is Now Available - So What Is It?

    Anthropic launched Claude Academy on March 2, 2026, a free, self-paced learning platform at academy.claude.com. This episode covers what's actually in it, how the courses are organized, and a closer look at the "AI Fluency" framework Anthropic puts at the center of the whole thing, including a worked walkthrough of its four core competencies applied to a real task. Claude Academy started with 13 courses and has grown to around 20, ranging from introductory material for people who've never used Claude to technical deep dives on the Claude API and Claude Code, plus dedicated pathways for K-12 educators and nonprofits. The catalog is organized by how you'd actually use Claude rather than by difficulty: tracks cover Claude.ai, Claude Cowork, the developer-facing Claude Code and Claude Platform tools, and Claude Tag inside Slack. On the technical end, "Building with the Claude API" runs 84 lectures across 8 hours with 10 quizzes, with matching courses for running Claude through Amazon Bedrock and Google Vertex AI. There's also a dedicated course on the Model Context Protocol and one on model capabilities and limitations. Every course awards a certificate on completion, and none of it requires a credit card. The course Anthropic points newcomers to first isn't technical at all. "AI Fluency: Framework and Foundations" teaches what Anthropic calls the four D's: Delegation, deciding whether, when, and how to engage AI on a task; Description, communicating a goal clearly enough to get a useful result; Discernment, accurately judging whether an AI's output is actually good; and Diligence, taking responsibility for what gets done with AI and how. The episode walks through all four applied to drafting a difficult client email, and touches on the framework's three modes of human-AI interaction: automation, augmentation, and agency. The larger point is that the four D's aren't specific to Claude or to any one platform. They're a vocabulary for a kind of judgment that doesn't show up in a changelog, and having names for each step gives a person, or a team, a way to talk about exactly where a task with AI went right or wrong. Sources & References Claude Academy — https://academy.claude.com/ Claude course catalog — https://claude.com/resources/courses Claude tutorials — https://claude.com/resources/tutorials Anthropic, AI Fluency Framework and Foundations PDF — https://www-cdn.anthropic.com/b383cf6baddbfc72fdf8b0ed533a518e2872d531.pdf Cryptobriefing, Anthropic launches Claude Academy to enhance AI learning resources — https://cryptobriefing.com/anthropic-launches-claude-academy/ Voice narration is AI-generated.

  2. 7h ago

    027 - The AI Stack Developers Actually Use in 2026

    Ask a developer to describe their AI stack and most people picture one model wired into one clever autonomous agent. Production data shows something messier. This episode maps what the AI development stack actually looks like in 2026 — models, databases, languages, and the connective tissue holding it together — using current developer telemetry from Datadog and a joint 2026 industry survey instead of marketing claims. On models, Datadog's analysis of AI usage across more than a thousand customers found OpenAI used by 75% of organizations a year ago, down to 63% now, while Anthropic's Claude gained 23 percentage points and Google's Gemini gained 20 over the same stretch. More than 70% of organizations now run three or more models side by side, picking each one for quality, speed, cost, or the task at hand rather than staying locked into a single provider. Frameworks like LangChain sit between those models and the rest of an application, but adoption is still far from universal: Datadog found agent-framework usage at only about 18% of organizations in early 2026. Production telemetry also shows most of what gets labeled an "agent" is doing far less than the word implies: 59% of agentic applications made just a single service call, and only 18% chained three or more together. On the database layer, Datadog found about 60% of organizations run at least one production Postgres instance, and its vector-search extension, pgvector, was the fastest-growing non-bundled Postgres extension in their data, up 24% between December 2025 and May 2026 — but still early, with fewer than 6% of organizations and under 1% of tables actually using a vector index, leaving dedicated vector databases like Pinecone, Weaviate, and Qdrant to handle retrieval at real scale. On languages, Python remains the leading language ecosystem for accessing Postgres in production, up 33% over two years, while Node and TypeScript stay important for web applications, APIs, and streaming interfaces — there's no single required split, and most teams use each language where it naturally fits. The episode closes on the economics, drawn from a joint 2026 AI engineering survey by Notion, Amplify Partners, and Vercel: about three-quarters of respondents said cost regularly or sometimes changes how they use AI, inference and model serving is the most commonly purchased layer rather than built in-house, and only 28% of eligible calls actually use prompt caching despite the cost savings on offer. The same survey found 97% of respondents reporting positive effects from AI, alongside 93% reporting at least one negative effect — skill erosion the most common at 29%, followed by higher review burden at 28% and brittle, incident-prone code at 22%. Sources & References Datadog, State of AI Engineering — https://www.datadoghq.com/state-of-ai-engineering/ Datadog, State of Postgres — https://www.datadoghq.com/state-of-postgres/ 2026 AI Engineering Survey, Notion, Amplify Partners, and Vercel — https://www.notion.com/lp/ai-engineering-survey Amplify Partners, The 2026 AI Engineering Report — https://www.amplifypartners.com/blog-posts/the-2026-ai-engineering-report Voice narration is AI-generated.

  3. 22h ago

    026 - What Is Prompt Injection? The Copilot CoSnitch Hack

    One click on a link, and Microsoft's own Copilot could read a user's email, Google Drive, and calendar, then quietly send it to a stranger. This episode explains prompt injection, the security flaw unique to AI agents, through a real Microsoft Copilot vulnerability that was patched after sitting open for months. A model reading text can't reliably tell the difference between an instruction from its actual user and an instruction hidden inside content it's processing, a webpage, an email, a shared document. If that content contains hidden text telling the model to ignore its real instructions and leak data instead, a model with no built-in sense of who's allowed to give it orders can follow that instead. Researcher Simon Willison named the exact combination that makes this dangerous the "lethal trifecta": an agent with access to private data, exposure to untrusted content, and the ability to communicate externally. Microsoft's Copilot had all three. Security researchers at Varonis Threat Labs found a flaw they named CoSnitch: a link combining two URL parameters, one that pre-filled Copilot's chat box with a hidden prompt and one, called autorun, that executed it automatically the moment the page loaded, with no typing required and no way to stop it by closing the tab. Once running, the injected prompt used Copilot's own built-in web-fetching tool to pull email subject lines and bodies, Google Drive filenames, calendar details, chat history, and Copilot's own saved memory, then send it out encoded to dodge detection filters. A companion flaw let attackers plant instructions directly into that saved memory, persisting through a password change, a revoked session, or even a new device. Varonis reported the issue to Microsoft on December 31, 2025. Microsoft shipped a partial fix that February and didn't close the vulnerability completely until August 18, 2026, about seven and a half months later, on a bug Microsoft itself rated critical. The episode explains why that timeline matters: prompt injection doesn't patch the way an ordinary bug does, because the underlying problem, a model's inability to fully separate its user's instructions from anyone else's, isn't unique to Copilot. Any AI assistant wired into private data, exposed to the open web, and able to send data back out carries the same three ingredients, regardless of which company built it. Sources & References The Hacker News, Microsoft Copilot Personal Flaws Could Let One Click Exfiltrate Data From Connected Apps — https://thehackernews.com/2026/08/microsoft-copilot-personal-flaws-could.html Computerworld, Microsoft finally patches critical one-click Copilot vulnerability, almost eight months after learning of it — https://www.computerworld.com/article/4211325/microsoft-finally-patches-critical-one-click-copilot-vulnerability-more-than-eight-months-after-learning-of-it.html Simon Willison, The lethal trifecta for AI agents: private data, untrusted content, and external communication — https://simonwillison.net/2025/Jun/16/the-lethal-trifecta/ Voice narration is AI-generated.

  4. 23h ago

    025 - What Is a Context Window?

    Paste a 200-page PDF into a chatbot and it answers questions about page 180 within seconds. That feels instant and free. Neither is quite true, and this episode explains what a context window actually is, what happens inside a model when it processes a huge document, and why a bigger window always comes with a cost. A context window is the total amount of text, measured in tokens, a model can hold at once across the prompt, any pasted document, and its own reply. Flagship models from OpenAI, Google, and Anthropic have all converged around a roughly one-million-token window in 2026, up from the 4,000- and 8,000-token limits those same companies shipped just a few years earlier. Inside that window, a transformer compares every token against every other token to decide what to attend to, so doubling the amount of text roughly quadruples the compute required, which is why OpenAI's own pricing sheet charges more once a request crosses into what it calls long-context territory. Size brings a second cost that has nothing to do with money: research on "lost in the middle" behavior shows models are measurably worse at using information buried in the center of a long context than information at the start or end, and newer testing on today's huge-context models found that gap gets worse, not better, as windows grow, with 10 to 25 percent accuracy loss on facts placed mid-document. The episode works through the actual math on a 200-page PDF: at roughly 500 words a page and OpenAI's own conversion rate of about 0.75 words per token, that document comes out to roughly 130,000 tokens and around 33 cents in input costs before the model writes a single word back. It also covers a concrete real-world response to that tradeoff: OpenAI's own coding tool, Codex, deliberately caps how much of GPT-5.6's advertised 1.05-million-token window it will actually use at once, capping it at 272,000 tokens specifically because of mid-document accuracy loss and runaway cost. The practical takeaway is simple: put what matters most at the start or end of a long prompt, not buried in the middle. Sources & References OpenAI, Key concepts (token-to-word conversion) — https://developers.openai.com/api/docs/concepts OpenAI, API pricing — https://developers.openai.com/api/docs/pricing Codex Knowledge Base, The Context Window Gap: Why Codex CLI Caps GPT-5.6's Million-Token Window at 272K — https://codex.danielvaughan.com/2026/07/20/context-window-gap-codex-cli-gpt56-advertised-vs-effective-budget-compaction-strategy/ hidekazu-konishi.com, LLM Context Window Growth Timeline — https://hidekazu-konishi.com/entry/llm_context_window_growth_timeline.html Voice narration is AI-generated.

  5. 23h ago

    024 - What Is Open-Weight AI?

    Meta and Mistral give away state-of-the-art AI models for free, no purchase or subscription required. That sounds like open source software, but it isn't quite the same thing, and the difference has real consequences for anyone building on top of these models. This episode explains what "open weight" actually means and how it differs from open source AI. A model's weights are the millions of parameters it learned during training; publishing them lets anyone download and run the finished model. The Open Source Initiative, the group that defines the term for software, says that alone doesn't qualify as open source: a model only earns that label if it also comes with the training code and real details about the training data, the sources that shaped it, not just the finished result. The distinction gets concrete in the actual license text. Meta's Llama 4 Community License Agreement requires any company with more than 700 million monthly active users in the preceding month to request a separate license from Meta, and it blocks using Llama's own outputs to train a competing model, restrictions a genuine open source license like Apache or the ones covering Linux would never include. Mistral, the French AI company, ships most of its core models under Apache 2.0, a real open source license with no usage cap, while other open-weight releases, like Google's Gemma, carry their own restrictions, including the right to remotely cut off access if usage rules are broken. The episode also covers why these companies give away models that cost hundreds of millions of dollars to train. For Meta, a free model functions as a large-scale recruiting tool, builds a developer ecosystem, and pressures closed competitors like OpenAI and Anthropic on price, all while Meta's core revenue stays tied to advertising rather than model access. Mistral co-founder Guillaume Lample frames the company's reasoning around independence: "We don't want AI to be controlled by only a couple of big labs," a statement that also reads as a pitch for European AI sovereignty against dominant American labs. Sources & References Open Source Initiative, Open Weights: not quite what you've been told — https://opensource.org/ai/open-weights Meta, Llama 4 Community License Agreement — https://raw.githubusercontent.com/meta-llama/llama-models/main/models/llama4/LICENSE TechCrunch, Mistral closes in on big AI rivals with Mistral 3, open-weight frontier and small models — https://techcrunch.com/2025/12/02/mistral-closes-in-on-big-ai-rivals-with-mistral-3-open-weight-frontier-and-small-models Voice narration is AI-generated.

  6. 1d ago

    023 - What Is AI Model Routing?

    Why does ChatGPT answer some questions instantly and pause to "think" on others? Most people assume they're always talking to the same AI brain. In reality, a router decides in a fraction of a second which model actually handles your message, and that decision shapes both the quality of the answer and what it costs to produce. This episode explains model routing, the invisible layer sitting in front of most modern AI products. OpenAI built a router directly into GPT-5 when it launched in 2025, and it's still the default behavior in ChatGPT: the system looks at your conversation type, how complex the request appears, whether tools are needed, and explicit signals like typing "think hard about this," then sends easy requests to a fast, efficient model and harder ones to a deeper reasoning model. The router keeps improving over time based on which answers users actually preferred and how often each model got things right. Routing isn't limited to one company's own lineup. OpenRouter, a platform that sits in front of roughly 400 models from OpenAI, Anthropic, Google, and dozens of other providers, runs its own "auto" router that classifies a prompt by task type and picks a model based on real usage patterns from its community over the trailing week. OpenRouter said it was serving about 8 million users by this spring, and on August 19, 2026, days before this episode, Stripe confirmed it's buying the company in a deal reported at more than $7 billion, a bet that routing between AI models is becoming as central to the internet as routing payments already is. The episode works through a real cost comparison to show what's actually at stake in a routing decision: on OpenAI's current pricing, the efficient GPT-5.4 nano model runs about twenty cents per million input tokens, while the full GPT-5.4 model runs two dollars and fifty cents for the same volume, more than twelve times as much. That gap is the economic reason routing exists, and it explains why most routed products still let a user override the router's guess when the stakes are high enough to want a specific model by hand. Sources & References OpenAI, Introducing GPT-5 — https://openai.com/index/introducing-gpt-5/ OpenRouter, How Model Routing Works — https://openrouter.ai/blog/insights/model-routing/ Morph, OpenAI API Pricing — https://www.morphllm.com/openai-api-pricing TechCrunch, Stripe will reportedly acquire AI gateway startup OpenRouter for $7B+ — https://techcrunch.com/2026/08/16/stripe-will-reportedly-acquire-ai-gateway-startup-openrouter-for-7b/ Axios, Stripe confirms OpenRouter acquisition — https://www.axios.com/pro/fintech-deals/2026/08/19/stripe-openrouter-acquisition Voice narration is AI-generated.

  7. 2d ago

    022 - Loop Engineering vs. Graph Engineering: How AI Agents Are Actually Built

    Ask two AI engineers how they build an agent and you might get two different answers: one describes a loop, the other draws a graph. This episode of Learn AI in Bits breaks down loop engineering versus graph engineering, the architecture debate reshaping how AI agents get built in 2026, including a quote from LangChain creator Harrison Chase admitting even he isn't fully sure what "graph engineering" means yet. The episode explains both patterns in plain terms. A loop is the classic agent pattern: take an action, check the result, and retry with the error included until the output actually works. A graph restructures the task into nodes, distinct steps that call a model, run a tool, query a database, or wait on a person, connected by edges that route what runs next, with shared state and the ability to branch work in parallel and rejoin it later. Listeners get a worked example: a coding agent fixing a bug, first as a loop that patches and retests until the suite passes, then as a graph that splits the same fix into a planning node, an execution node, and parallel security-scan and test branches that both have to report back before a finalize step runs, catching an issue the loop version might miss entirely. The episode cites real 2026 adoption figures: LangGraph had crossed 126,000 GitHub stars by April, a newer framework called Mastra reached 22,000 stars and 300,000 weekly downloads by its 1.0 release in January, and companies including Klarna, Replit, and Elastic are running graph-based orchestration in production. It also lays out five concrete signals for when a graph is actually worth the added complexity: distinct specialists per step, parallel work that has to rejoin, different models for different steps, a decision path that needs to be auditable, or a single verification check that's grown overloaded. This is a practical, current explainer for anyone building or evaluating AI agents in 2026, focused on the actual engineering choice behind the terminology. Sources & References Loop Engineering vs Graph Engineering: Why Every AI Engineer Should Learn Them in 2026, Medium — https://medium.com/@diwasb54/loop-engineering-vs-graph-engineering-why-every-ai-engineer-should-learn-them-in-2026-f04f066636c4 Graphs vs. Loops: Agentic AI Orchestration Debate 2026, explainx.ai — https://explainx.ai/blog/graphs-vs-loops-agentic-ai-debate-linear-andrew-ng-2026 Graph vs Loop: Which Should Your Agent Use?, AI Builder Club — https://www.aibuilderclub.com/blog/agent-graph-vs-loop-when-to-use Graph-Based Agent Workflow Orchestration in Production: The 2026 Landscape, Zylos Research — https://zylos.ai/research/2026-04-14-graph-based-agent-workflow-orchestration-production/ Voice narration is AI-generated.

  8. 2d ago

    021 - Is Computer Science Dead? What the Enrollment and Job Data Actually Say (Deep Dive)

    For about fifteen years, computer science was one of the safest majors to recommend. The 2026 data checks that advice: enrollment, unemployment, hiring trends, and a real curriculum redesign, for parents, students, current CS majors, and professors alike. The National Student Clearinghouse reported computer and information sciences enrollment fell 8.4% at four-year schools and 11.2% at two-year colleges in spring 2026, with graduate enrollment down 14%, even as total enrollment grew nationally. A Computing Research Association survey of 134 academic leaders found 62% of programs saw undergraduate enrollment drop, typically by 11% to 15%. Computer science now has the lowest persistence rate of the ten most popular bachelor's degrees, at 85%, versus 93% for engineering. That same CRA survey ties the decline to fear that AI will eliminate software engineering jobs, and two thirds of computing departments say recent grads are struggling to find work. Federal Reserve Bank of New York data, drawn from Census figures on graduates in their early twenties, puts computer science unemployment at 7% and computer engineering at 7.8%, fifth and second highest of 73 majors tracked. Entry level hiring has tightened: the junior share of tech employment fell from 15% to 7% in three years, and Microsoft and Google both say roughly 30% of their code is now AI generated, with Meta targeting 50%. But the data also cuts the other way. Computer science graduates who do find work are underemployed at under 20%, versus roughly 42% for graduates overall, and the major still ranks third among the most in demand bachelor's degrees. IBM says it's tripling entry level technical hiring. Some of the pullback likely traces to pandemic era over hiring correcting itself rather than AI, and the enrollment drop looks more like a shift toward specialization: cybersecurity, data science, computer engineering, and standalone AI programs are all growing inside the same departments. The University of Iowa redesigned its computer science curriculum for fall 2026 around 2023 to 2024 Association for Computing Machinery guidelines, adding required ethics and intro to AI courses and combining separate statistics, probability, and linear algebra classes into one applied math course. That redesign lines up with what hiring managers say they actually want: shipped, deployed projects over GPA, real maintenance experience, and fluency working alongside AI tools instead of trusting or ignoring them. Direct guidance follows for each audience, plus cybersecurity, data science, computer engineering, and physical infrastructure fields as the alternatives current data points toward. Sources & References National Student Clearinghouse, computer science enrollment data: https://www.studentclearinghouse.org/nscblog/computer-science-enrollment-is-cooling/ CRA CERP Pulse Survey: https://cra.org/crn/2025/10/cerp-pulse-survey-a-snapshot-of-2025-undergraduate-computing-enrollment-patterns/ NY Fed, College Labor Market data: https://www.newyorkfed.org/research/college-labor-market VnExpress, U.S. computer science graduates unemployment rate: https://e.vnexpress.net/news/tech/tech-news/us-s-computer-science-grads-face-5th-highest-unemployment-rate-5048578.html Built In, computer science degree decline and AI: https://builtin.com/articles/computer-science-degree-decline-ai Extern, computer science job market guide 2026: https://www.extern.com/post/computer-science-job-market-2026-guide Boise State University, AI and computer science demand: https://www.boisestate.edu/coen-cs/2026/03/10/more-ai-means-more-computer-science/ Ardura Consulting, junior developer hiring crisis: https://ardura.consulting/blog/junior-developer-crisis-2026-why-companies-stopped-hiring-entry-level/ U. of Iowa, new CS curriculum for fall 2026: https://cs.uiowa.edu/news/2026/06/new-computer-science-curriculum-fall-2026 Voice narration is AI-generated.

About

AI explained in bits. Each episode takes one concept, like tokens, embeddings, hallucinations, or prompt injection, and explains it in about five minutes. No jargon, no filler. Just the idea, why it matters, and what to remember. If you're curious about AI or already building with it, you'll come away understanding how these systems work. One concept. Five minutes. That's the whole show.