AI Agent workshop

February 10, 2025 ยท View on GitHub

Regions that this deployment can be executed:

  • northeurope (azure location)
  • swedencentral (aiResourceLocation)

Quickstart & Infrastructure setup

The following lines of code will connect your Codespace az cli and azd cli to the right Azure subscription:

# log in with the provided credentials - OPEN A PRIVATE BROWSER SESSION
az login --use-device-code

# if you need to log into a specific tenant - use the --tenant 00000000-0000-0000-0000-000000000000 parameter
az login --use-device-code --tenant 00000000-0000-0000-0000-000000000000 

# "log into azure dev cli - only once" - OPEN A PRIVATE BROWSER SESSION
azd auth login --use-device-code

# press enter open up https://microsoft.com/devicelogin and enter the code

Now deploy the infrastructure components with azure cli

azd up

Get the values for some env variables

azd env get-values | grep AZURE_ENV_NAME
source <(azd env get-values | grep AZURE_ENV_NAME)

deploy the project lc-react-tools in Azure Container Apps.

bash ./azd-hooks/deploy.sh lc-react-tools $AZURE_ENV_NAME

Workshop agenda

The scope of this workshop covers the following scenarios and technology stacks:

NameDescriptionTechnology
af-simpleSingle AgentAgentService, RAG
af-autogenSingle AgentAgentService, Autogen
lc-react-toolsSingle AgentStreamlit, Azure OpenAI, Langchain
lg-agents-01-codingMulti-agent code reviewsLangGraph, Azure OpenAI, Otel
lg-agents-02-shopHuman in the loopLangGraph, Qdrant, Azure OpenAI
li-workflows-01-simpleSimple event driven workflowLlama agents, Azure OpenAI
li-workflows-02-eventsEvent driven agent collaborationLlama agents, Azure OpenAI
sk-agents-01-collaborationSimple mult agent discussionSemantic kernel, Azure OpenAI
sk-agents-02-toolsUsing tools from agentsSemantic kernel, Azure OpenAI
sk-agents-03-creativeMulti-turn multi agent discussionSemantic kernel, Azure OpenAI
sk-agents-04-processEvent driven flowSemantic kernel, Azure OpenAI