ai-agents-for-beginners

Intro to AI Agents

(Click di piksha wey dey above to watch di video for dis lesson)

Introduction to AI Agents and Agent Use Cases

Welcome to di AI Agents for Beginners course! Dis course go give you di basic sabi — plus real workin code — to start build AI Agents from scratch.

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

Before we begin to build, mek we make sure say we really understand wetin AI Agent be and when e make sense to use am.


Introduction

Dis lesson go cover:

Learning Goals

By di end of dis lesson, you suppose fit:


Defining AI Agents and Types of AI Agents

Wetin be AI Agents?

Na so simple way to think am be this:

AI Agents na systems wey dey make Large Language Models (LLMs) actually do tins — by giving dem tools and knowledge to act for di world, no be only answer prompts.

Make we break am down small:

What Are AI Agents?


Different Types of AI Agents

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

Agent Type Wet E Dey Do Travel Agent Example
Simple Reflex Agents Dey follow hard-coded rules — no memory, no planning. See complaint email → forward am to customer service. Na all.
Model-Based Reflex Agents Get internal model of di world and dey update am as tins change. Track flight price history and warn when prices high well well.
Goal-Based Agents Get goal and dey find how to reach am step by step. Book full trip (flights, car, hotel) from your current location go your destination.
Utility-Based Agents No just find one solution — find best one by weighing tradeoffs. Balance cost versus convenience to get trip wey best fit your choice.
Learning Agents Dey improve over time by learning from feedback. Change future booking tips based on survey after trip.
Hierarchical Agents Top-level agent break work into small tasks and give to sub-agents. “Cancel trip” split into: cancel flight, cancel hotel, cancel car rental — each done by sub-agent.
Multi-Agent Systems (MAS) Many independent agents dey work together (or compete). Cooperative: separate agents handle hotels, flights, and entertainment. Competitive: many agents 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 tins wey agents really shine:

When to use AI Agents?

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


Basics of Agentic Solutions

Agent Development

First tin you go do to build agent na to define wetin e fit do — e tools, actions, and behaviors.

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

Agentic Patterns

You dey talk with LLMs through prompts. With agents, you no fit always design every prompt by hand — agent need to act in many steps. Na so Agentic Patterns from. Dem be reusable strategies for prompting and arranging LLMs well well.

Dis course na around di most common and useful agentic patterns.

Agentic Frameworks

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

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


Code Samples

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


Got Questions?

Join Microsoft Foundry Discord to connect with other learners, attend office hours, and get your AI Agent questions answered by community.


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.