I-DON COURSE GUIDE

I Don't Really Use Libraries Anymore

A chapter-by-chapter readback of the free course by Theo - t3․gg on Theo - t3․gg.

Length32:04
Chapters20
Modules8
Plain Markdown with clickable timestamps — drops into Obsidian, Notion or GitHub as-is.

AI-generated code flips the old cost math on dependencies: problems that were once worth outsourcing to a package can now be solved with a prompt, so libraries increasingly get replaced, forked, or simply used as references.

Who it's for
Read this guide if
  • You maintain packages and wonder whether install counts still mean anything
  • You debate between installing a dependency and prompting an agent to reimplement it
  • You follow stories like Redis replacing C++ libraries or Anthropic rewriting Ink
Skip ahead if
  • You want a hands-on coding tutorial rather than an opinion essay
  • You need deep technical detail on any single library or tool
  • You are not interested in how AI agents change developer workflows
In brief
  • 32 minutes long (1,924 seconds), structured into 8 chronological modules and 18 chapters
  • Tools discussed: NPM, Next.js, Vite, Convex, Zustand, Ink, Bun, Claude Code, ShadCN, FFmpeg
  • Key examples: the Takumi removal in T3 Chat and a Redis PR deleting 4,000 lines while adding 400
  • Level: intermediate — assumes familiarity with JavaScript ecosystems and package management
  • Includes a contribution decision tree and a framework for fork-vs-buy dependency decisions

The walkthrough

Each chapter below is our original written explanation of what happens at that moment in the video — a paraphrase, not a transcript. Click any timestamp to jump the player.

The Takumi Swap and the Redis Signal

Theo opens with two real events showing libraries being ripped out in favor of AI-written code: his own removal of the Takumi renderer from T3 Chat, and a Redis pull request that deleted 4,000 lines of C++ and added only 400 lines of pure C written by Claude Code. Together they establish that this is a working pattern, not just a prediction.

0:00

Introduction

Theo argues that AI is reshaping the role libraries play in software development. He recalls how ecosystems like NPM normalized installing trivially small packages such as left-pad, which he says made developers lazier by letting them plug in code they barely understood — and he sees AI usage following the same psychological pattern. His thesis for the episode is that libraries are becoming far less useful, and that this will visibly change projects and package.json files over time. The rest of the video backs this claim with his own production incidents and ecosystem data.

2:27

The Redis Pull Request

Theo highlights a Redis pull request from AntiRes, Redis's creator, who is replacing C++ dependencies with vibe-coded pure C implementations. One such PR removed 4,000 lines and added just 400, written by Claude Code using Opus 4.5, then tested manually and synthetically against the original. Code review was done independently by Codex and GPT 5.2. Theo presents this as the strongest signal that even systems-level maintainers now find rewriting a library cheaper than maintaining a dependency, calling it a preview of what package.json files will look like going forward.

4:00

The Case Against Micro-Packages

Theo concedes critics of micro-packages like is-odd and left-pad have real points: is-odd is literally one line of code, so installing it outsources competency. He lists the concrete costs — supply-chain attack surface, the risk of a malicious maintainer takeover, breaking major versions, and massive transitive dependency chains. He frames the NPM era's tiny-package culture as the same laziness AI now enables, setting up his next argument: that AI code is actually the cleaner solution to the problem micro-packages tried to solve.

AI Code as the Better Dependency

This module connects the anti-micro-package argument to AI: generating a one-line function locally avoids every supply-chain risk that made left-pad infamous. But Theo draws a hard line — large, genuinely hard libraries like Takumi remain worth using, and his own attempt to replace one shows where AI still fails, particularly on canvas rasterization details like spacing and word wrapping.

5:21

Why AI-Generated Code Solves This

Theo points out an irony: people who complain about packages like is-odd also tend to complain about AI code, yet AI code is arguably the fix. Generating or tab-completing a tiny function locally means no registry, no takeover risk, and no dependency chain — the exact problems critics cited. He acknowledges writing code yourself and understanding it is still better, but argues that for small libraries, AI generation eliminates the supply-chain and comprehension problems even for less experienced developers, though it also makes skill levels harder to detect.

8:44

Where AI Falls Short: Canvas Rendering

When Theo vibe-coded a client-side replacement for Takumi, agents got a vague React rendering mostly right but failed hard on the details: spacing, word wrapping, layout, and card aesthetics. His conclusion is that AI usefulness drops sharply in niche technical areas — broad, well-represented code patterns are easy for models, while pixel-level rasterization subtleties are not. This is why he consciously accepted a downgrade in the replacement: images are now generated client-side and shared links lost image previews, a tradeoff he made as a developer who understood what he was giving up.

