Agentic AI Fundamentals
The core ideas to understand before you choose a model, a framework or a protocol.
An AI agent pursues a goal by deciding on steps, taking actions through tools and reacting to the results. These guides explain that idea, its parts and its limits, in an order that a beginner can follow.
Your learning path
The guides, in reading order
Start here
1. What Is Agentic AI?
Goals, autonomy, planning, action and feedback, with a small runnable agent.
2. What Is an AI Agent? Anatomy and Goals
Model, instructions, tools, state and runtime, and how to define success.
3. AI Agents vs Chatbots, Copilots, RPA and ML
Choose between agents, chatbots, copilots, automation and machine learning.
How agents work
4. The Agent Loop: Observe, Reason, Plan, Act, Reflect
Observe, reason, plan, act and reflect, including open and closed loops.
5. Types of AI Agents
Reactive and deliberative, stateless and stateful, short and long running.
Judgement and safety
6. Autonomy Levels and Human Oversight
How much freedom to give, and where people stay in control.
7. Agent Limits, Myths and When Not to Use One
What agents do unreliably, common myths and a decision framework.
The big picture in one diagram
Core vocabulary
| Term | Plain meaning |
|---|---|
| Model | The trained AI system, often a large language model, that generates decisions and text |
| Goal | The outcome the agent should reach, with its limits |
| Tool | A function or service the agent can ask to use |
| Action | One use of a tool, or a message to a person or another agent |
| Observation | What comes back after an action |
| State | Information kept while a task is running |
| Memory | Information saved and recalled to help later steps or sessions |
| Context | Everything given to the model for one decision |
| Autonomy | How far the agent may act without approval |
| Guardrail | A control that checks or limits inputs, outputs or actions |
Five principles to keep
- Use the simplest design that meets the goal.
- Let the model propose and let your code decide what is allowed.
- Check results against reality, not against the agent's own report.
- Give more autonomy only after testing shows it is earned.
- Make every run visible, stoppable and, where possible, reversible.
Check your understanding
Try to answer before you open each item.
1. What is the difference between a workflow and an agent?
In a workflow, code sets the sequence of steps in advance. In an agent, the model chooses the next step based on the goal and the results so far.
2. Why should a spending limit live in code and not only in the prompt?
A model can misread or be persuaded to ignore an instruction. A check in code runs the same way every time.
3. What gives the agent the most trustworthy feedback?
Evidence from the environment, such as a test result or a record in the system of record.
4. Name two ways an agent run should be able to end besides success.
Any two of: reaching a step, time or cost limit; escalating to a person; detecting repeated actions; being stopped by an operator.
Where to go next
LLMs for Agents
Understand the models that make the decisions.
Tools and Function Calling
Connect agents to real actions safely.
Security and Guardrails
Learn the threats before you deploy.