articles / ia-llm-rag-mcp-skills
LLM, RAG, MCP, agents, skills: the AI glossary made simple
Mounir Guizani · 29 November 2026 · 5 min read
LLM, RAG, MCP, agents, skills… The generative AI vocabulary moves faster than projects do. I use Claude in agentic mode on my current mission: here are the terms that really matter, explained simply, with what they change for a developer.
The foundations
LLM (Large Language Model): a model trained on huge volumes of text to predict the most likely continuation of a text. Claude, GPT and Gemini are LLMs. It doesn't "look up" an answer in a database: it generates it.
Token: the unit of text the model works with (a word, part of a word, a symbol). Costs and limits are counted in tokens.
Context window: the amount of text (in tokens) the model can take into account at once: the question, the history, the documents provided. Whatever isn't in it, the model doesn't see.
Prompt: the instruction sent to the model. The system prompt sets the frame (role, rules, tone) before the user's messages.
Hallucination: a plausible but wrong answer. It's the direct consequence of generation: the model produces likely text, not necessarily true text. Hence the value of giving it sources.
Temperature: the creativity setting. Low for code or facts, higher for writing.
Giving the model knowledge
Embedding: turning a text into a vector of numbers that captures its meaning. Two texts with similar meaning have close vectors.
Vector database: a database that stores these vectors and finds the ones closest to a question (pgvector on PostgreSQL, OpenSearch, etc.).
RAG (Retrieval-Augmented Generation): the most useful technique in companies. Before answering, you retrieve the relevant passages from your own documents (via embeddings), then inject them into the prompt. The model answers from those sources, which can be cited.
| RAG | Fine-tuning | |
|---|---|---|
| Principle | provide the documents at question time | retrain the model on your data |
| Updating knowledge | immediate: change the documents | new training run |
| Traceability | citable sources | none |
| Cost | low to moderate | high |
| Typical use | FAQ, documentation, knowledge base | style, format, very specific task |
In the vast majority of projects, you start with RAG.
From answers to actions: agents
Tool use: the model doesn't just answer, it can ask to call a function you expose ("find a customer", "run the tests"). Your code executes it, returns the result, and the model carries on.
Agent: an LLM that chains the steps itself: it plans, calls tools, observes the results, corrects course, until it reaches the goal. A coding agent reads the project, edits files, runs the tests and iterates.
MCP (Model Context Protocol): an open standard, launched by Anthropic, for connecting an AI application to tools and data. An MCP server exposes tools (actions), resources (data) and prompts; any compatible client can connect to it. It's the USB port of AI: you write the integration once (Jira, a database, AWS, a Git repo) and every agent can use it.
Skills: packages of instructions and scripts that an agent loads only when the task needs them, for example "how to produce an Excel file" or "our code review conventions". A folder with a SKILL.md file describes when and how to use it. The benefit: the agent keeps a light context window and applies precise, repeatable know-how.
What it changes for a developer
On my AWS migration mission, agentic AI is used throughout the lifecycle: code generation and review, writing tests, refactoring, documentation. My takeaways:
- AI speeds things up, it doesn't sign off. Tests, review and understanding the business remain the engineer's responsibility. TDD becomes even more valuable: it gives the agent an objective definition of success.
- Context drives quality. An agent with access to the right documents (RAG), the right tools (MCP) and the right conventions (skills) does far better work than an isolated prompt.
- Security is designed in from the start. What an agent can read, change or trigger must be limited, like any technical account.
The cheat sheet
| Term | In one sentence |
|---|---|
| LLM | a model that generates text from a context |
| Token | the unit of text used as a measure |
| Context window | everything the model sees at once |
| Embedding | meaning turned into a vector |
| RAG | search your documents, then answer with them |
| Fine-tuning | retraining a model on your data |
| Tool use | the model asks to run a function |
| Agent | an LLM chaining actions towards a goal |
| MCP | the standard for plugging tools and data into AI |
| Skill | know-how loaded on demand by the agent |