Categorizing What You Should Keep

This module builds a decision framework: libraries beyond your knowledge, tedious-but-reimplementable ones, and heavyweight platforms like Next.js. Theo's failed 'Theo's awful sync engine' for T3 Chat shows personal capability vs. problem complexity determines adoption — and that AI has bent the old willingness-to-adopt curve, since you can now prompt an agent to build from a library's code as a reference.

9:14

External Code and Build Friction

Theo discusses AntiRes's FastFloat replacement in Redis, motivated by removing a C++ dependency that requires g++, a compiler often absent on Linux distros even when basic build tools are present — simplifying builds for everyone. His core insight from this story: expecting external code to behave in your codebase like your own code is unrealistic, and he argues that mindset is precisely why tools like Webpack persist into 2026 despite years of criticism.

11:51

Framework Decisions: Next.js vs. Rolling Your Own

Theo places frameworks on the tediousness spectrum: state management in React, for example, is rock solid and extensible in existing solutions, so rebuilding it makes little sense. Next.js earned its place through decades of work — when he needed login, a blog, invalidatable sessions, or server rendering for SEO, it accommodated unusual needs where Vite plus React frustrated him. He admits he has regretted Next.js at times, but never for missing functionality, though he stresses it doesn't fit everything and he now builds his own solutions more readily than before.

The Bent Adoption Curve

Theo describes how the classic willingness-to-adopt-dependencies curve has fundamentally bent. After failing to build his own sync engine, he adopted Convex — but the deeper shift is that any library can now be used as a reference for an agent, and Pete's 'prompt requests' quote shows even code review is changing.

13:34

Theo's Awful Sync Engine and Convex

Theo tried building his own client-server sync engine — which he self-deprecatingly calls 'Theo's awful sync engine' — for T3 Chat, and failed. That failure moved him to Convex, a database plus compute platform, and his willingness to adopt rose because he had personally felt the problem. A major factor: Convex lives in the codebase as actual source code, which makes it far easier for AI tools to modify, foreshadowing his later argument that code inside the repo is worth more in the agent era.

15:12

Prompt Requests

Theo quotes Stipeet (Pete): 'I don't like pull requests anymore... I now prefer prompt requests — just share the prompt you ran or want to run; if I think it's good, I'll run it myself and merge it.' He extends this to dependency adoption: instead of NPM-installing something like Zustand, you can hand the library's code and API to an agent and have it implement only the parts you want, pulling in none of the package's own dependencies. This breaks the old linear model of the adoption curve.

17:12

The New Adoption Math

Theo formalizes the shift. The old adoption formula was roughly problem hardness times need for a solution times adoption risk. Today, perceived risk is up — after waves of NPM exploits, every dependency feels scarier — while hardness is down, because implementing the functionality yourself via AI is easier than ever. Both variables moving in opposite directions changes the calculus for nearly every install decision. He notes articles by Simon and Jeffrey even argue 'libraries are kind of dead now,' though he immediately adds an important exception.

Downloads, Funding, and Your Role

Despite the theory, download numbers show packages like is-odd and left-pad are installed more than ever, since AI brings less experienced developers into the field. Theo closes the module with a decision tree for whether you should be a user, backer, contributor, or maintainer of any given library.

18:27

Downloads Aren't Dropping

Theo checks the data and finds his theory half-confirmed: is-odd and left-pad downloads haven't dropped — left-pad is even trending up — despite the need shrinking, since its functionality is now built into JavaScript as a string padding function. He also tempers the hype: you won't vibe-code an FFmpeg alternative, which he calls an incredible library powering things indefinitely. Meanwhile open source remains financially unsustainable by design, maintainers burn out under support demands, and heavy-need libraries are likely being installed more than ever.

19:30

The Contribution Decision Tree

Theo lays out how to decide your relationship with a library, driven by one question: how much can you influence or shift it, since you don't control it. If you can't influence it, you're just a user. If you can but won't contribute time or PRs, you're a backer. If you can contribute, ask whether it's strategically important to your business: if yes, become a maintainer; if no, stay a contributor — or fork it and build an alternative, which AI makes far more viable than before.

Ink, Claude Code, and Bun

Using real dependency decisions, this module contrasts forkable in-project libraries with project-wrapping ones. Anthropic privately rewrote Ink for Claude Code yet acquired Bun outright, proving Theo's framing that 'Ink is worth forking, Bun is worth buying' — while ShadCN's copy-paste-into-your-repo approach shows why code living where agents operate keeps gaining value.

