Published:
Last updated:

AI Agents and Tool Use

Authors
Time yourself:
Your progress:

00:30:00

0%

Filter by difficulty

34 of 34 questions shown

Choosing the Right Control Model

1. What is an AI agent, and how is it different from a chatbot or fixed workflow?

Junior
Flag important question
Mark as complete

2. When should you prefer a deterministic workflow over an agent?

Junior
Flag important question
Mark as complete

3. How does a basic agent loop work?

Junior
Flag important question
Mark as complete

4. How does an agent use a tool without executing it inside the model?

Junior
Flag important question
Mark as complete

5. What makes an agent tool safe and useful?

Mid-level
Flag important question
Mark as complete

Free preview complete

You’ve reached the end of the free preview

Get every remaining question and complete answer, plus progress tracking across the full Interview Question Library.

  • 29 more questions and complete answers in this topic
  • Full access to every interview topic
  • Progress tracking and question flags
  • New questions and improvements during your subscription

Full access from

$12/month

No long-term commitment. Cancel whenever you want.

6. How do you bound an agent run and decide that it is finished?

Mid-levelPaid Question

Tool Design and Orchestration

7. How should you design tool names, descriptions, and schemas?

Mid-levelPaid Question

8. How do you help an agent select the right tool?

Mid-levelPaid Question

9. How should a runtime validate tool arguments, results, and errors?

JuniorPaid Question

10. When can tool calls run in parallel, and when must they be sequential?

Mid-levelPaid Question

11. How do manager agents, agents-as-tools, and handoffs differ?

SeniorPaid Question

12. When is one agent better than a multi-agent system?

JuniorPaid Question

13. What context and authority should cross an agent handoff?

Mid-levelPaid Question

State, Memory, and Durable Execution

14. How do working state, conversation memory, and knowledge differ?

JuniorPaid Question

15. How do you control context growth during a long agent run?

Mid-levelPaid Question

16. How do checkpoints make an agent run resumable?

SeniorPaid Question

17. How do you design long-running agent work with status, cancellation, and resume?

SeniorPaid Question

18. How do idempotency and retries protect agent side effects?

Mid-levelPaid Question

19. How do you prevent concurrent workers or agents from corrupting shared state?

SeniorPaid Question

Reliability, Safety, and Human Control

20. How should timeouts, retries, and backoff work for agent tools?

JuniorPaid Question

21. Which agent actions should require human approval?

JuniorPaid Question

22. How do you apply least privilege to agent tools?

Mid-levelPaid Question

23. How do prompt injection and malicious tool output affect agentic systems?

SeniorPaid Question

24. When and how should agent execution be sandboxed?

Mid-levelPaid Question

25. How do you handle partial failure and compensation across multiple tools?

SeniorPaid Question

26. How do you detect and stop loops, repeated actions, and no progress?

Mid-levelPaid Question

27. When should an agent ask for user input or escalate to a human?

JuniorPaid Question

Observability, Evaluation, and Protocols

28. What should you trace in an agent run?

Mid-levelPaid Question

29. How do you evaluate an agentic system end to end?

SeniorPaid Question

30. What is MCP, and what problems does it not solve?

SeniorPaid Question

Identity, Durable State, and External Events

31. How should an agent use delegated authorization across tools?

SeniorPaid Question

32. How should an agent decide what to write to long-term memory?

Mid-levelPaid Question

33. When should agent orchestration use an explicit state machine?

SeniorPaid Question

34. How should an agent handle tools that finish asynchronously?

Mid-levelPaid Question