
End to end workflow of an LLM agent:
User
|
▼
Application
(builds the context)
|
▼
LLM
(next-token prediction)
|
▼
Application
(parses the tool call, executes it)
|
▼
Tools
(PDF, Search, Python, Image)
|
▼
Tool Results
(appended to the same context)
|
|__ loops back to the LLM until no tool call is emitted
|
▼
LLM
(generates report text)
|
▼
Application
|
▼
Document Generator
(PDF / HTML / DOCX)
|
▼
Final File
The model never runs a tool. It only predicts tokens.
The application does the running.
English











