InterviewTreedInterviewTreed
All learning paths

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 learning

Introduction 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 learning

AI 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 learning

AI 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 learning

Agent 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 learning

Agent planning strategies

Explore planning approaches used by AI agents to determine action sequences, evaluate alternatives, handle dependencies, and adapt plans when circumstances change.

Start learning

Task decomposition

Learn how complex objectives can be divided into smaller, manageable subtasks with clear dependencies, execution steps, and completion criteria.

Start learning

Goal-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 learning

Tool calling fundamentals

Learn how AI agents extend their capabilities by invoking external tools, interpreting tool requirements, passing arguments, and using returned results.

Start learning

Function calling

Understand function calling in LLM applications, including how models identify functions, generate arguments, request execution, and incorporate function results into responses.

Start learning

Defining 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 learning

Tool 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 learning

Integrating 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 learning

Tool response handling

Learn how agents process tool responses, extract relevant information, validate returned data, and use execution results to determine their next actions.

Start learning

Tool 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 learning

Parallel tool execution

Understand how agents execute independent tool calls concurrently, coordinate their results, reduce overall execution time, and handle partial failures.

Start learning

Agent 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 learning

Short-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 learning

Long-term memory

Explore how agents retain useful information across sessions using persistent storage, retrieval mechanisms, summaries, and vector-based memory systems.

Start learning

Conversation history management

Learn how to maintain and manage conversation history, including message roles, history truncation, summarization, and selecting relevant context for future interactions.

Start learning

State management in AI agents

Understand how agents maintain execution state, track task progress, store intermediate outputs, and preserve information across multiple workflow steps.

Start learning

Context management

Explore techniques for managing agent context windows, selecting relevant information, reducing unnecessary tokens, and preserving important instructions and task details.

Start learning

Agent loops and execution cycles

Learn how agent execution loops repeatedly combine reasoning, action selection, tool execution, observation, and stopping conditions to complete tasks.

Start learning

ReAct 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 learning

Reflection 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 learning

Planning and execution patterns

Compare common agent planning and execution patterns, including step-by-step planning, dynamic planning, iterative execution, and feedback-driven workflows.

Start learning

Workflow-based agents

Understand how AI agents operate within predefined workflows, combining model decisions with structured application logic, conditional steps, and controlled execution paths.

Start learning

Sequential 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 learning

Conditional agent workflows

Explore conditional agent workflows that select different execution paths based on model decisions, business rules, tool responses, or intermediate results.

Start learning

Human-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 learning

Agent orchestration

Learn how agent orchestration coordinates models, tools, workflows, memory, and execution steps to complete complex tasks reliably.

Start learning

Multi-agent systems

Explore multi-agent architectures in which multiple specialized agents collaborate, divide responsibilities, exchange information, and work toward shared objectives.

Start learning

Agent collaboration and communication

Understand how multiple agents exchange messages, share task information, communicate intermediate results, and coordinate their responsibilities.

Start learning

Supervisor 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 learning

Agent delegation

Explore how agents delegate tasks to specialized agents or external components, define responsibilities, transfer context, and evaluate delegated results.

Start learning

Agent coordination

Understand how multi-agent systems coordinate task execution, manage dependencies, resolve conflicting outputs, and synchronize work across agents.

Start learning

Agent frameworks and libraries

Compare popular agent development frameworks and libraries, focusing on orchestration capabilities, tool integration, memory, workflow control, and production readiness.

Start learning

LangChain 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 learning

LangGraph fundamentals

Understand LangGraph's graph-based approach to building stateful agent workflows using nodes, edges, shared state, conditional routing, and execution checkpoints.

Start learning

Microsoft Semantic Kernel agents

Explore how Microsoft Semantic Kernel supports AI agent development through model integration, agent orchestration, plugins, functions, and application workflows.

Start learning

Semantic 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 learning

AutoGen fundamentals

Understand AutoGen's approach to multi-agent application development, including agent conversations, message exchange, task delegation, and collaborative execution.

Start learning

CrewAI fundamentals

Learn how CrewAI organizes AI agents into teams with defined roles, goals, responsibilities, tasks, and collaboration processes.

Start learning

Model 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 learning

MCP clients and servers

Explore MCP client and server architecture, including connection management, capability discovery, tool exposure, resource access, and protocol communication.

Start learning

Integrating 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 learning

Agent security fundamentals

Understand the security risks of autonomous agents, including excessive permissions, untrusted inputs, sensitive-data exposure, unsafe tool execution, and insufficient oversight.

Start learning

Prompt 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 learning

Secure tool execution

Explore secure tool execution practices, including input validation, output handling, restricted operations, authentication, authorization, and execution monitoring.

Start learning

Agent 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 learning

Sandboxing 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 learning

Agent reliability and fault tolerance

Explore techniques for building reliable agents using timeouts, retries, checkpoints, fallback strategies, error recovery, and controlled execution limits.

Start learning

Preventing 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 learning

Agent 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 learning

Agent observability and tracing

Learn how to monitor agent execution using structured logs, traces, tool-call histories, execution timelines, error tracking, and performance metrics.

Start learning

Agent 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 learning

Token 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 learning

Production 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 learning

Building 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 learning

Building 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 learning

Practice & 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.

Browse 100 questions

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