AI Agent Interview Questions
Agent loops, tool calling, MCP, memory and guardrails.
What is an AI agent?
A system where an LLM decides which actions (tool calls) to take in a loop until a goal is met, observing results after each step.
Key Points:
- Agents trade predictability for flexibility.
What is tool or function calling?
The model returns a structured request to call a function you defined (name + JSON arguments). Your code runs it and returns the result for the next step.
Key Points:
- Validate arguments before running a tool.
What is MCP?
The Model Context Protocol is an open standard for connecting AI apps to tools and data sources through servers that expose tools, resources and prompts.
Key Points:
- One MCP server can be reused across many AI clients.