Fundamentals

What Is a Framework?

Concepts2 min readUpdated June 12, 2026

In short

A framework is a ready-made structure for building apps that handles the common, hard parts for you so you do not start from a blank page every time. Instead of wiring up routing, rendering and project structure by hand, a framework gives you sensible defaults and conventions, and you fill in what makes your app unique. Nearly every modern website is built on one because it turns months of plumbing into something you can stand up in minutes.

A house with the walls already up

Think of a framework like a house where the foundation, walls and plumbing are already in place. You still design the rooms and decide how to live in it, but you are not pouring concrete. The framework makes the decisions that are the same for almost every app, leaving you free to focus on the parts that are actually yours.

Frameworks you will hear about

You do not need to master these, just to recognise the names when an agent or tutorial mentions one.

  • Next.js: a popular React framework for full web apps.
  • Astro: great for fast, content-heavy and marketing sites.
  • TanStack Start: a modern React framework, used by this very project.

Why it matters for building with AI

A framework gives an AI agent a known structure to work inside, with clear conventions for where things go. That makes the agent more reliable, because it is filling in a familiar shape rather than inventing one. Picking a mainstream framework is one of the easiest ways to get better results from agent-built projects.

Common beginner confusions

It is easy to think you must choose the "best" framework before you can start, and to freeze on that decision. In reality any mainstream framework will carry you a long way, and switching later is rare and rarely fatal, so the cost of picking imperfectly is low. People also blur frameworks with languages: a framework is built on top of a language, so React frameworks like Next.js or TanStack Start are still JavaScript and TypeScript underneath. And a framework is not a no-code tool that builds your app for you; it is a structured starting point you build inside. The leverage comes from pairing a familiar framework with an AI agent, which knows its conventions and fills in the shape far faster than building from scratch.

Frequently asked questions

Next step

Ready to put AI to work as a real workflow?

Start with the foundations course, keep your progress locally and sync everything to your free account whenever you like.