20:03

Ink: React for CLIs

Theo explains Ink as 'React for CLIs' — React components and primitives that render terminal interfaces, much as React Native renders to native platforms; most current AI coding CLIs started on top of it. Its NPM trend popularity has skyrocketed thanks to new AI coding tools, and Theo still uses it for vibe-coded CLI apps because agents know React well. He pushes back on blaming Ink for the classic Claude Code flicker: the real cause is terminal rendering modes — the standard versus alternative buffer — and tools like OpenCode using the alternative buffer must re-implement standard terminal behavior themselves.

23:29

Anthropic Rewrites Ink, Buys Bun

Anthropic privately rewrote Ink internally for Claude Code — closed source — rather than contribute upstream or open-source a fork, because maintaining it internally is cheaper and easier. Theo also notes Ink's constraints: buffer usage, performance assumptions, and one part-time maintainer, Vadim, with Sindre Sorhus having largely taken over and also building ky, a fetch alternative Theo likes. Bun is the opposite case: it wraps Claude Code entirely — bundling, building, binaries, runtime — and can't simply be vibe-coded around, so Anthropic acquired it, making it a core dependency for shipping native cross-platform binaries.

24:30

Fork It or Buy It

Theo distills the dependency framework: low-level dependencies that live inside your project — like left-pad or Ink — are easy to fork or rewrite yourself. High-level dependencies that wrap your entire project — like Bun — are risky to merely depend on and are better acquired or owned outright. His verdict on Anthropic's moves: 'Ink is worth forking, Bun is worth buying.' Developers must now actively evaluate which dependencies to fork, replace, fund, or avoid, and how we measure reliance on packages is fundamentally changing.

Prompts Are the New Library

ShadCN's copy-paste model and tools like BTCA show that code living in the repo — or at least in training data — beats external packages. Theo identifies the paradox: everything that made a package worth installing now makes it worth replacing, because well-documented problems can be recreated in one to ten prompts.

25:36

Code in the Repo Beats Docs

Theo favors ShadCN because it copies component code directly into a Components folder in your codebase instead of installing NPM packages, and it has moved away from Radix packages toward base UI. He extends the idea to agents: AI reads actual codebases better than docs or MCPs. He cites BTCA by Ben, which clones a codebase and uses built-in tools like grep to answer questions, proving more reliable than docs-indexing MCPs like Context 7. Code living where agents operate is more valuable than ever, raising the incentive to pull dependencies in or drop external libraries.

27:30

The Replacement Paradox

Theo cites Simon Willison, who built his S3 credentials package out of frustration with IAM policies but now doubts he'd create such a library, since modern LLMs handle those policies well. Theo himself now values prompts and usage examples over source code: many dependencies can be recreated in one to ten prompts when they're well-documented and common. The paradox follows directly — the traits that made a package worth installing (an annoying problem, a simple solution, popularity) are exactly what put it in LLM training data, making it worth replacing.

28:16

Prompts as the New Library

Theo concludes the argument: the incentive to adopt new, unknown libraries is dropping in favor of building things agents already know, and 'prompts are becoming the new library.' He offers a concrete example of the pattern — a shareable prompt on Matt Pocock's website that refactors an agents.md file following progressive disclosure principles, copy-pasteable straight into a terminal. Something that could have been a paid hosted tool ships instead as a free prompt, and Theo expects far more software to follow this distribution model.

Field Test and Closing

The module stress-tests the argument's practical side by running a free, shareable refactoring prompt on Theo's own agents.md setup. Claude flagged rules like 'always try for concise, simple solutions' as redundant, T3 Chat gave more useful comparative output, and Theo concludes this copy-paste-prompt pattern — prompts as the new library — is something we'll see far more of.

30:04

Running the Prompt

Theo executes the agents.md prompt and reports the findings. It located no contradictions in his instructions, flagging only ambiguity around the rule 'use PMPM if the project already uses it, otherwise use bun.' It suggested moving tech stack and TypeScript restrictions out of the root, which he judges too simple to warrant that. Claude labeled 'always try for concise, simple solutions' as redundant default behavior — he sarcastically disagrees, noting he copied it from a Matt Pocock tip — and called 'if I have to do too much work at once, stop and state that clearly' too vague, though he finds it genuinely useful for larger ClaudeMD files.

31:50

Closing Thoughts

