← Tutorials21 / 22

What is an LLM?

What are tool use and agents?Tap to reveal

The model can output a structured request, e.g. call get_weather(city="Lagos"). Your program runs the tool and feeds the result back, and the model continues.

An agent repeats this loop (think, call a tool, observe) until the task is done. The model only produces text; your code decides what is actually executed, which is where safety checks belong.

← PreviousNext card →