AI & AI Engineering
AI Agents & Tool Use
Explore AI agents, tool calling, agent workflows, planning, memory, orchestration, multi-agent systems, and reliable production agent architectures.
Your learning roadmap
Explore the key concepts
Use these subtopics as a study checklist. Start with the fundamentals, then progress to practical examples and interview preparation.
AI agent fundamentals
Understand the core principles of AI agents, including their ability to perceive information, reason about tasks, make decisions, and take actions using connected tools.
Start learningIntroduction to autonomous AI agents
Explore autonomous AI agents, how they receive goals, determine the steps required, interact with their environment, and execute tasks with varying levels of independence.
Start learningAI agents vs traditional LLM applications
Compare autonomous agents with traditional LLM applications, focusing on decision-making, tool usage, execution loops, state management, and task completion.
Start learningAI agent architecture
Learn the main components of an AI agent architecture, including the language model, instructions, tools, memory, planning logic, execution engine, and feedback mechanisms.
Start learningAgent reasoning and decision-making
Understand how AI agents interpret tasks, evaluate available information, consider possible actions, and select appropriate decisions to achieve their goals.
Start learningAgent planning strategies
Explore planning approaches used by AI agents to determine action sequences, evaluate alternatives, handle dependencies, and adapt plans when circumstances change.
Start learningTask decomposition
Learn how complex objectives can be divided into smaller, manageable subtasks with clear dependencies, execution steps, and completion criteria.
Start learningGoal-oriented agent execution
Understand how agents translate high-level goals into executable actions, track progress, evaluate outcomes, and determine when a task is complete.
Start learningTool calling fundamentals
Learn how AI agents extend their capabilities by invoking external tools, interpreting tool requirements, passing arguments, and using returned results.
Start learningFunction calling
Understand function calling in LLM applications, including how models identify functions, generate arguments, request execution, and incorporate function results into responses.
Start learningDefining tools and function schemas
Explore how to define agent tools using function names, descriptions, parameter types, required fields, and structured schemas that guide correct tool selection.
Start learningTool selection and execution
Learn how agents select suitable tools for a task, construct valid arguments, invoke the selected functions, and incorporate execution results into their reasoning.
Start learningIntegrating external APIs with agents
Understand how to connect AI agents to REST APIs and external services, including authentication, request construction, response parsing, and service integration.
Start learningTool response handling
Learn how agents process tool responses, extract relevant information, validate returned data, and use execution results to determine their next actions.
Start learningTool error handling and retries
Explore strategies for handling failed tool calls, API timeouts, invalid arguments, rate limits, and transient errors using retries and controlled recovery logic.
Start learningParallel tool execution
Understand how agents execute independent tool calls concurrently, coordinate their results, reduce overall execution time, and handle partial failures.
Start learningAgent memory fundamentals
Learn why AI agents need memory, how information is stored and retrieved, and how memory supports continuity, personalization, and multi-step task execution.
Start learningShort-term memory
Understand how short-term memory maintains temporary information during an agent's current task or conversation, including working context and intermediate results.
Start learningLong-term memory
Explore how agents retain useful information across sessions using persistent storage, retrieval mechanisms, summaries, and vector-based memory systems.
Start learningConversation history management
Learn how to maintain and manage conversation history, including message roles, history truncation, summarization, and selecting relevant context for future interactions.
Start learningState management in AI agents
Understand how agents maintain execution state, track task progress, store intermediate outputs, and preserve information across multiple workflow steps.
Start learningContext management
Explore techniques for managing agent context windows, selecting relevant information, reducing unnecessary tokens, and preserving important instructions and task details.
Start learningAgent loops and execution cycles
Learn how agent execution loops repeatedly combine reasoning, action selection, tool execution, observation, and stopping conditions to complete tasks.
Start learningReAct prompting framework
Understand the ReAct framework, which combines reasoning and actions to help agents interact with tools, observe results, and determine subsequent execution steps.
Start learningReflection and self-correction
Explore how agents review their intermediate results, identify mistakes, evaluate their actions, and revise responses or execution plans to improve outcomes.
Start learningPlanning and execution patterns
Compare common agent planning and execution patterns, including step-by-step planning, dynamic planning, iterative execution, and feedback-driven workflows.
Start learningWorkflow-based agents
Understand how AI agents operate within predefined workflows, combining model decisions with structured application logic, conditional steps, and controlled execution paths.
Start learningSequential agent workflows
Learn how sequential workflows execute tasks in a predefined order, passing outputs between steps and ensuring that each stage completes before the next begins.
Start learningConditional agent workflows
Explore conditional agent workflows that select different execution paths based on model decisions, business rules, tool responses, or intermediate results.
Start learningHuman-in-the-loop agents
Understand how human approval and feedback can be incorporated into agent workflows for sensitive actions, important decisions, exception handling, and quality control.
Start learningAgent orchestration
Learn how agent orchestration coordinates models, tools, workflows, memory, and execution steps to complete complex tasks reliably.
Start learningMulti-agent systems
Explore multi-agent architectures in which multiple specialized agents collaborate, divide responsibilities, exchange information, and work toward shared objectives.
Start learningAgent collaboration and communication
Understand how multiple agents exchange messages, share task information, communicate intermediate results, and coordinate their responsibilities.
Start learningSupervisor and worker agent patterns
Learn the supervisor-worker architecture, where a coordinating agent assigns tasks to specialized agents, monitors progress, and combines their results.
Start learningAgent delegation
Explore how agents delegate tasks to specialized agents or external components, define responsibilities, transfer context, and evaluate delegated results.
Start learningAgent coordination
Understand how multi-agent systems coordinate task execution, manage dependencies, resolve conflicting outputs, and synchronize work across agents.
Start learningAgent frameworks and libraries
Compare popular agent development frameworks and libraries, focusing on orchestration capabilities, tool integration, memory, workflow control, and production readiness.
Start learningLangChain agents
Learn how LangChain agents use language models and tools to perform dynamic tasks, including tool definitions, agent execution, prompts, and integration with external services.
Start learningLangGraph fundamentals
Understand LangGraph's graph-based approach to building stateful agent workflows using nodes, edges, shared state, conditional routing, and execution checkpoints.
Start learningMicrosoft Semantic Kernel agents
Explore how Microsoft Semantic Kernel supports AI agent development through model integration, agent orchestration, plugins, functions, and application workflows.
Start learningSemantic Kernel plugins and functions
Learn how to extend Semantic Kernel applications with plugins and functions, expose application capabilities to AI models, and integrate existing .NET services.
Start learningAutoGen fundamentals
Understand AutoGen's approach to multi-agent application development, including agent conversations, message exchange, task delegation, and collaborative execution.
Start learningCrewAI fundamentals
Learn how CrewAI organizes AI agents into teams with defined roles, goals, responsibilities, tasks, and collaboration processes.
Start learningModel Context Protocol (MCP)
Understand the Model Context Protocol, including its purpose, architecture, core concepts, and how it standardizes connections between AI applications and external capabilities.
Start learningMCP clients and servers
Explore MCP client and server architecture, including connection management, capability discovery, tool exposure, resource access, and protocol communication.
Start learningIntegrating MCP tools with agents
Learn how to connect MCP servers to AI agents, discover available tools, execute remote capabilities, and incorporate their results into agent workflows.
Start learningAgent security fundamentals
Understand the security risks of autonomous agents, including excessive permissions, untrusted inputs, sensitive-data exposure, unsafe tool execution, and insufficient oversight.
Start learningPrompt injection in AI agents
Learn how direct and indirect prompt injection attacks manipulate agent instructions, influence tool selection, and potentially expose sensitive information or trigger unsafe actions.
Start learningSecure tool execution
Explore secure tool execution practices, including input validation, output handling, restricted operations, authentication, authorization, and execution monitoring.
Start learningAgent permissions and access control
Understand how to apply least-privilege permissions to agents and tools, enforce user-level authorization, restrict sensitive operations, and control access to resources.
Start learningSandboxing and execution isolation
Learn how sandboxing isolates agent-generated code and tool execution, limiting filesystem, network, process, and resource access to reduce security risks.
Start learningAgent reliability and fault tolerance
Explore techniques for building reliable agents using timeouts, retries, checkpoints, fallback strategies, error recovery, and controlled execution limits.
Start learningPreventing infinite agent loops
Learn how to prevent agents from repeatedly executing the same actions through iteration limits, time budgets, progress checks, loop detection, and explicit stopping conditions.
Start learningAgent evaluation and testing
Understand how to test AI agents using representative tasks, expected outcomes, tool-call validation, execution traces, success criteria, and regression testing.
Start learningAgent observability and tracing
Learn how to monitor agent execution using structured logs, traces, tool-call histories, execution timelines, error tracking, and performance metrics.
Start learningAgent performance optimization
Explore ways to improve agent performance by reducing unnecessary model calls, optimizing tool execution, managing context, parallelizing independent tasks, and improving workflow design.
Start learningToken and execution cost management
Understand how to control agent operating costs by tracking token consumption, limiting execution steps, selecting appropriate models, caching results, and managing tool usage.
Start learningProduction AI agent architecture
Learn how to design production-ready AI agent systems with scalable services, controlled tool access, persistent state, observability, security, fault tolerance, and evaluation.
Start learningBuilding AI agents with Python
Explore how to build AI agents with Python by integrating language models, defining tools, managing conversation state, handling execution loops, and connecting external APIs.
Start learningBuilding AI agents with .NET
Learn how to develop AI agents with C# and .NET using Semantic Kernel, model APIs, plugins, dependency injection, asynchronous execution, and integration with existing backend services.
Start learningPractice & revise
Interview questions
Practice interview questions with answers, key points, and practical examples.
Test your knowledge
Explore 100 questions for this topic, covering concepts, practical examples, and interview scenarios.
Keep learning step by step
Work through the concepts, practice explaining them in your own words, and use interview questions to check your understanding.
Explore another learning path