Open the WaytoAGI knowledge base on Feishu · 100M+ visits, open to everyone →
WaytoAGI

Knowledge Base · Learning paths

AI Terms for Absolute Beginners: The Complete Whitepaper

This beginner-friendly AI whitepaper breaks down core concepts for non-technical readers. It organizes the entire AI system into 7 clear layers—from Model, Token, and Prompt to RAG, Agent, Loop, and Graph—helping you understand where each term fits, what problems it solves, and when to use it, building a complete knowledge map of artificial intelligence.

AI for beginnersAI glossaryAI whitepaperAI concepts explainedRAG explained

Translated from Chinese by AI. Spotted an issue? Use the feedback button.

🔗 Original link: https://x.com/king1818888/status/20...

From Models, Tokens, and RAG to MCP, Agents, Loops, and Graphs

Version: v1.0 | Verified on: August 9, 2026

Target audience: Non-technical readers who are new to AI and want to build a complete conceptual map first.

Starting Point: Why I Compiled This White Paper

The motivation was very concrete: the curiosity and series of questions from friends around me.

They encountered a long string of terms — large language models, LLM, GPT, Prompt, Token, RAG, Embedding, MCP, Agent, Workflow, Harness, and more. Each term can be looked up individually, but when put together, they easily become overwhelming and confusing.

While organizing this, I faced three practical constraints.

First, readers may not have a technical background. If explaining one term introduces five new ones, the article only increases the cognitive load.

Second, models and products evolve rapidly. A version that is mainstream today may be replaced in just a few months. Therefore, every version must include a verification date and cannot be presented as a permanent conclusion.

Third, many terms exist at fundamentally different levels. GPT is a model family, while ChatGPT is a product; RAG is a data retrieval method, while MCP is a connection protocol; Loop is an execution mechanism, while Graph is an orchestration structure. Putting them all on a single flat list makes it harder to form clear judgments the more you try to memorize.

So I set a clear goal for this white paper: instead of trying to cram in every possible term, focus on answering three practical questions for each concept.

  1. At which layer of an AI system does this term belong?
  2. What problem does it solve?
  3. In what situations do I actually need to care about it?

Observation: Confusion Comes from Mixing Different Layers

After re-examining these terms, I found that beginners are most easily confused by four key relationships.

2.1 Models, Products, and Company Brands Are Often Mixed Together

Some people say they are using GPT, others say they are using ChatGPT. Some treat Gemini as a model, while others treat it as an application. These are understandable in casual conversation, but must be clearly separated when making technical judgments.

Models provide capabilities, products provide user interfaces, and companies are responsible for training, operating, and updating the models. A single product may also switch between different versions of underlying models.

2.2 What the AI Can “See” vs. What It Originally Learned Are Often Confused

Content the model learned during training, content from the current conversation, temporarily uploaded files, and information retrieved from a knowledge base are not the same thing.

Many cases of “why did the AI suddenly forget” or “why doesn’t it know our company’s internal policies” are actually the result of poorly handled context and data sources.

2.3 Generating Text vs. Executing Tasks Are Often Mixed Up

A model may be able to write operational suggestions, but that does not mean it has been granted permission to read files, query databases, send emails, or modify code.

Moving from content generation to action execution requires tools, permissions, runtime environments, and confirmation mechanisms in between.

2.4 Agents, Workflows, Loops, and Graphs Are Often Confused

All four terms relate to “getting things done,” but they focus on different aspects.

  • Workflow focuses on pre-defined steps.
  • Agent focuses on dynamically deciding the next step based on the goal.
  • Loop focuses on how to observe results after an action and continue iterating.
  • Graph focuses on how to organize nodes, branches, parallel execution, and fallback paths.

Once these four relationships are clarified, the remaining terms will no longer feel scattered and chaotic.

Framework: I Divide AI Systems into 7 Layers

My view is that beginners don’t need to start with model parameters. Building a layered map first makes it much easier to identify whether you’re currently missing model capability, data, tools, or execution processes.

This table is my way of organizing information to reduce cognitive load. It is primarily used for positioning problems. The industry has other classification methods — there is no need to treat this layering as a fixed standard.

Execution: Breaking Down the Terms Layer by Layer

