With the given diagram, let's break down the major AI disciplines, mapping out exactly how they connect
1. Artificial Intelligence (AI) & Machine Learning (ML)
At the highest level, Artificial Intelligence is the overarching field dedicated to creating systems capable of mimicking human intelligence—encompassing everything from Neural Networks to Computer Vision and Natural Language Processing (NLP).
Right beneath it lies Machine Learning, the practical subset where algorithms learn patterns from data without being explicitly programmed. As illustrated, ML generally splits into three core methodologies:
Unsupervised Learning: Finding hidden structures in unlabeled data (e.g., Clustering, Detection).
Supervised Learning: Training models on labeled data to predict outcomes (e.g., Regression, Ranking).
Reinforcement Learning: Training agents through a system of rewards and policies (e.g., Model-Free learning).
2. Deep Learning (DL)
Deep Learning takes ML a step further by utilizing multi-layered artificial neural networks. Instead of requiring manual feature engineering, DL networks can take raw inputs (like the image of a car shown in blog.gif) and pass them through hidden prediction layers to output a definitive classification: "This is a car."
3. Generative AI (Gen AI)
Moving into modern consumer tech, Generative AI focuses on creating new content—be it text, code, or imagery. At its core, a user interacts with a Large Language Model (LLM) that leverages various tools and data sources to generate a brand-new output based on a prompt.
4. Retrieval-Augmented Generation (RAG)
While Gen AI is incredibly powerful, vanilla LLMs suffer from "hallucinations" and lack access to real-time or private data. Enter RAG. As outlined in the workflow, RAG introduces a Retrieval step:
The user's prompt is converted into an embedding and matched against a Vector Database filled with custom data sources.
This retrieved data is Augmented with system and user prompts.
The LLM finally handles the Generation, ensuring the output is grounded in actual facts.
5. AI Agents
At the bleeding edge of the landscape are AI Agents. While RAG is great for answering questions, Agents are built to take action.
According to the architecture in blog.gif, an AI Agent combines a core LLM with:
Memory & Reasoning: To remember past interactions and think through multi-step problems.
Planning & Feedback: To break down large goals and adapt when things go wrong.
Tools & Databases: To actively execute tasks in the real world (like sending emails, writing code, or querying databases).
The Takeaway
AI isn't a monolith. It's an evolving stack where each layer builds upon the last. Whether you are building a simple predictor using traditional ML or deploying a fully autonomous AI Agent, understanding where your tool sits on this map is the first step to building smarter software.






