AI Learning Hub
Learn how AI works,from the basics to building agents
32 practical guides across 5 topics — AI basics, large language models, prompt engineering, RAG and fine-tuning, and AI agents. Written by people who build with it, kept up to date, and honest about which terms are standards and which are buzzwords.
Browse by topic
Each topic starts simple and goes deeper. Pick the one that matches what you need.
AI Basics
The history of AI, the difference between AI, machine learning and generative AI, and a glossary of the terms that get used loosely.
- A Short History of AI: Rules to Generative Models
- AI vs Machine Learning vs Generative AI
- AI Terms, Defined
Large Language Models
How large language models are trained and produce answers, what tokens and context windows are, why they hallucinate, and how to choose one.
- How Large Language Models Work, Without the Maths
- Tokens and Context Windows, Explained
- Why AI Hallucinates, and How to Reduce It
- How to Choose a Language Model
Prompt Engineering
Prompt engineering from the fundamentals to few-shot and chain-of-thought prompting, prompt chaining, and the CO-STAR, CRISPE, RTF, RACE and RISEN frameworks.
- What Is Prompt Engineering? Techniques That Work
- Zero-Shot, One-Shot and Few-Shot Prompting
- Chain-of-Thought Prompting, Explained
- Prompt Chaining and Iterative Prompting
- Role, Negative and Structured-Output Prompting
RAG & Fine-Tuning
When to use RAG or fine-tuning, and how retrieval-augmented generation works in depth: chunking, embeddings, hybrid search, reranking and evaluation.
- Prompting, RAG or Fine-Tuning: Which to Use
- RAG, MCP and Agents Solve Three Different Problems
- How RAG Works, Step by Step
- Chunking and Embeddings for RAG
- Keyword, Vector and Hybrid Search for RAG
AI Agents
AI agents vs agentic AI, chatbots, copilots and RPA; how to build an agent with or without code; tool use, MCP and memory; loops, graphs and frameworks.
- AI Agents vs Agentic AI vs Generative AI
- Chatbot, Copilot or Agent: What’s the Difference?
- AI Agents vs RPA and Workflow Automation
- A Learning Path for Building AI Agents
- How to Build an AI Agent Without Code
Not sure where to start? Follow a path
A handful of articles each, in the order they make sense.
New to AI
Understand what AI is, how language models work, and the words people use.
Get better results from models
Prompting techniques, frameworks, and when to reach for retrieval or fine-tuning.
Build with AI agents
What an agent is, how to build one in code, and the patterns and frameworks to grow it with.
Recently added and updated
- AI Basics · BeginnerA Short History of AI: Rules to Generative ModelsUpdated · 8 min read
- Large Language Models · BeginnerHow Large Language Models Work, Without the MathsUpdated · 7 min read
- Large Language Models · BeginnerTokens and Context Windows, ExplainedUpdated · 6 min read
- Large Language Models · BeginnerWhy AI Hallucinates, and How to Reduce ItUpdated · 6 min read
- Large Language Models · IntermediateHow to Choose a Language ModelUpdated · 6 min read
- Prompt Engineering · BeginnerWhat Is Prompt Engineering? Techniques That WorkUpdated · 6 min read
Common questions
What is the difference between AI, machine learning and generative AI?
They nest. Artificial intelligence is the broad field, including rule-based systems that never learn. Machine learning is the part that learns patterns from data. Deep learning is machine learning with many-layered neural networks. Generative AI produces new content — text, images, code — and today is built on deep learning. Most AI running in production is not generative.
How do large language models work?
A language model splits text into tokens and predicts the next token, one at a time, based on everything before it. It learns this by pre-training on a very large body of text, then further training on instructions and on feedback about which answers are better — the step that turns a text predictor into a usable assistant. It produces plausible text, which is not the same as verified fact.
What is prompt engineering?
Writing the input to a language model so it reliably produces the output you need. The techniques the major model providers all recommend are: clear and specific instructions, a role, the relevant context, one or two examples, clear structure, a defined output format, and breaking complex tasks into steps. Reasoning models need simpler prompts that state the goal rather than the steps.
Should I use prompting, RAG or fine-tuning?
Try them in that order. Improve the prompt first — it is the cheapest fix and the most common problem. Add retrieval (RAG) when the model lacks facts, especially private or current information. Consider fine-tuning only when a consistent style or behaviour cannot be held with good prompts at your volume, and only with an evaluation set to prove it helped.
Which AI agent framework should I use?
Start from your language and the hard part of your problem. Graph frameworks such as LangGraph, Microsoft Agent Framework and Google ADK suit long-running, stateful work; LlamaIndex and Haystack suit retrieval-heavy work; a model vendor’s own SDK is the thinnest path on that vendor’s models. Many production systems use no framework and call the model API directly.
What is an AI agent loop?
An agent loop is a single AI agent repeating its own work toward a goal: acting, observing the real result, reasoning about the gap, and retrying until a testable stop condition is met — for example, the test suite passing. Some practitioners call designing these loops “loop engineering”, an emerging term rather than a standard.
What topics does the Verdeshell AI Learning Hub cover?
The hub is organised into 5 topics: AI Basics (The history of AI, the difference between AI, machine learning and generative AI, and a glossary of the terms that get used loosely); Large Language Models (How large language models are trained and produce answers, what tokens and context windows are, why they hallucinate, and how to choose one); Prompt Engineering (Prompt engineering from the fundamentals to few-shot and chain-of-thought prompting, prompt chaining, and the CO-STAR, CRISPE, RTF, RACE and RISEN frameworks); RAG & Fine-Tuning (When to use RAG or fine-tuning, and how retrieval-augmented generation works in depth: chunking, embeddings, hybrid search, reranking and evaluation); AI Agents (AI agents vs agentic AI, chatbots, copilots and RPA; how to build an agent with or without code; tool use, MCP and memory; loops, graphs and frameworks).
Building something with AI?
We build these systems for a living. Bring us the problem and we will tell you honestly whether AI — and which kind — is the right shape for it.