4.1 AI, Machine Learning, Deep Learning, and Large Language Models

AI (Artificial Intelligence) is the overarching term. Any technology that enables machines to perform recognition, prediction, generation, decision-making, or task execution falls under this broad category.

Machine Learning is one specific approach within AI. Instead of developers manually writing every rule, the system learns patterns directly from data.

Deep Learning is a major branch of machine learning. It typically uses multi-layer neural networks to handle complex patterns. Most of today’s popular large language models, image models, and speech models are built on deep learning techniques.

Large Language Models (LLMs) emphasize model scale, training data volume, computational investment, and general-purpose capabilities. It is not “just a very large piece of software,” nor is it a term exclusive to any single company.

I understand these terms as a nested relationship:

Artificial Intelligence └── Machine Learning └── Deep Learning └── The technical foundation used by most modern generative large language models

4.2 LLMs, Multimodal Models, and Reasoning Models

LLM stands for Large Language Model. It primarily handles language-related tasks such as question answering, summarization, translation, writing, and code generation.

When generating answers, it combines patterns learned during training with the current context. It does not automatically query authoritative databases for every sentence, so “sounding complete” does not equal “facts verified.”

Multimodal models can process text, images, audio, or video simultaneously. Real-time models place additional emphasis on low-latency interaction and are commonly used for voice conversations, screen collaboration, and real-time translation.

Reasoning models (also known as Thinking Mode) typically allocate more computation to complex problems. They are well-suited for multi-step analysis, code debugging, and high-difficulty judgment, but often require longer processing time and higher cost. Simple tasks do not necessarily need the highest reasoning intensity enabled.

4.3 GPT, Gemini, Claude, MiniMax, and DeepSeek

These names refer to model families or brands from different companies. They can all handle text-based tasks, but their product formats, tool support, multimodal capabilities, speed, and pricing differ significantly.

This table is intended to help with model selection and is not a comprehensive ranking. I evaluate five main aspects: task performance, stability, speed, price, and whether the available tools and data interfaces are appropriate.

The same model family often offers different versions. High-performance versions are suitable for complex tasks, while lightweight versions are ideal for high-frequency, low-cost workloads. In practice, the best approach is to test the models on your own specific tasks.

Official references: OpenAI Models, Gemini Models, MiniMax API Overview, DeepSeek Models.

4.4 Product Interfaces and APIs

ChatGPT, Gemini, Claude, Kimi, and Doubao are first and foremost products that ordinary users can open and use directly. They provide chat interfaces, file uploads, voice input, search, and other features.

An API is the interface through which software calls these models.

Suppose I want to add a “generate summary” feature to my own document system. The program needs to send the document content and task requirements to the model, then receive the model’s returned result. This process is typically carried out through an API.

There are three distinct entities involved:

4.5 Prompt, System Prompt, and Context Engineering

A prompt is the task description and materials I provide to the AI.

When writing a prompt, I usually check at least six things:

  1. What exact task needs to be completed.
  2. Who the output is intended for.
  3. What materials and references may be used.
  4. What format the result should be in.
  5. Which pieces of information must be verified.
  6. Under what circumstances the AI should stop and ask a human for confirmation.

Here is an executable example:

Please organize the following three meeting minutes into a one-page decision brief. The audience is the project lead who did not attend the meeting. List confirmed items, points of disagreement, responsible persons, and next-step dates separately. For any item in the original text that does not explicitly name a responsible person, mark it as “To be confirmed.” Do not invent names yourself.


A **System Prompt** is closer to long-term operating rules. It can define the assistant’s role, available tools, output standards, and prohibited behaviors.

Prompt engineering focuses on clearly communicating the current task. Context engineering has a broader scope, encompassing files, conversation history, tool descriptions, project specifications, examples, and permission boundaries.


## 4.6 Tokens and Context Window

A **token** is the basic unit of measurement used by a model when processing content. Text is broken into small fragments and then converted into numerical representations the model can understand.

For beginners, it is helpful to think of tokens temporarily as “text traffic” in an AI service.

- The question and materials I send to the model consume **input tokens**.
- The answer returned by the model consumes **output tokens**.
- The longer the input and output, the higher the processing time and cost usually are.

