ai-agents-for-beginners

Intro to AI Agents

(Click di image wey dey top so make you watch di video for dis lesson)

Introdakshon to AI Agents and Agent Use Cases

Welcome to di AI Agents for Beginners course! Dis course dey give you di basic tin dem — plus real working code — to start to build AI Agents from ground up.

Come greet us for Azure AI Discord Community — e full with learners and AI builders wey dey happy to answer any question.

Before we start to build, mek we sure say we actually sabi wetin AI Agent be and when e make sense to use am.


Introdakshon

Dis lesson dey cover:

Learning Goals

By di end of dis lesson, you go fit:


Defining AI Agents and Types of AI Agents

Wetin be AI Agents?

Dis na simple way to think am:

AI Agents na systems wey dey allow Large Language Models (LLMs) to actually do things — by giving dem tools and knowledge to act on di world, no be only to respond to prompts.

Make we break am down small:

Wetin Be AI Agents?


Di Different Kain AI Agents

No all agents be the same. Dis na breakdown of main types, using travel booking agent as example:

Agent Type Wetn e Dey Do Travel Agent Example
Simple Reflex Agents E follow hard-coded rules — no memory, no planning. If e see complaint email → e go forward am go customer service. Na only dat.
Model-Based Reflex Agents E keep internal model of world and e update am as tins dey change. E dey track historical flight prices, e go flag routes wey suddenly expensive.
Goal-Based Agents E get goal and e dey figure how to reach am step by step. E go book full trip (flight, car, hotel) from where you dey to your destination.
Utility-Based Agents E no go only find one solution — e find best one by weighing pros and cons. E balance cost with convenience to find trip wey fit your preference pass all.
Learning Agents E dey improve as time dey go by learning from feedback. E go adjust future booking recommendation based on survey after trip.
Hierarchical Agents High-level agent go break work into smaller tasks then e give to lower-level agents. If person ask “cancel trip”, e go split am into: cancel flight, cancel hotel, cancel car rental — each one to different sub-agent.
Multi-Agent Systems (MAS) Many independent agents dey work together (or compete). Cooperative: separate agents dey handle hotels, flights, entertainment. Competitive: many agents dey compete to fill hotel rooms at best price.

When to Use AI Agents

Just because you fit use AI Agent no mean say you suppose always use am. Dis na some situations wey agents really shine:

When to use AI Agents?

We go talk more about when (and when no) to use AI Agents for Building Trustworthy AI Agents lesson for dis course later.


Basics of Agentic Solutions

Agent Development

Di first tin you go do when you dey build agent na to define wetin e fit do — e tools, actions, and behaviors.

For dis course, we dey use Microsoft Foundry Agent Service as main platform. E support:

Agentic Patterns

You dey communicate with LLMs through prompts. With agents, you no fit always craft every prompt manually — di agent need to take action steps many times. Na there Agentic Patterns come. Dem be reusable strategies for prompting and managing LLMs way wey dey scalable and reliable.

Dis course structure dey focus on di most common and useful agentic patterns.

Agentic Frameworks

Agentic Frameworks dey give developers ready-made templates, tools, and infrastructure to build agents. Dem dey make am easy to:

For dis course, we dey focus on Microsoft Agent Framework (MAF) for building ready-for-production agents.


Code Samples

Ready to see am for action? Here be code samples for dis lesson:


You Get Questions?

Join the Microsoft Foundry Discord to connect with other learners, attend office hours, and make community answer your AI Agent questions.


Smoke-Test Dis Agent (Optional)

Once you learn how to deploy agents for Lesson 16, you fit add quick post-deploy health check for dis lesson’s TravelAgent with ready-made catalog tests/lesson-01-smoke-tests.json. Check tests/README.md to find how to run am.


Previous Lesson

Course Setup

Next Lesson

Exploring Agentic Frameworks


Disclaimer: Dis document don translate wit AI translation service Co-op Translator. Even tho we dey try make am correct, abeg make you know say automated translation fit get errors or mistakes. Di original document for dia own language na im be di correct source. For important info, make person wey sabi human translation do am. We no go responsible for any misunderstanding or wrong understanding wey fit happen because of dis translation.