This repository contains the source code for DevUI, a sample application designed to demonstrate how to run agents and workflows using the Microsoft Agent Framework.
To get started with DevUI, please refer to the official documentation:
- Install the required dependencies.
- Configure your environment variables as needed.
- Run the application locally.
python -m venv .venv- On Windows:
.venv\Scripts\activate
pip install -r requirements.txtCreate a .env file in the root directory and add the necessary environment variables.
AZURE_OPENAI_API_KEY=your_azure_openai_api_key
AZURE_OPENAI_CHAT_DEPLOYMENT_NAME=your_azure_openai_chat_deployment_name
AZURE_OPENAI_ENDPOINT=your_azure_openai_endpoint
AZURE_AI_PROJECT_ENDPOINT=your_azure_ai_project_endpoint
FOUNDRY_MODEL_DEPLOYMENT_NAME=your_foundry_model_deployment_nameTo run the DevUI application, execute the following commands:
az login
python devui.py- When you run this agent application, Agent Framework will create a Classic Agent in Foundry. Classic agents in Foundry have a prefix of 'aast_'
- When you exit the application, the Classic Agent will be removed. See the following screen captures for reference:

