Skip to content

Latest commit

 

History

History

README.md

Snippy Lab - Build an AI-Powered Code Snippet Manager

Welcome! This hands-on lab teaches you to build Snippy, an intelligent code snippet manager using Azure Functions, Azure OpenAI, and the Model Context Protocol (MCP).

What You'll Build

  • Serverless API with Azure Functions for saving/retrieving code snippets
  • Vector Search using Azure OpenAI embeddings and Cosmos DB
  • MCP Tools that GitHub Copilot can discover and use
  • AI Agents that generate documentation and style guides from your code
  • Multi-Agent Orchestration using Durable Functions

Snippy Architecture

Prerequisites

Before starting, ensure you have:

Required Software

Recommended

  • uv package manager (faster than pip) - Install
  • REST Client Extension for VS Code - Install

Required Accounts

Quick Start

  1. Clone this repository

    git clone https://github.com/Azure-Samples/snippy.git
    cd snippy
  2. Follow the tutorial

  3. Clean up when done

    azd down --purge --force

What You'll Learn

  • Azure Functions as an AI integration platform
  • Model Context Protocol (MCP) for AI assistant integration
  • Vector embeddings and semantic search with RAG patterns
  • Microsoft Agent Framework for building AI agents
  • Durable Functions for multi-agent orchestration
  • Azure OpenAI integration with embeddings and chat models

Support

License

This project is licensed under the MIT License - see the LICENSE.md file for details.