Common questions this module answers
What is an AI agent?
An LLM in a loop: it reasons about a goal, chooses a tool (search, code, email), your code executes the tool, the result is appended to context, and the model decides the next step — repeating until the goal is done.
How does LLM tool calling actually work?
You describe tools as JSON schemas. The model emits a structured tool call (name + arguments) instead of prose; your code runs the real function and returns the result as a new message. The model never executes anything itself.
What is MCP (Model Context Protocol)?
An open standard that lets any AI app talk to any tool server over one protocol — write a tool server once, use it from any MCP-capable assistant, instead of integrating each tool with each app.