📡 You're offline — showing cached content
New version available!
Quick Access
Tutorials AI Agents and Automation What are AI Agents?

What are AI Agents?

5 min read Quiz at the end
AI agents loop through Reason-Act-Observe cycles autonomously — far beyond single LLM calls.

What are AI Agents?

An AI agent is an autonomous system that perceives its environment, reasons using an LLM, takes actions through tools, and iterates until a goal is achieved — going far beyond simple question-answering.

  • Perceive: read files, call APIs, browse web
  • Reason: LLM decides what to do next
  • Act: call tools, write code, send messages
  • Iterate: loop until goal is complete
# Agent vs LLM call
# LLM call:  prompt -> response (one shot)
# Agent:     goal -> [think -> act -> observe] * N -> result

# Simple ReAct loop
while not done:
    thought = llm.think(goal, history, observations)
    action  = llm.decide_action(thought)
    result  = execute_tool(action)
    observations.append(result)
    done = llm.check_if_complete(result)
Topic Quiz · 1 questions

Test your understanding before moving on

1. What distinguishes an AI agent from a simple LLM call?
💡 An agent iterates through ReAct cycles — thinking, using tools, observing results — until a goal is complete.