mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
e224f06e60
* Update models used in dotnet samples to gpt-5.4-mini * Fix additional missed sample
e224f06e60
·
2026-04-07 15:34:00 +00:00
History
Agent Step 00 - FoundryAgent Lifecycle
This sample demonstrates the full lifecycle of a FoundryAgent backed by a server-side versioned agent in Microsoft Foundry: create → run → delete.
Prerequisites
- A Microsoft Foundry project endpoint
- A model deployment name (defaults to
gpt-5.4-mini) - Azure CLI installed and authenticated
Environment Variables
| Variable | Description | Required |
|---|---|---|
AZURE_AI_PROJECT_ENDPOINT |
Microsoft Foundry project endpoint | Yes |
AZURE_AI_MODEL_DEPLOYMENT_NAME |
Model deployment name | No (defaults to gpt-5.4-mini) |
Running the sample
cd dotnet/samples/02-agents/AgentsWithFoundry
dotnet run --project .\Agent_Step00_FoundryAgentLifecycle