LLM Learning Hub

workspace/llm-course/home

AI Agents

AI agents are systems that use an LLM as a reasoning engine to autonomously decide actions, call tools, observe results, and iterate until a user-defined goal is achieved.

What is AI Agents?

AI agents are systems that use an LLM as a reasoning engine to autonomously decide actions, call tools, observe results, and iterate until a user-defined goal is achieved.

AI agents are systems that use an LLM as a reasoning engine to autonomously decide actions, call tools, observe results, and iterate until a user-defined goal is achieved.

Where is it used?

Claude's computer use, Devin, AutoGPT, and LangGraph agents use LLMs in a tool-calling loop; the `langgraph` and `crewai` frameworks scaffold multi-step agent workflows.

How to build it

Use `langgraph.prebuilt.create_react_agent(model, tools)` to get a ReAct agent that automatically runs the reason-act-observe loop; invoke with `agent.invoke({"messages": [...]})`.