This analogy is only for understanding. Tokens are not actual network traffic, nor do they equal a fixed number of characters. The number of tokens occupied by a Chinese character, an English word, or a punctuation mark varies depending on how each model performs tokenization.

The **Context Window** is the total amount of context a model can handle in a single task. It typically includes the task instructions, conversation history, uploaded materials, tool responses, and the answer the model plans to generate.

Mobile data plan limits and single-file upload caps are not the same metric. Token usage and Context Window should also be considered separately: the former relates to processing and billing, while the latter sets the upper limit on how much content can be placed into one inference call.

4.7 Context, Memory, and Knowledge Base

Context is all the information the model can see in the current single call.

Memory refers to information that the application persists across multiple turns or sessions. Models do not naturally remember all history permanently. Long-term memory is typically stored in external systems and retrieved back into the context when appropriate.

A knowledge base is an organized, retrievable collection of materials, such as product documentation, contracts, project records, course materials, and customer service logs.

The relationship among the three can be summarized as:

Knowledge base or long-term memory stores information ↓ Retrieved on demand Relevant content is provided in the current Context ↓ The model generates results based on what it can currently see



## 4.8 RAG and Embedding

**RAG** stands for Retrieval-Augmented Generation.

Suppose you want to check whether a contract contains an auto-renewal clause. The system can handle it with the following steps:

1. Receive the question.
2. Retrieve the relevant paragraphs from the contract documents.
3. Pass both the question and the retrieved paragraphs to the model.
4. Ask the model to answer based on the original text and clearly cite its sources.

RAG can significantly reduce the chance of the model hallucinating or making things up, but it does not guarantee that the answer will always be correct. Issues such as document parsing errors, retrieval omissions, outdated information, or model misinterpretation can still affect the final result.

**Embedding** is the method of converting text, images, and other content into numerical vectors. Systems use these vectors to determine semantic similarity.

For example, “I didn’t receive the login verification code” and “My SMS verification never arrived” use different wording but express essentially the same issue. Embeddings help a knowledge base find the appropriate solution for the same category of problem.

Vector databases are commonly used to store and retrieve these vectors, but RAG is not limited to vector search. Keyword search, hybrid search, and reranking are also widely used.


## 4.9 Structured Output and Function Calling

**Structured Output** requires the model to return content in a predefined format, such as data that conforms to a JSON Schema.

If a program needs to read fields like “responsible person,” “due date,” and “status,” structured output is usually much easier to parse, validate, and handle than free-form text.

**Function Calling** allows the model to select from a set of predefined functions or tools according to the task and provide the necessary parameters. The actual execution is performed by external programs, not by the model itself.

This distinction is important: the model only *proposes* “which tool to call and with what parameters.” The runtime environment decides whether to allow the execution and returns the result to the model.


## 4.10 CLI, Tool Calling, and MCP

**CLI** stands for Command Line Interface. Developers use commands to start services, process files, run tests, and view errors.

When a Coding Agent is granted controlled command-line access, it can read the project, modify files, run tests, and continue iterating based on the results. However, being *able* to execute commands does not mean it should be given unlimited permissions. Directory scope, network access, and high-risk commands must be strictly restricted.

**MCP** stands for Model Context Protocol. It defines a standardized way for AI applications to connect with external tools and data sources.

MCP commonly provides three types of capabilities:

![](/api/kb-media/Qc7mbqB5ZoqcBXx2DXPcrlytngg)

MCP solves the problem of connection standards, but it does not automatically solve issues of permissions, quality, or security. Connecting to an MCP Server means the system gains new capabilities while also expanding the scope of access that must be managed.

