Hello, future AI expert! 👋
In Module 1, we learned what AI agents are and how they can help us. Now we are going to look inside an AI agent's "brain" and learn how they think.
AI agents are like smart problem‑solvers. They look at a situation, think about what to do, and then take action. This is called decision‑making and planning.
Think of it like playing a game of chess. You look at the board, think about your options, and then make a move. AI agents do something similar, but much faster!
In this module, we will learn how AI agents make decisions, plan their actions, reason about problems, and even learn from their mistakes.
Let's look inside the AI agent's brain! 🧠⚡
After this module, you will be able to:
Chidi, our business owner from Module 1, was amazed by his AI agent. But he wondered: how does it actually think?
One day, Chidi gave his AI agent a puzzle: "Find the best way to deliver packages to five different locations."
The AI agent looked at the map (perception). It thought about all the possible routes (decision‑making). It made a plan for the best route (planning). Then it gave Chidi the answer.
Chidi was amazed. The AI agent had thought through the problem like a smart detective!
This story shows how AI agents think. They perceive, decide, plan, and act.
Now, let's learn more about how they do it! 🧠🔍
Definition: AI agents think by perceiving their environment, making decisions, planning actions, and learning from results.
Why it is important: This is how they solve problems and complete tasks.
Simple explanation: It is like solving a puzzle – you look at the pieces, decide which ones fit, and put them together.
Real‑life example: An AI agent looks at traffic data, decides the best route, and plans your journey.
School example: You look at a math problem, decide which formula to use, and solve it.
Home example: You look at the fridge, decide what to cook, and prepare a meal.
Nigerian example: An AI agent looks at market data, decides which products to stock, and plans inventory.
Illustration (ASCII):
How AI Agents Think
+-------------------------------+
| 1. Perceive (look) |
| 2. Decide (choose) |
| 3. Plan (make a plan) |
| 4. Act (do it) |
| 5. Learn (get better) |
+-------------------------------+
Mini summary: AI agents think by perceiving, deciding, planning, acting, and learning.
Definition: Perception is how an AI agent sees and understands its environment.
Why it is important: An AI agent cannot make good decisions if it does not know what is happening.
Simple explanation: It is like opening your eyes to see what is around you.
Real‑life example: An AI agent reads the weather forecast to plan your day.
School example: You read the questions on a test before answering.
Home example: You look at the clock to know what time it is.
Nigerian example: An AI agent looks at traffic patterns in Lagos.
Illustration (ASCII):
Perception – Seeing the World
+-------------------------------+
| 👀 Look at the environment |
| 📖 Read data and information |
| 🧠 Understand what is |
| happening |
+-------------------------------+
Mini summary: Perception is how AI agents see and understand their environment.
Definition: Decision‑making is the process of choosing between different options.
Why it is important: AI agents need to choose the best action to achieve their goal.
Simple explanation: It is like choosing which route to take to school.
Real‑life example: An AI agent decides whether to send an email or make a phone call.
School example: You decide which subject to study first.
Home example: You decide what to eat for dinner.
Nigerian example: An AI agent decides which products to promote in a Nigerian market.
Illustration (ASCII):
Decision‑Making – Choosing What to Do
+-------------------------------+
| 🤔 Look at options |
| 📊 Weigh pros and cons |
| ✅ Choose the best option |
+-------------------------------+
Mini summary: Decision‑making is choosing the best option to achieve a goal.
Definition: Planning is creating a sequence of actions to achieve a goal.
Why it is important: A good plan helps AI agents reach their goals efficiently.
Simple explanation: It is like making a recipe – you follow the steps to get the result.
Real‑life example: An AI agent plans your travel itinerary.
School example: You make a study schedule for exams.
Home example: You plan a weekly menu.
Nigerian example: An AI agent plans a marketing campaign for a Nigerian business.
Illustration (ASCII):
Planning – Making a Step‑by‑Step Guide
+-------------------------------+
| 📝 Define the goal |
| 📋 List the steps |
| 🔀 Order the steps |
| ✅ Follow the plan |
+-------------------------------+
Mini summary: Planning is creating a step‑by‑step guide to achieve a goal.
Definition: Reasoning is using logic to solve problems and make decisions.
Why it is important: It helps AI agents think through complex problems.
Simple explanation: It is like figuring out a puzzle by thinking carefully.
Real‑life example: An AI agent reasons that if it is raining, you should take an umbrella.
School example: You reason that if you study hard, you will get good grades.
Home example: You reason that if you turn off the lights, you save electricity.
Nigerian example: An AI agent reasons that if fuel prices rise, transportation costs will increase.
Illustration (ASCII):
Reasoning – Using Logic
+-------------------------------+
| 🧠 Think carefully |
| 🔍 Find connections |
| 💡 Draw conclusions |
+-------------------------------+
Mini summary: Reasoning is using logic to solve problems.
Definition: Learning is the process of improving based on experience.
Why it is important: It allows AI agents to become more effective over time.
Simple explanation: It is like practising a sport – you get better the more you play.
Real‑life example: An AI agent learns which emails are spam and which are not.
School example: You learn from your mistakes on practice tests.
Home example: You learn which recipes your family likes best.
Nigerian example: An AI agent learns customer preferences in a Nigerian market.
Illustration (ASCII):
Learning – Getting Better Over Time
+-------------------------------+
| 📚 Gain experience |
| 🔄 Adjust based on results |
| 📈 Improve performance |
+-------------------------------+
Mini summary: Learning is how AI agents improve from experience.
Definition: A goal is something an AI agent wants to achieve.
Why it is important: Goals guide all the decisions and actions of an AI agent.
Simple explanation: It is like knowing your destination before you start a trip.
Real‑life example: An AI agent's goal is to book the cheapest flight.
School example: Your goal is to get good grades.
Home example: Your goal is to cook a delicious meal.
Nigerian example: An AI agent's goal is to increase sales for a Nigerian business.
Illustration (ASCII):
Goals – What AI Agents Want to Achieve
+-------------------------------+
| 🎯 Define the target |
| 🗺️ Guide all actions |
| 🏆 Measure success |
+-------------------------------+
Mini summary: Goals are what AI agents want to achieve.
Definition: Feedback is information about how well an AI agent performed.
Why it is important: Feedback helps AI agents learn and improve.
Simple explanation: It is like getting a score after a game.
Real‑life example: An AI agent gets feedback that a customer liked its response.
School example: You get feedback on your homework.
Home example: Your family tells you if they liked the meal.
Nigerian example: An AI agent gets feedback on a marketing campaign's performance.
Illustration (ASCII):
Feedback – How AI Agents Know They Did Well
+-------------------------------+
| 📊 Receive results |
| ✅ Understand performance |
| 🔄 Adjust for next time |
+-------------------------------+
Mini summary: Feedback helps AI agents know how well they performed.
Definition: The thinking cycle is the continuous loop of perceiving, deciding, planning, acting, and learning.
Why it is important: It explains how AI agents work over time.
Simple explanation: It is like a cycle that repeats to get better and better.
Real‑life example: An AI agent cycles through perception, decision, planning, action, and learning.
School example: You study, take a test, get feedback, and improve.
Home example: You cook, taste, adjust, and cook again.
Nigerian example: An AI agent cycles through market analysis, strategy, implementation, and improvement.
Illustration (ASCII):
The Thinking Cycle
+-------------------------------+
| 👀 Perceive |
| ⬇️ |
| 🤔 Decide |
| ⬇️ |
| 📝 Plan |
| ⬇️ |
| ⚡ Act |
| ⬇️ |
| 📚 Learn |
| ⬇️ |
| 🔄 Repeat |
+-------------------------------+
Mini summary: The thinking cycle is the continuous loop of perceiving, deciding, planning, acting, and learning.
Definition: Nigerian AI agents make decisions in various sectors like agriculture, finance, and logistics.
Why it is important: It shows how AI agents are already helping Nigerian businesses.
Simple explanation: Nigerian AI agents are making smart decisions every day.
Real‑life example: An AI agent decides which crops to plant based on weather data.
School example: An AI agent helps students decide which subjects to focus on.
Home example: An AI agent helps families decide on a budget.
Nigerian example: An AI agent helps a Nigerian bank decide on loan approvals.
Illustration (ASCII):
AI Agents in Nigeria – Decision‑Making
+-------------------------------+
| 🇳🇬 Agriculture decisions |
| 🇳🇬 Financial decisions |
| 🇳🇬 Logistics decisions |
| 🇳🇬 Marketing decisions |
+-------------------------------+
Mini summary: Nigerian AI agents are making smart decisions in many sectors.
Definition: Tips are strategies to understand how AI agents think.
Why it is important: Understanding helps you use AI agents better.
Simple explanation: These are rules to follow.
Real‑life example: Observe how the AI agent makes decisions.
School example: Pay attention to how the AI agent solves problems.
Home example: Notice how the AI agent learns from feedback.
Nigerian example: Watch how Nigerian AI agents adapt to local conditions.
Illustration (ASCII):
Tips for Understanding AI Thinking
+-------------------------------+
| ✅ Observe the agent's |
| decisions |
| ✅ See how it plans |
| ✅ Notice how it learns |
| ✅ Understand its goals |
+-------------------------------+
Mini summary: Observe and understand how AI agents think.
Definition: Misunderstandings are wrong ideas people have about how AI agents think.
Why it is important: Avoiding them helps you use AI agents effectively.
Simple explanation: These are pitfalls to avoid.
Real‑life example: Thinking AI agents are always correct.
School example: Thinking AI agents can replace teachers.
Home example: Thinking AI agents can do everything.
Nigerian example: Thinking AI agents are not suitable for Nigerian contexts.
Illustration (ASCII):
Common Misunderstandings
+-------------------------------+
| ❌ AI agents are always |
| correct |
| ❌ AI agents can replace |
| humans |
| ❌ AI agents are perfect |
+-------------------------------+
Mini summary: Avoid common misunderstandings about AI agents.
Definition: Best practices are the recommended ways to understand AI agent thinking.
Why it is important: They help you use AI agents effectively.
Simple explanation: These are the rules to follow.
Real‑life example: Always verify AI decisions.
School example: Always check AI‑generated answers.
Home example: Always review AI suggestions.
Nigerian example: Always consider the Nigerian context.
Illustration (ASCII):
Best Practices
+-------------------------------+
| ✅ Verify AI decisions |
| ✅ Check AI plans |
| ✅ Review AI learning |
| ✅ Consider local context |
+-------------------------------+
Mini summary: Follow best practices to understand AI thinking.
Definition: Real‑world examples show how AI agents think in practice.
Why it is important: They help you understand AI thinking better.
Simple explanation: They are like stories of AI agents in action.
Real‑life example: An AI agent thinks through a customer service problem.
School example: An AI agent thinks through a student's question.
Home example: An AI agent thinks through a meal plan.
Nigerian example: An AI agent thinks through a logistics challenge in Lagos.
Illustration (ASCII):
Real‑World Examples
+-------------------------------+
| 💬 Customer service |
| 📚 Education |
| 🏠 Home management |
| 📦 Logistics |
+-------------------------------+
Mini summary: Real‑world examples show AI thinking in action.
Definition: Your journey is the path from learning about AI thinking to becoming an expert.
Why it is important: You have taken the first steps – now keep going!
Simple explanation: You have learned the basics. Now practise and explore.
Real‑life example: A professional learns how AI agents think and uses them better.
School example: A student learns about AI thinking and applies it.
Home example: A family learns how AI agents think and uses them wisely.
Nigerian example: A Nigerian professional understands AI thinking and helps their business.
Illustration (ASCII):
Your Journey
+-------------------------------+
| Learn how AI agents think |
| Practise observing them |
| Apply your understanding |
| Become an expert! |
+-------------------------------+
Mini summary: You are on your way to understanding AI thinking!
Illustration (flowchart):
Start
|
v
Perceive
|
v
Think
|
v
Decide
|
v
Plan
|
v
Act
|
v
Learn
|
v
Repeat
|
v
End
1950s ── First AI programs
1980s ── Expert systems
1990s ── Machine learning
2010s ── Deep learning
2020s ── Advanced AI agents
| Feature | AI Thinking | Human Thinking |
|---|---|---|
| Speed | Very fast | Slower |
| Emotion | None | Yes |
| Learning | From data | From experience |
| Creativity | Limited | High |
| Bias | Can be biased | Can be biased |
+-------------------+
| 👀 Perceive |
+-------------------+
|
v
+-------------------+
| 🤔 Think |
+-------------------+
|
v
+-------------------+
| ✅ Decide |
+-------------------+
|
v
+-------------------+
| 📝 Plan |
+-------------------+
|
v
+-------------------+
| ⚡ Act |
+-------------------+
|
v
+-------------------+
| 📚 Learn |
+-------------------+
|
v
(Repeat)
| Component | Description | Example |
|---|---|---|
| Perception | Seeing the environment | Reading traffic data |
| Decision | Choosing an option | Choosing a route |
| Planning | Making a step‑by‑step guide | Planning a journey |
| Action | Doing something | Driving the car |
| Learning | Improving from experience | Learning a better route |
Excellent work! You have completed the second module of the AI Agents and Autonomous Workflows course. Here is what we learned:
Match the term on the left with its description on the right.
| Term | Description |
|---|---|
| 1. Perception | A. Choosing between options |
| 2. Decision‑making | B. Seeing and understanding |
| 3. Planning | C. Creating a step‑by‑step guide |
| 4. Reasoning | D. Using logic to solve problems |
| 5. Learning | E. Improving from experience |
Answers: 1‑B, 2‑A, 3‑C, 4‑D, 5‑E
Scenario 1: Chidi's AI agent needs to plan a delivery route in Lagos.
Scenario 2: A Nigerian business wants to use an AI agent to make decisions.
Activity: In groups, discuss how an AI agent would think through a problem. Share your ideas with the class.
Activity: Write a short paragraph about how an AI agent would think through a problem you face in daily life.
Project: Create a poster or digital diagram that explains how an AI agent thinks.
Assignment: Observe an AI agent (like a chatbot) and write a short report on how it seems to think.
Challenge: Design a simple thinking cycle for an AI agent that solves a problem in Nigeria.
(Answers to Fill-in-the-Blank, True/False, and Multiple Choice are provided within each section.)
In Module 3, we will learn about autonomous workflows. We will explore what they are, how they work, and how they can help us.
Make sure you have access to a computer and the internet. See you in Module 3! 🚀
End of Module 2