Agentic AI Fundamentals

The core ideas to understand before you choose a model, a framework or a protocol.

7 guides · Last updated:

What this section covers

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

UnderstandWhat agentic AI is and how it differs
Look insideAnatomy, loop and agent types
ControlAutonomy and human oversight
DecideLimits and when not to use one
Allow a few hours for the whole section, plus time to try the code.

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

PersonSets the goal and limits, approves risky steps
Agent runtimeKeeps state, calls the model, enforces rules
ModelProposes the next step
ToolsCarry out actions
MemorySupplies useful context
EnvironmentFiles, systems, websites and people that change and report back
↺ Results return to the runtime and shape the next decision
A simplified view. Real systems add logging, testing and security around every layer.

Core vocabulary

TermPlain meaning
ModelThe trained AI system, often a large language model, that generates decisions and text
GoalThe outcome the agent should reach, with its limits
ToolA function or service the agent can ask to use
ActionOne use of a tool, or a message to a person or another agent
ObservationWhat comes back after an action
StateInformation kept while a task is running
MemoryInformation saved and recalled to help later steps or sessions
ContextEverything given to the model for one decision
AutonomyHow far the agent may act without approval
GuardrailA control that checks or limits inputs, outputs or actions

Five principles to keep

Good habits from day one
  1. Use the simplest design that meets the goal.
  2. Let the model propose and let your code decide what is allowed.
  3. Check results against reality, not against the agent's own report.
  4. Give more autonomy only after testing shows it is earned.
  5. 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