Official documentation: [MCP Architecture](https://modelcontextprotocol.io/docs/learn/architecture).

4.11 Workflow, Agent, Loop and Graph

Workflows are best suited for tasks with clearly defined paths.

For example, collecting data on a weekly basis, generating charts, filling out templates, and submitting them for review by a supervisor. Since these steps can be determined in advance, there is no need for the model to replan the entire route every time.

In contrast, consider checking whether a batch of project documents is complete. An Agent may first need to inspect the directory, determine which files are missing, and then decide whether to search other locations, generate a missing file list, or ask a human to provide the missing information.

Loop is a common operating mechanism for Agents:

Read current state ↓ Decide next action ↓ Call tool or generate result ↓ Check if result meets conditions ├── Yes: End └── No: Update state and enter next round


A Loop must have an exit condition. Common conditions include task completion, reaching the maximum number of rounds, hitting a cost limit, consecutive failures, or waiting for human confirmation.

**Graph** uses nodes and edges to represent task structure. Nodes handle the work, while edges determine which node to go to next. It can include sequential execution, conditional branching, parallel processing, fallback, and loops.

![](/api/kb-media/X68Db8uI4oiDnZxlgCtc1sAtnSf)

A Graph can contain multiple Loops, and an Agent can also run inside a specific node of a Workflow. These concepts can be combined freely — there is no need to choose only one.

Reference: [LangGraph Graph API](https://docs.langchain.com/oss/python/langgraph/graph-api).

## 4.12 Coding Agent, Vibe Coding and Harness

A **Coding Agent** can enter a project environment, read code, modify files, run commands, view errors, and continue fixing issues. Products such as Codex, Claude Code, and Cursor all offer similar capabilities, though their specific permissions and working methods differ.

**Vibe Coding** generally refers to collaborating with AI through natural language to build software. It lowers the barrier to creating tools, but it does not automatically eliminate the costs of testing, security, and maintenance.

If a project is only for personal experimentation, the cost of failure may be relatively low. However, if it involves payments, accounts, private data, or production business logic, code review, automated testing, backups, and permission controls cannot be skipped.

In Agent engineering, **Harness** typically refers to the runtime and control layer surrounding the model. It may include tools, permissions, prompts, context strategies, logging, testing, retries, and human approval.

Harness is not a standardized term with a unified specification like MCP. Different authors may use the word with slightly different scopes. I usually first check which specific components the other person includes in their definition of Harness before discussing solutions.

## 4.13 Evals, Tracing, Observability and Human-in-the-loop

**Evals** are used to assess whether AI outputs meet predetermined standards. These standards can include factual accuracy, format compliance, task completion rate, or human ratings.

**Tracing** records which models, tools, parameters, and steps were involved in a single task, making it easier to locate errors.

**Observability** focuses on the long-term quality, latency, cost, failure rate, and anomalies of a system in production.

**Human-in-the-loop** means involving humans at critical nodes. People can review results, modify state, approve actions, or terminate tasks.

The higher the level of autonomy an Agent has, the more important it is not to postpone these four elements until the end.

## 4.14 Training, Fine-tuning, Distillation and Quantization

**Training** is the process by which a model learns patterns from large amounts of data.

**Fine-tuning** involves further training an existing model with domain-specific data to make it better suited for certain tasks or communication styles.

**Distillation** typically involves training a smaller model to learn part of the capabilities of a larger model, achieving the target task at a lower cost.

**Quantization** reduces memory and computational requirements by lowering numerical precision, making it easier to run models on devices with limited resources. However, excessive compression may also affect performance.

These concepts mainly help me understand model-related news and make better deployment decisions. Ordinary users do not need to learn how to train models before they can start using AI.

Result: How One Task Traverses the Entire Map

To test whether this map is truly useful, I will use a concrete hypothetical task for validation.

Suppose I need to turn meeting notes, project documents, and a spreadsheet into a decision briefing. This is purely an example — not based on any of my real projects.

The complete process can be broken down as follows:

  1. First, I define the intended readers, the briefing format, and the information that must not be fabricated. This layer involves Prompt and System Prompt.

  2. I place the meeting notes and project documents into the current Context. When there is a large volume of material, I use a knowledge base and RAG.

  3. The system uses Embedding or keyword retrieval to find content relevant to the query.

  4. The model returns structured fields — items, owners, dates, and risks — via Structured Output.

  5. If reading the spreadsheet or generating files is required, the system calls authorized tools. It may also connect to external data sources through MCP.

  6. Fixed collation steps are placed into a Workflow, while parts that require judging information gaps are handed over to an Agent.

  7. The Agent checks results within a Loop. Complex branching is managed by a Graph that handles state and fallback paths.

  8. Tracing records the execution process, Evals evaluate the output, and a human reviews everything before final release.

At this point, the model is merely one component within the system. The ultimate quality still depends on the data, retrieval, tools, processes, permissions, and acceptance criteria.

Retrospective: Six Common Misconceptions to Watch Out For

After completing this exercise, I believe there are six pitfalls worth noting separately.

6.1 Treating Model Versions as Long-term Knowledge

Version names change over time. White papers can record the state at the time of review, but they cannot replace the vendor’s up-to-date model list.

6.2 Equating Longer Output with Stronger Capability

A longer answer does not mean more accurate judgment. What truly matters is the reasoning basis, completion criteria, and error rate.

6.3 Treating RAG as a Guarantee of Truth

RAG only increases the amount of available information. Errors in the source data, retrieval mistakes, or the model’s misunderstanding will still propagate into the final result.

6.4 Treating MCP as the Automation System Itself

MCP solves the problem of connectivity. How tasks are orchestrated, how permissions are controlled, and how results are accepted still require separate design.

6.5 Believing “The More Autonomous the Agent, the Better”

Greater autonomy increases unpredictable paths. The more important the task, the more critical stopping conditions, permission boundaries, logging, and human oversight become.

Terms such as Harness, Vibe Coding, and GEO all have real-world use cases, but their definitions are not always consistent.

GEO usually stands for Generative Engine Optimization — the study of how content can enter and influence generative answers. Related research is still evolving, and the terminology, measurement methods, and long-term effects have not yet fully converged. I will not present it as a set of stable formulas.

References: Original GEO paper, 2026 GEO Research Survey.

Method: How Beginners Can Get Started

If starting from zero, I recommend learning in four progressive rounds.

Round 1: Distinguish the Objects Clearly

First, differentiate between companies, models, products, and APIs. Being able to confidently answer “Which product am I using right now, and which model is it calling?” means you have completed this round.

Round 2: Learn to Provide Tasks and Materials

Practice Prompt, Context, Token, knowledge base, and RAG. The focus is on reducing the amount of information the model has to guess. A prompt that is sufficient and clear is enough.

Round 3: Understand Tools and Execution

Study Function Calling, Structured Output, MCP, Workflow, Agent, Loop, and Graph. Start with low-risk, reversible tasks.

Round 4: Establish Acceptance Criteria

Define completion conditions, source requirements, maximum number of rounds, cost limits, and human review checkpoints for each task. Record the reasons for failures and then refine the process.

I use the following checklist to review any AI task:

Risk Boundaries: Where This Approach Can Fail

8.1 Hallucination and Source Errors

Models may generate content that sounds plausible but is inaccurate. When dealing with facts, numbers, citations, legal, medical, or financial judgments, always cross-check against reliable sources.

8.2 Prompt Injection

Content returned from external web pages, files, or tools may contain adversarial instructions designed to make the Agent ignore its original rules. Relying solely on System Prompt is not sufficient protection. You also need least-privilege principles, input isolation, parameter validation, and approval mechanisms.

8.3 Privacy and Data Permissions

Before uploading any material, confirm whether it contains customer information, trade secrets, account credentials, or other restricted data. The ability to upload does not equal the right to upload.

8.4 Impact Scope of Automated Execution

Actions such as sending emails, making payments, deleting data, modifying production systems, or publicly releasing content can cause irreversible consequences. Such operations should always have explicit authorization and human confirmation.

8.5 Cost and Infinite Loops

Long contexts, high reasoning intensity, repeated tool calls, and Loops without exit conditions all increase costs. Budget limits and maximum iteration counts should be built into the workflow.

8.6 Copyright and Originality

General concepts and facts can be explained by different authors, but specific examples, chapter structures, metaphors, and expressions may be protected by copyright.

Conclusion

The goal of compiling this whitepaper is simple: to help beginners understand how an AI system works without first having to memorize every English acronym.

The truly valuable long-term skill is being able to look at a new term and quickly determine whether it belongs to the model, data, tools, execution, or control layer; to understand what problem it solves, and equally importantly, what problems it does not solve.

Models will continue to be updated, and new terminology will keep emerging. Rather than chasing every new version, I place greater importance on three things: clearly articulating tasks, effectively managing risks, and continuously reviewing outcomes.

About the Author

Kimberly|@king1818888

Australia AI Engineer who builds systems and creates content with AI every day, and is also an X (Twitter) creator.