← All lessons

The AI side — models, agents, and why an "aggregator"

Plain-English, no background needed. The big picture sketched what software and AI are; this lesson zooms into the AI part — what these models actually are, and why this app exists. (The technical plumbing — servers, databases, the cloud — comes a bit later, in Foundations.)

You don't need to build a model to build this app. We never train AI here — we call models other companies run. This lesson is about understanding what you're ordering, not how to cook it.

1. What is an AI model?

A model is a program that has read an enormous amount of text (or images, or video) and learned the patterns in it. You give it some input, it predicts a sensible continuation.

Models come in different kinds, grouped by what they take in and put out:

This app focuses on text (chat), image, and video — the three in the product spec. Audio and 3D are part of the wider AI world; they're listed here so you see the whole landscape, not because the app does them (today).

2. Different models, different strengths

There isn't one "best" AI — there are many, each with trade-offs: some are sharper at code, some at creative writing, some make better images, some are cheaper, some are faster, some will write things others refuse to (see §6 below).

3. What is an AI agent?

A plain chatbot answers and stops. An agent is a model that can take actions in a loop to reach a goal: it can use tools (search the web, read a file, run a command), look at the result, and decide the next step — over and over until it's done.

4. Why an "aggregator"?

Think of an API as a menu one program offers another: a fixed list of things you can order, and how to ask for them. (More on this in Foundations.) An aggregator is one app that orders from many providers' menus and brings the results into a single place.

5. Bring-your-own-key (BYOK)

To order off a provider's menu, you need an API key — a secret password that says "bill this to my account." BYOK means each user brings their own keys.

6. AI censorship & "uncensored" models

Many mainstream models have guardrails — they'll refuse certain requests. Other, more open models have fewer restrictions and will attempt things the big ones won't.


See it in the real project

IdeaWhere it shows up
Calling models (not training them)our backend orders from OpenRouter + AtlasCloud
Comparing modelssend one prompt to several at once
An agent building softwareClaude Code writes/commits this very repo
BYOKthe /settings page where you add your own keys

Want the product's full "what & why"? Read ../prd/phase-1.md.

Next: Foundations — the concrete pieces (server, frontend/backend, the cloud, database vs. files) and the proper names for them.