How to Get Started with Microsoft Agent Framework: Building Your First AI Agent

Step 1: Install Required Packages

  • Execute the Following Commands
    dotnet add package Azure.AI.OpenAI --prerelease
    dotnet add package Azure.Identity
    dotnet add package Microsoft.Agents.AI.OpenAI --prerelease
    

Step 2: Follow the Tutorial

  • Microsoft Learn Documentation
    • Visit the tutorial titled “Get Started with Agent Framework” on Microsoft Learn.
    • This guide offers detailed instructions for creating your first AI agent.
    • Learn how to progressively enhance your agent’s functionality.

Step 3: Watch Video Tutorials

  • YouTube Tutorial
    • View the video tutorial “Getting Started with the Microsoft Agent Framework.”
    • This tutorial provides a visual guide to the basics of building AI-powered agents.

Step 4: Explore the Overview

  • Documentation Overview
    • Review the documentation titled “Microsoft Agent Framework Overview.”
    • Understand how to build AI agents and multi-agent workflows in .NET and Python.

Step 5: Course for Beginners

  • AI Agents for Beginners
    • Access the “AI Agents for Beginners” course on the provided link.
    • This course offers a structured learning path for new users.
    • Note prerequisites such as an Azure environment and compatibility with Linux systems.

Banner Image

Diagram: AI Agent Development Workflow