Running the same analysis in T3 Chat produced more useful results: it compared the global ClaudeMD with the internal one and asked clarifying questions, demonstrating that the same prompt yields different value across tools. Theo reiterates his expectation that this free-copy-paste-prompt pattern — which could easily have been a paid hosted library — will become more common. He closes on the observation that the world is changing in ways both scary and exciting, and asks viewers directly whether they'd uninstall their NPM packages or think he's wrong about libraries.

Moment by moment

TimeWhy it matters
1:27Theo removes the Takumi library from T3 Chat and vibe-codes a client-side replacement
2:27The Redis PR that deleted 4,000 lines and added 400, written by Claude Code on Opus 4.5
15:12Pete's 'prompt requests' quote — sharing prompts instead of pull requests
23:29Anthropic privately rewrote Ink but acquired Bun — the fork-vs-buy contrast
29:30'Prompts are becoming the new library' — the video's core thesis stated

Do this next

  1. Audit your package.json and mark each dependency as trivial-to-reimplement, tedious-but-mature, or wrapping-your-project
  2. Try handing one small library's API to an agent and prompting a dependency-free implementation of just the features you use
  3. Classify one dependency with Theo's decision tree — user, backer, contributor, or maintainer — and act on the answer

Common questions

Why did Theo remove the Takumi library from T3 Chat?

Takumi is a Rust project that renders React components to images, and its bindings broke deployments on Vercel — production T3 Chat went down about 25 seconds on ship, so he reverted. Instead of working around the quirks, he vibe-coded a client-side replacement. It was a conscious downgrade: images now generate client-side and shared links lost image previews, but he understood the tradeoffs as a developer.

What happened in the Redis pull request Theo mentions?

Redis's creator AntiRes is replacing C++ dependencies with vibe-coded pure C. One pull request removed 4,000 lines and added only 400, written by Claude Code using Opus 4.5, then tested both manually and synthetically against the original. Code review was done independently by Codex and GPT 5.2. Theo presents it as proof that even systems-level maintainers now find rewriting cheaper than depending.

Does Theo think all libraries are dead?

No — he explicitly says you won't vibe-code an FFmpeg alternative, calling it an incredible library that will power things indefinitely. His framework distinguishes micro-packages like is-odd (one line of code, easy to generate locally) from genuinely hard libraries. Frameworks like Next.js also survive because decades of accumulated functionality — login, blogs, server rendering for SEO — accommodate needs vanilla React makes frustrating.

What is the flicker problem in Claude Code really about?

Theo argues the flicker commonly blamed on Ink is actually a terminal rendering modes issue: the standard buffer versus the alternative buffer. Tools like OpenCode use the alternative buffer and must re-implement standard terminal behavior themselves, which produces the artifacts. He still uses Ink for vibe-coded CLI apps because AI tools know React well, and its NPM popularity has skyrocketed thanks to AI coding tools.

Why did Anthropic rewrite Ink but acquire Bun?

Because of where each dependency sits. Ink is a low-level library inside Claude Code, easy to fork or rewrite — so Anthropic privately rewrote it, closed source, since internal maintenance is cheaper and easier. Bun wraps Claude Code entirely: bundling, building, binaries, and runtime, and can't be vibe-coded around. Hence Theo's summary: 'Ink is worth forking, Bun is worth buying.'

Are downloads of packages like is-odd actually dropping?

No — Theo checks the data and finds is-odd and left-pad downloads haven't fallen, and left-pad is even trending up, despite its functionality now existing in JavaScript as a built-in string padding function. He believes libraries are likely being installed more than ever, because AI brings less experienced developers into the field even as it makes self-implementation easier for everyone else.

What is the 'replacement paradox' Theo describes?

The traits that made a package worth installing — an annoying problem, a simple solution, a popular and well-maintained package — are exactly the traits that put it into LLM training data, making it easy to recreate. Simon Willison doubts he'd build his S3 credentials package today since modern LLMs handle IAM policies well. Theo says many dependencies can now be recreated in one to ten prompts.

What is a 'prompt request' instead of a pull request?

Theo quotes Pete (Stipeet): 'I don't like pull requests anymore... I now prefer prompt requests — just share the prompt you ran or want to run; if I think it's good, I'll run it myself and merge it.' The idea extends to dependencies: instead of installing Zustand, give an agent its code and API and have it implement only the parts you want, with no transitive dependencies.

Spot a mistake?

Spotted a timestamp, name, or claim that doesn't match the video? Every summary on this page is hand-checked against the transcript, but errors can slip through — tell us and we'll fix it fast.

More course guides