# KodeKloud: Courses AI Foundations for Technical Professionals ## AI Foundations for Technical Professionals ### The Modern AI Stack: Introduction - [Course: AI Foundations for Technical Professionals](https://notes.kodekloud.com/docs/AI-Foundations-for-Technical-Professionals/index.md): Overview of a course explaining the modern AI stack, core concepts, tradeoffs, costs, failure modes, RAG, agents, tokens, and operational decisions for production systems - [What This Course Is and What It Isnt](https://notes.kodekloud.com/docs/AI-Foundations-for-Technical-Professionals/The-Modern-AI-Stack-Introduction/What-This-Course-Is-and-What-It-Isnt/page.md): Overview of a course explaining the modern AI stack, core concepts, tradeoffs, costs, failure modes, RAG, agents, tokens, and operational decisions for production systems - [How We Got Here From Rules to Transformers](https://notes.kodekloud.com/docs/AI-Foundations-for-Technical-Professionals/The-Modern-AI-Stack-Introduction/How-We-Got-Here-From-Rules-to-Transformers/page.md): Evolution from brittle rule-based chatbots to transformer-based learned language models using self-attention and scale for robust understanding and generation - [The Modern AI Stack Models Harnesses Agents and Tools](https://notes.kodekloud.com/docs/AI-Foundations-for-Technical-Professionals/The-Modern-AI-Stack-Introduction/The-Modern-AI-Stack-Models-Harnesses-Agents-and-Tools/page.md): The article explains how models, harnesses, agents, and tools combine to generate, execute, iterate on code, and safely access external systems to produce reliable outcomes. ### Inside the Model - [What an LLM Actually Is Parameters Weights and Training vs Inference](https://notes.kodekloud.com/docs/AI-Foundations-for-Technical-Professionals/Inside-the-Model/What-an-LLM-Actually-Is-Parameters-Weights-and-Training-vs-Inference/page.md): Explains what large language models are, how training sets parameters, difference between costly training and cheap inference, and how frozen models use retrieval for up-to-date information - [LLM vs SLM Open vs Closed Weights](https://notes.kodekloud.com/docs/AI-Foundations-for-Technical-Professionals/Inside-the-Model/LLM-vs-SLM-Open-vs-Closed-Weights/page.md): Describes how model size and whether weights are open or closed independently affect capability, control, cost, and operational tradeoffs when deploying language models. - [Tokens The Currency of AI](https://notes.kodekloud.com/docs/AI-Foundations-for-Technical-Professionals/Inside-the-Model/Tokens-The-Currency-of-AI/page.md): Explains tokens and tokenization, how text maps to tokens across tokenizers, impacts on model context and cost, and tools and best practices for accurate token counting. - [Context Windows What Fits What Falls Out and Why It Matters](https://notes.kodekloud.com/docs/AI-Foundations-for-Technical-Professionals/Inside-the-Model/Context-Windows-What-Fits-What-Falls-Out-and-Why-It-Matters/page.md): Explains context windows in LLMs, how token limits cause info eviction, and practical strategies to prevent forgetting such as trimming history and using retrieval. - [Temperature and Sampling Why the Same Prompt Gives Different Answers](https://notes.kodekloud.com/docs/AI-Foundations-for-Technical-Professionals/Inside-the-Model/Temperature-and-Sampling-Why-the-Same-Prompt-Gives-Different-Answers/page.md): Explains how model token scoring, sampling, and temperature, plus top-k and top-p settings, cause output variation and how to tune them for repeatability or creativity. - [Hallucinations Why Models Make Things Up](https://notes.kodekloud.com/docs/AI-Foundations-for-Technical-Professionals/Inside-the-Model/Hallucinations-Why-Models-Make-Things-Up/page.md): Explains why language models hallucinate, how next-token prediction produces plausible but false details, associated risks, and mitigation methods like retrieval, verification, and human oversight ### Choosing and Running Models - [The Model Marketplace Families Versions and What Your Tools Are Built on](https://notes.kodekloud.com/docs/AI-Foundations-for-Technical-Professionals/Choosing-and-Running-Models/The-Model-Marketplace-Families-Versions-and-What-Your-Tools-Are-Built-on/page.md): Explains how to interpret AI model names, families, tiers, versions, and hosting choices to choose appropriate models and understand tools' underlying models. - [Token Economics What AI Actually Costs](https://notes.kodekloud.com/docs/AI-Foundations-for-Technical-Professionals/Choosing-and-Running-Models/Token-Economics-What-AI-Actually-Costs/page.md): Explains measuring LLM input and output tokens, converting usage to dollar costs, and estimating per-call and monthly expenses using a troubleshooting assistant example. - [The Selection Triangle Performance Cost and Latency](https://notes.kodekloud.com/docs/AI-Foundations-for-Technical-Professionals/Choosing-and-Running-Models/The-Selection-Triangle-Performance-Cost-and-Latency/page.md): Guide explaining the Selection Triangle framework for choosing AI models by balancing performance, cost, and latency with testing, metrics, and routing strategies. - [Hosted APIs vs Running Your Own The Real Tradeoffs](https://notes.kodekloud.com/docs/AI-Foundations-for-Technical-Professionals/Choosing-and-Running-Models/Hosted-APIs-vs-Running-Your-Own-The-Real-Tradeoffs/page.md): Compares trade-offs between using hosted AI APIs and self-hosting models, covering cost, data control, operational burden, latency, customization, and hybrid routing guidance. - [Demo Running a Local Model](https://notes.kodekloud.com/docs/AI-Foundations-for-Technical-Professionals/Choosing-and-Running-Models/Demo-Running-a-Local-Model/page.md): Guide to running AI models locally with Ollama, demonstrating setup, Python usage, hardware requirements, performance tradeoffs, and privacy and cost benefits. ### Prompts, Context, and RAG - [Prompt Engineering for Professionals System Prompts Few Shot and Chain of Thought](https://notes.kodekloud.com/docs/AI-Foundations-for-Technical-Professionals/Prompts-Context-and-RAG/Prompt-Engineering-for-Professionals-System-Prompts-Few-Shot-and-Chain-of-Thought/page.md): Practical guide to designing precise prompts for large language models, explaining system versus user prompts, zero one few shot examples, chain of thought reasoning, output formats, and iterative refinement. - [From Prompt Engineering to Context Engineering](https://notes.kodekloud.com/docs/AI-Foundations-for-Technical-Professionals/Prompts-Context-and-RAG/From-Prompt-Engineering-to-Context-Engineering/page.md): Explains context engineering versus prompt engineering and practical RAG techniques for supplying relevant logs, summaries, and retrieved passages to improve AI responses under token limits. - [RAG Part 1 Embeddings and Vector Search No Math Required](https://notes.kodekloud.com/docs/AI-Foundations-for-Technical-Professionals/Prompts-Context-and-RAG/RAG-Part-1-Embeddings-and-Vector-Search-No-Math-Required/page.md): Explains retrieval in RAG creating embeddings, chunking documents, indexing in vector databases, and retrieving relevant passages for downstream generation - [RAG Part 2 The End to End Pipeline](https://notes.kodekloud.com/docs/AI-Foundations-for-Technical-Professionals/Prompts-Context-and-RAG/RAG-Part-2-The-End-to-End-Pipeline/page.md): Explains an end-to-end RAG pipeline that retrieves specifications, assembles context for an LLM, and generates answers such as checking if a GPU fits a case. - [RAG vs Fine Tuning vs Long Context Which Lever to Pull When](https://notes.kodekloud.com/docs/AI-Foundations-for-Technical-Professionals/Prompts-Context-and-RAG/RAG-vs-Fine-Tuning-vs-Long-Context-Which-Lever-to-Pull-When/page.md): Comparing RAG, fine-tuning, and long context to choose best approach for adapting language models based on freshness, cost, maintenance, and desired behavior. ### AI Agents and Agentic AI - [The Agent Loop What Makes an Agent an Agent](https://notes.kodekloud.com/docs/AI-Foundations-for-Technical-Professionals/AI-Agents-and-Agentic-AI/The-Agent-Loop-What-Makes-an-Agent-an-Agent/page.md): Explains the agent loop where models output textual decisions, tooling executes actions, observations feed back, and the cycle repeats to complete multi-step goals with safety and orchestration guidance. - [Tool Calling How Models Touch the World](https://notes.kodekloud.com/docs/AI-Foundations-for-Technical-Professionals/AI-Agents-and-Agentic-AI/Tool-Calling-How-Models-Touch-the-World/page.md): Explains tool calling where models request actions and an application validates and executes them, enabling safe integration of model plans with external systems. - [The Harness The Other Half of the Product](https://notes.kodekloud.com/docs/AI-Foundations-for-Technical-Professionals/AI-Agents-and-Agentic-AI/The-Harness-The-Other-Half-of-the-Product/page.md): Describes the AI harness that orchestrates models, executes actions, manages context and memory, and enforces guardrails to make models practical and safe. - [Subagents Multi Agent Systems and Orchestrators](https://notes.kodekloud.com/docs/AI-Foundations-for-Technical-Professionals/AI-Agents-and-Agentic-AI/Subagents-Multi-Agent-Systems-and-Orchestrators/page.md): Explains orchestrators and subagents for decomposing tasks to scale multiagent systems beyond single-agent context limits. - [Building Subagents Instructions Tools and Delegation](https://notes.kodekloud.com/docs/AI-Foundations-for-Technical-Professionals/AI-Agents-and-Agentic-AI/Building-Subagents-Instructions-Tools-and-Delegation/page.md): Guide for designing reusable, secure sub-agents with isolated contexts, bounded tools, delegation patterns, routing metadata, file formats, and best practices for safe, efficient agent orchestration. - [Human in the Loop Approvals Checkpoints and Guardrails](https://notes.kodekloud.com/docs/AI-Foundations-for-Technical-Professionals/AI-Agents-and-Agentic-AI/Human-in-the-Loop-Approvals-Checkpoints-and-Guardrails/page.md): Guide to inserting human approvals, checkpoints, and technical guardrails into AI agent workflows to balance automation, safety, and auditability. ### The Ecosystem: MCP, Frameworks, and Automation - [Why AI Integration Was Broken The NM Problem](https://notes.kodekloud.com/docs/AI-Foundations-for-Technical-Professionals/The-Ecosystem-MCP-Frameworks-and-Automation/Why-AI-Integration-Was-Broken-The-NM-Problem/page.md): Explains how AI integrations scale poorly as N agents times M tools and advocates a shared adapter standard like MCP to reduce complexity from N×M to N+M - [MCP Hosts Clients and Servers](https://notes.kodekloud.com/docs/AI-Foundations-for-Technical-Professionals/The-Ecosystem-MCP-Frameworks-and-Automation/MCP-Hosts-Clients-and-Servers/page.md): Describes the Model Context Protocol enabling hosts, clients, and servers to let models discover and securely invoke external services while centralizing authentication, schemas, and execution. - [Demo Connecting an MCP Server](https://notes.kodekloud.com/docs/AI-Foundations-for-Technical-Professionals/The-Ecosystem-MCP-Frameworks-and-Automation/Demo-Connecting-an-MCP-Server/page.md): Demo of connecting an assistant to GitHub via an MCP server to fetch issues and logs, run a triage runbook, and post comments or escalation issues - [Orchestration Frameworks LangChain LangGraph and CrewAI](https://notes.kodekloud.com/docs/AI-Foundations-for-Technical-Professionals/The-Ecosystem-MCP-Frameworks-and-Automation/Orchestration-Frameworks-LangChain-LangGraph-and-CrewAI/page.md): Comparison of orchestration frameworks (LangChain, LangGraph, CrewAI) for managing agent loops, state, retries, branching, approvals, and role-based workflows - [Skills and Automation Teaching AI Your Workflows](https://notes.kodekloud.com/docs/AI-Foundations-for-Technical-Professionals/The-Ecosystem-MCP-Frameworks-and-Automation/Skills-and-Automation-Teaching-AI-Your-Workflows/page.md): Describes packaging reusable AI agent workflows as folder-based skills with SKILL.md, references, and scripts for repeatable, versionable, and secure automation with progressive loading and testing. ### AI Security Essentials - [Prompt Injection The Top Threat to AI Systems](https://notes.kodekloud.com/docs/AI-Foundations-for-Technical-Professionals/AI-Security-Essentials/Prompt-Injection-The-Top-Threat-to-AI-Systems/page.md): Explains prompt injection risk to AI agents and practical layered defenses including least privilege, human oversight, input isolation, sanitization, runtime policies, and real-world incidents. - [Overprivileged Agents Governance and Least Privilege](https://notes.kodekloud.com/docs/AI-Foundations-for-Technical-Professionals/AI-Security-Essentials/Overprivileged-Agents-Governance-and-Least-Privilege/page.md): How overprivileged AI agents enable destructive prompt injection and how governance, least-privilege policies, human review, and short-lived credentials reduce risk and blast radius. - [Identity Runtime Security and Observability](https://notes.kodekloud.com/docs/AI-Foundations-for-Technical-Professionals/AI-Security-Essentials/Identity-Runtime-Security-and-Observability/page.md): How to secure agentic workloads using identity, runtime containment, and observability to enforce least privilege, sandbox execution, and auditable traces ### Putting It All Together - [The Full Picture Every Concept in One Architecture](https://notes.kodekloud.com/docs/AI-Foundations-for-Technical-Professionals/Putting-It-All-Together/The-Full-Picture-Every-Concept-in-One-Architecture/page.md): Overview of an AI support architecture explaining model, harness, RAG, tool integrations, human approvals, security, and cost considerations through a VPN reset example. - [Where to Go Next](https://notes.kodekloud.com/docs/AI-Foundations-for-Technical-Professionals/Putting-It-All-Together/Where-to-Go-Next/page.md): Practical next steps after an AI foundations course focusing on hands-on prototyping, iterative feature addition, monitoring, tooling, documentation, and community engagement.