Python code for the Hosted Workflows in AI Foundry#3022
Open
LazaUK wants to merge 8 commits intomicrosoft:mainfrom
Open
Python code for the Hosted Workflows in AI Foundry#3022LazaUK wants to merge 8 commits intomicrosoft:mainfrom
LazaUK wants to merge 8 commits intomicrosoft:mainfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds Python sample code for implementing Hosted Workflows in Azure AI Foundry. It provides a Python equivalent to the existing .NET sample, helping Python developers utilize the hosted workflow capabilities.
Key Changes:
- Added Python script to create agents and workflows in Azure AI Foundry
- Included workflow definition in YAML format
- Added documentation and screenshots showing the Azure AI Foundry UI
Reviewed changes
Copilot reviewed 3 out of 6 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
python/samples/getting_started/workflows/declarative/hosted-workflow/hosted_workflow.py |
Main Python script that creates agents and workflows in Azure AI Foundry |
python/samples/getting_started/workflows/declarative/hosted-workflow/images/AIFoundry_Workflow_UI.png |
Screenshot showing the workflow UI in Azure AI Foundry portal |
crickman
reviewed
Dec 23, 2025
| - kind: GotoAction | ||
| id: loop_back | ||
| actionId: invoke_developer | ||
| id: "" |
Contributor
There was a problem hiding this comment.
I might consider removing this if its not defined or required.
eavanvalkenburg
requested changes
Dec 23, 2025
python/samples/getting_started/workflows/declarative/hosted-workflow/hosted_workflow.py
Show resolved
Hide resolved
moonbox3
reviewed
Feb 24, 2026
Contributor
moonbox3
left a comment
There was a problem hiding this comment.
Could you please update the code to the latest sample structure - 03-workflows is where workflows-related samples live.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation and Context
Description
The upload consists of 6 files:
Contribution Checklist