Skip to content

microsoft/OpenAIWorkshop

Repository files navigation

alt text

Microsoft AI Agentic Workshop Repository

Welcome to the official repository for the Microsoft AI Agentic Workshop! This repository provides all the resources, code, and documentation you need to explore, prototype, and compare various agent-based AI solutions using Microsoft's leading AI technologies.


Quick Links


What You Can Do With This Workshop

  • Design and prototype agent solutions for real-world business scenarios.
  • Compare single-agent vs. multi-agent architectures and approaches.
  • Develop and contrast agent implementations using different platforms:
    • Microsoft Agent Framework (NEW!) - Microsoft's latest agentic AI framework with advanced multi-agent orchestration (Magentic workflows, handoffs, checkpointing)
    • Azure AI Agent Service
    • Semantic Kernel
    • Autogen

Key Features

  • 🎯 Microsoft Agent Framework Support (NEW!): Full integration with Microsoft's Agent Framework featuring:

    • Now available via pip! Install with: pip install agent-framework or uv add agent-framework
    • Single-agent with MCP tools and streaming token-by-token responses
    • Multi-agent Magentic orchestration with intelligent task delegation and progress tracking
    • Handoff-based multi-domain agents for specialized task routing with smart context transfer
    • Checkpointing and resumable workflows for long-running agentic tasks
    • Real-time WebSocket streaming with internal agent process visibility
    • 📚 See detailed pattern guide and documentation →
  • 🖥️ Advanced UI Options:

    • React Frontend: Real-time streaming visualization with agent internal processes, tool calls, orchestrator planning, and turn-by-turn history tracking
    • Streamlit Frontend: Simple, elegant chat interface for quick prototyping and demos
  • Configurable LLM Backend: Use the latest Azure OpenAI GPT models (e.g., GPT-5, GPT-4.1, GPT-4o).

  • MCP Server Integration: Advanced tools to enhance agent orchestration and capabilities with Model Context Protocol.

  • A2A (Agent-to-Agent) Protocol Support: Enables strict cross-domain, black-box multi-agent collaboration using Google's A2A protocol. Learn more →.

  • Durable Agent Pattern: Includes a demo of a robust agent that persists its state, survives restarts, and manages long-running workflows. Learn more →

  • Flexible Agent Architecture:

    • Supports single-agent, multi-agent, or reflection-based agents (selectable via .env).
    • Agents can self-loop, collaborate, reflect, or take on dynamic roles as defined in modules.
    • Multiple frameworks: Agent Framework, Autogen, Semantic Kernel, Azure AI Agent Service.
  • Session-Based Chat: Persistent conversation history for each session.

  • Full-Stack Application:

    • FastAPI backend with WebSocket and RESTful endpoints (chat, reset, history, etc.).
    • Choice of frontend: React (advanced streaming visualization) or Streamlit (simple chat).
  • Environment-Based Configuration: Easily configure the system using .env files.


Getting Started

  1. Review the Setup Instructions for environment prerequisites and step-by-step installation.
  2. Explore the Business Scenario and Agent Design to understand the workshop challenge.
  3. Check out the Agent Framework Implementation Patterns to choose the right multi-agent approach (single-agent, Magentic orchestration, or handoff pattern).
  4. Dive into System Architecture before building and customizing your agent solutions.
  5. Utilize the Support Guide for troubleshooting and assistance.

Contributing

Please review our Code of Conduct and Security Guidelines before contributing.


License

This project is licensed under the terms described in the LICENSE file.

About

workshop materials to build intelligent solutions on Open AI

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 17

Languages