Agents, Tools & Model Context Protocol (MCP)
An AI Agent is an autonomous system capable of planning, executing tools, inspecting results, and taking sequential actions to accomplish goals. Agentic AI shifts from static single-prompt responses to dynamic, goal-oriented execution loops.
Tool Calling (and Function Calling) allows models to execute external APIs, SQL queries, or custom code by emitting structured JSON function arguments. The Model Context Protocol (MCP) is an open standard that standardizes how AI assistants connect to tools, data sources, and enterprise services across platforms.
Multi-Agent Systems coordinate multiple specialized agents (e.g., Planner, Coder, Reviewer) directed by an Orchestrator. Human-in-the-Loop (HITL) checkpoints require human approval before executing sensitive operations (e.g., database writes or financial transfers). Agents maintain Memory across steps, utilize Planning to break goals down, and apply Reflection to critique and improve outputs before completion.
Exercise
Define a tool schema for a weather API, simulate a tool-calling LLM response, and build a Human-in-the-Loop approval gate for a write operation.
Check your understanding
What is Model Context Protocol (MCP)?Show answerHide answer
Answer
An open standard that standardizes tool calling and data source connections across AI assistants and enterprise services.What is the purpose of Reflection in an AI agent?Show answerHide answer
Answer
Reflection allows an agent to evaluate its intermediate output against criteria and self-correct errors before returning a final answer.