Language Model
A language model learns patterns in language and uses supplied context to produce a response. In an agent application, it can propose the next action; surrounding software carries out that action.
[Anthropic]A little deeper
A model response can include a request to use a tool. The surrounding application provides the tool result for a subsequent response. [Anthropic]