LLM Library
Running and Using LLMsAnimated
Tool Use and Agents
Models that call functions and act in steps.
The idea
The model can output a structured request to call a tool such as search, code or an API. An agent loops: plan, call a tool, read the result, continue until the goal is done.
Watch it work
Press play, pause, or step through. Some animations have settings you can change.
- client
- gateway / proxy
- service
- cache
- data store
- queue / stream
The user gives a goal.
- step:
- 1/4
- at:
- User goal
1/11
The green dot is a request moving through the system.
Step by step
- 1Describe the tools to the model
- 2The model emits a tool call
- 3The system runs it and returns the result
- 4The model continues until finished
Where it is used
Coding agents, research assistants, automation.
Watch out for
Errors compound over many steps, so add limits and checks.