AI Agents

An AI agent is an autonomous entity that perceives its environment and takes actions to achieve specific goals. They can be software-based or even physical robots, and use artificial intelligence techniques to make decisions and learn.

Here are some key characteristics of AI agents:

When are AI Agents Used?

AI agents are used in a wide range of applications, from simple tasks like sorting emails to complex tasks like managing self-driving cars. Here are some common examples:

Examples of AI Agents


AI Agent System overview (by Lilian Weng)


In a LLM-powered autonomous agent system, LLM functions as the agent’s brain, complemented by several key components:

The role of Functions (read on below the diagram)

The role of Functions (Google Whitepaper AI Agents, 2024)

Functions in the context of AI agents are self-contained modules of code that accomplish a specific task and can be reused as needed. A model can use a set of known functions and decide when to use each function and what arguments the function needs based on its specification.


Key aspects of functions:

References / Sources:

Google Whitepaper, 'Agents' - September 2024

LLM Powered Autonomous Agents - Lil'Log Author Author: Lilian Weng, June 2023