↓ Skip to main content
  1. Glossary/

Agent

A system in which a language model chooses what to do next, using tool results to work toward a goal.

Asked “Can I return these headphones?”, a support agent looks up the order. When it sees that the headphones were bought on sale, it searches the return policy for sale items before answering.

Further reading: Building effective agents.