TCGen Logo

—— Ai ——

AI Core Concepts, Visually Explained

A quick visual tour — hover any box to see what it is.

By Nolan Myers·
AI Core Concepts, Visually Explained

The landscape

Large language models — a kind of generative machine learning — have become our front door to the wider landscape of “AI.”

AIMachine learningGenerativeLLMsImage generatorsSpeech synthesisNon-generativeRecommendersClassifiersRecognition
Hover any box to see what it is.

What Is an LLM

At its simplest, a large language model is a function that turns a prompt into a statistically likely response. Under the hood, it reads the prompt as a series of tokens (words and word-pieces), runs them through its billions of parameters (or weights) — the numeric dials below, set during training — via a vast chain of matrix multiplications, and generates a new sequence of tokens, one at a time, that it returns as the response. Running a trained model this way is called inference.

Prompttext inLLMResponsetext out
Hover any part to see what it is.

Basic App Stack

On its own, an LLM is just a function that turns a prompt into text — useful, but not yet a product. App developers make it usable by packaging it: app logic on top and compute underneath, both of which the model needs to reach real users. App logic is the layer the developer builds — UI, accounts and billing, the system prompt, memory. Compute is the hardware that runs the model. Claude and ChatGPT are one such packaging, but these three layers describe any AI app: a company building its own assistant picks its own model and its own compute, then writes the app logic around them.

AppClaude · ChatGPT · your own appApp LogicUI & admin · system prompt · memory · skillsModelOpus 4.8 · Sonnet 4.6 · GPT-4o · o3ComputeAWS · Azure · Google Cloud
Hover any layer to see what it is.

More Sophisticated Apps

Developers extend an App’s functionality two ways: by embedding multiple models inside it, or by connecting it outward to other AI apps, data sources, and software. To do both, they introduce a harness in the App Logic — a coordinator that shares context between the model calls and the connected apps.

App 1App LogicUI · system prompt · memory · skillsModel Harnesscoordinates the model callsModel 1e.g. OpusModel 2e.g. SonnetComputeAPIMCPApp 2another AI appDatadatabases · documents · knowledge basesSoftwareemail · calendar · CRM · code repos
Hover any layer or source to see how the App extends itself.

Agents

Agents are AI apps designed to pursue a goal and take actions within a specific domain.

The new concept is the prompt: in a normal app, a prompt can be any request; in an agent, the prompt becomes a goal that App Logic pursues by looping through model calls, software actions, and observations until the work is done.

Promptas goalApp Logicagent loopThinkActObserveDone
Hover any step to follow the loop.

For example, an agent can turn “RSVP yes to the invite from my friend” into a short workflow: understand the goal, inspect the invite, send the RSVP through software, and report back.

UserApp LogicModelSoftwareUser"RSVP yes"GoalFind inviteDecideSend RSVPConfirmThe loop lives in App Logic; the model and software are called as needed.
Hover any step to follow the goal across the lanes.

The model harness

One way to use these ideas: a harness coordinates several specialized model calls — plan, execute, judge — and loops until the output meets the bar.

Task / GoalHarnessPlannerPlans & sequences the stepsOften a smaller,faster modelmodel call ①ExecutorDoes the work, invokes toolsUsually the mostcapable modelmodel call ②EvaluatorJudges output qualitySends back if outputdoes not meet barmodel call ③rejects: loops backResult
Hover any element to see what it does.

Where it runs

Any model runs in one of two homes — cloud-hosted or self-hosted — and the choice decides who sees your data.

YouCloudLLMSelf-hostedYouLLM
Hover each side to compare.

Inference providers

If you go cloud, three kinds of provider can serve the model: the model lab itself, a cloud platform, or a dedicated inference provider.

Your AppLab APIAnthropic · OpenAIGoogle · MistralModelProprietaryInfrastructureLab-operatedCloud PlatformAWS Bedrock · Azure AIGCP VertexModelProprietary + openInfrastructureCloud provider'sInference ProviderBaseten · Together AIFireworks · HuggingFaceModelOpen-weight / customInfrastructureProvider's GPU fleet
Hover each column to see how that provider type works.