AI Foundations
RAG, MCP, Agents and Embeddings: The AI Terms That Help You Make Better Choices
Learn essential AI vocabulary through a practical document-assistant example, with clear distinctions between retrieval, connections, actions and evaluation.

In this guide
- The useful starting point
- Context: the information available for this response
- Embeddings: numerical representations for comparison
- RAG: retrieve evidence, then generate an answer
- MCP: a connection standard
- Tools, workflows and agents
- Evals: checks for whether the system worked
- An illustrative example you can try without building software
- Questions you might be asking
- Sources and further reading
The useful starting point
RAG retrieves information before an answer is generated. Embeddings help systems compare related items. MCP connects AI applications to external tools and data. Agents can choose steps and use tools, while evaluations check whether the resulting work meets a defined standard.
AI vocabulary becomes useful when it helps you ask a better question. You do not need to use every technical term in a meeting. You need to understand whether a system can find the right information, whether it has permission to act and how someone will verify the result.
Consider a simple goal: helping a team answer questions about its own operating guide. The terms below describe different pieces of that system. They are not interchangeable features, and adding more of them does not automatically make the system more reliable.
Context: the information available for this response
Context can include instructions, conversation history, supplied documents and tool results. A context window is the amount of material a model can handle in an interaction, subject to the product's implementation. A large window is useful, but it does not mean the system will find every relevant detail in a pile of unrelated material.
A prompt is the request or instruction you provide. A useful prompt describes the task and desired result. A useful context package also includes the facts, examples and constraints needed to do it. More words are helpful only when they make the job clearer.
Embeddings: numerical representations for comparison
An embedding represents an item as a collection of numbers that can capture relationships. Systems can use these representations to find material with related meaning. A question about “sending a purchase back” might be associated with a document discussing “returns,” even when the words differ.
Similarity is not authority. A passage can be closely related to your question and still be outdated or irrelevant to your situation. Ask which source was retrieved, who owns it and whether it applies, rather than assuming a good match is a correct answer.
RAG: retrieve evidence, then generate an answer
Retrieval-augmented generation combines generation with a retrieval step. A system searches an external collection, supplies relevant material and uses it when composing the response. That can help an assistant work with information outside the model's training data.
RAG does not guarantee truth. The collection may contain old documents, the search may miss the right passage or the model may misrepresent what it found. A useful design shows the supporting source and has a way to say the available material does not answer the question.
MCP: a connection standard
The Model Context Protocol is a standard for connecting AI applications to external systems. It can make data and tools available through a common interface. Think of it as part of how the application communicates with another service, rather than a new model that makes the answers smarter by itself.
A connection is not blanket permission. The actual capabilities depend on the client, server, authentication and access granted. Before connecting a service, ask whether it exposes reading, editing or other actions and whether those actions fit the task.
Tools, workflows and agents
A tool is a capability the system can call, such as searching documents or performing a calculation. A workflow follows a defined sequence. An agent may choose its next steps and tools as it works toward a goal. The term “agent” is used broadly, so ask for a concrete description of what the product can do.
Autonomy makes oversight more important. An agent that selects a document and drafts a response has a narrower responsibility than one that changes customer records. Define the boundary, the approval point and the recovery path before allowing consequential actions.
Evals: checks for whether the system worked
An evaluation gives the system a task and checks the result against success criteria. A small evaluation set might contain common questions, an ambiguous question and a question the documents cannot answer. Repeated trials can reveal inconsistent behavior.
Check the actual outcome. If a system says it updated a record, inspect the record. If it claims a policy allows an exception, inspect the policy. A polished completion message is not itself a successful result.
An illustrative example you can try without building software
Create a fictional equipment guide with three statements: a team may borrow a projector for one day; the borrower records the return; damaged equipment is reported to the coordinator. Leave weekend borrowing unspecified. Paste the guide into an assistant and ask about the borrowing period, the return process and weekend access.
Use only this fictional guide: [guide]. Answer each question with the supporting sentence. If the guide does not answer it, say “not stated” and suggest who could clarify. Do not infer a policy from common practice. Questions: [questions].
Check that the first two answers match the guide exactly in meaning.
Confirm that the weekend question remains unanswered rather than becoming an invented rule.
Change one rule and repeat the exercise. Check whether the assistant uses the current version.
Add an irrelevant paragraph and see whether the response remains focused.
This is a grounding exercise, not a production RAG implementation. Its value is learning what good evidence handling looks like. If the assistant guesses, narrow the instructions and review the source. If it cannot reliably distinguish stated facts from missing details, do not expand its authority until the failure is understood.
Questions you might be asking
Is RAG the same as training a model on my documents?
No. RAG retrieves material for use during answering. Fine-tuning changes a model through additional training. Some systems combine approaches, but uploading documents does not automatically mean fine-tuning.
Does connecting an MCP server make its information trustworthy?
No. MCP describes a connection method. You still need to assess the source, permissions, security and whether the returned information supports the answer.
Do I need an agent for a repeated task?
Not always. A checklist, ordinary automation or fixed workflow may be easier to inspect. Use more autonomy when the task needs it and you can evaluate and control the resulting actions.
Sources and further reading
- Google: Embeddings
- Lewis and colleagues: Retrieval-augmented generation
- Model Context Protocol: Introduction
- Anthropic: Demystifying evaluations for AI agents
Sources checked October 16, 2026. Review the linked publisher information for current details.
Put one idea to work
Use one lesson in a small project, explain what you learned, and practice again without relying on the answer.
Try the free workshop →Explore more from AI TeachersGet the free AI at Work Starter Kit →Keep practicing
Teach your team to test a Grok Bot template in 25 minutes
Can a colleague distinguish a suggestion from a commitment? Use a worked case, answer key and second test to build a reusable Grok Bot.
December 4, 2026 · 3 min readTeach an AI project coordinator with a workshop prep dashboard
A step-by-step guide to verify the practice workbook with a project board, named reviewer, example agent prompt and pilot measures.
December 4, 2026 · 3 min read