Agent fundamentals

Tool calling lets LLMs act on external systems. The key is an explicit execution loop: request, tool call, result injection, and final answer.

Reliable patterns

  • ReAct (reason + act + observe)
  • Parallel tool execution when possible
  • Logging intermediate reasoning for debugging