Topic Hub

AI Agents

AI agents are LLMs that can reason, plan, use tools, and take multi-step actions to complete goals autonomously. Learn how they work, how to build them, and how to deploy them reliably in production.


What Is an AI Agent?

An AI agent is a software system where a language model acts as the reasoning engine and decision-maker. Given a goal, the agent can break the task into steps, call external tools (search, code execution, APIs, databases), observe the results, and iterate — all without a human directing each step.

The key difference from a chatbot is autonomy. A chatbot responds to a single message. An agent pursues a goal across multiple steps, adapting its plan based on tool outputs and new information.

ReAct

Alternates Thought → Action → Observation in a loop. The simplest and most widely used agent pattern.

Plan-and-Execute

Planner creates a full step-by-step plan first; executor carries it out. Better for long, structured tasks.

Multi-Agent

Orchestrator delegates to specialist sub-agents. Enables parallelism and separation of concerns.

Reflection

Agent critiques its own output and iterates until quality standards are met. Improves output reliability.

Memory

In-context, external (vector DB), or episodic memory lets agents recall past interactions and facts.

Tool Use

Function calling lets agents invoke code, APIs, search engines, browsers, and databases as needed.


Why AI Agents Are the Future of Software

Agents are shifting software development from "write code to automate tasks" to "describe goals and let AI execute them". The implications are significant:

Understanding agents is becoming as fundamental as understanding APIs or databases — it is the architectural pattern defining the next generation of AI-powered software.


Phase 5 of the AI Engineering Roadmap

AI Agents is Phase 5 of the AI roadmap for developers. Here is where it fits:

Phase 3 Prompt Engineering → required for tool-use and system prompts
Phase 4 RAG Systems → required for agent memory and retrieval
Phase 5 ★ AI Agents ← you are here
Phase 6 Fine-tuning → customise models to improve agent behaviour

Agents require mastery of both prompt engineering (for reasoning and tool-use schemas) and RAG (for memory). They are the highest-complexity topic in the standard AI engineering curriculum — but also the most powerful.


AI Agent Guides & Tutorials

From agent fundamentals to multi-agent architectures — everything you need to build and deploy autonomous AI systems.


Continue Learning

Ready to build your first AI agent?

Follow the complete AI engineering roadmap — structured phases from foundations to autonomous agents.

View the full AI roadmap →