Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A simple Agent Framework agent on Foundry classic with DevUI

Notifications You must be signed in to change notification settings

jharbieh-microsoft/foundry-devui

Repository files navigation

Overview

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.

Getting Started

To get started with DevUI, please refer to the official documentation:

Setup

  • Install the required dependencies.
  • Configure your environment variables as needed.
  • Run the application locally.

Create a Virtual Environment

python -m venv .venv

Activate the Virtual Environment

  • On Windows:
    .venv\Scripts\activate

Install Dependencies

pip install -r requirements.txt

Configure your Environment Variables

Create 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_name

Running the Application

To run the DevUI application, execute the following commands:

az login
python devui.py

Classic Agents in Foundry

  • 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:

Reference Material

DevUI - A Sample App for Running Agents and Workflows

DevUI GitHub Repository

About

A simple Agent Framework agent on Foundry classic with DevUI

Topics

Resources

Readme

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages