You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[Foundry Models](/azure/ai-foundry/concepts/foundry-models-overview)| Azure AI Inference SDK <sup>2</sup> |[Azure.AI.Inference](https://www.nuget.org/packages/Azure.AI.Inference)|https://ai-foundry-<resource>.services.ai.azure.com/models|
100
-
|[Foundry Agents](/azure/ai-foundry/agents/overview)| Azure AI Persistent Agents SDK |[Azure.AI.Agents.Persistent](https://www.nuget.org/packages/Azure.AI.Agents.Persistent)|https://ai-foundry-<resource>.services.ai.azure.com/api/projects/ai-project-<project>|
100
+
|[Foundry Agents](/azure/ai-foundry/agents/overview)| Azure AI Projects SDK + Microsoft Agents AI Foundry |[Azure.AI.Projects](https://www.nuget.org/packages/Azure.AI.Projects) / [Microsoft.Agents.AI.Foundry](https://www.nuget.org/packages/Microsoft.Agents.AI.Foundry)|https://ai-foundry-<resource>.services.ai.azure.com/api/projects/ai-project-<project>|
Copy file name to clipboardExpand all lines: agent-framework/agents/providers/microsoft-foundry.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ The Microsoft Foundry integration exposes two distinct usage patterns:
31
31
| Type | Produced type | Description | Use when |
32
32
|---|---|---|---|
33
33
|**Responses Agent**|`ChatClientAgent`| Your app programmatically provides a model, instructions, and tools at runtime via `AIProjectClient.AsAIAgent(...)`. No server-side agent resource is created. | You own the agent definition and want a simple, flexible setup. This is the pattern used in most samples. |
34
-
|**Foundry Agent** (versioned) |`FoundryAgent`| Server-managed — agent definitions are created and versioned either through the Foundry portal or programmatically via `AIProjectClient.Agents`. Pass an `AgentVersion` or `AgentRecord` or `AgentReference` to `AIProjectClient.AsAIAgent(...)`. | You need strict, versioned agent definitions managed in the Foundry portal, through service APIs |
34
+
|**Foundry Agent** (versioned) |`FoundryAgent`| Server-managed — agent definitions are created and versioned either through the Foundry portal or programmatically via `AIProjectClient.AgentAdministrationClient`. Pass a `ProjectsAgentVersion` or `ProjectsAgentRecord` or `AgentReference` to `AIProjectClient.AsAIAgent(...)`. | You need strict, versioned agent definitions managed in the Foundry portal, through service APIs |
35
35
36
36
## Responses Agent (direct inference)
37
37
@@ -60,7 +60,7 @@ This path is code-first and does not create a server-managed agent resource.
60
60
61
61
## Foundry Agent (versioned)
62
62
63
-
Use the native `AIProjectClient.Agents` APIs from the AI Projects SDK to retrieve versioned agent resources, then wrap them with `AsAIAgent`. Agents can be created and configured directly in the Foundry portal or programmatically via `AIProjectClient.Agents`.
63
+
Use the native `AIProjectClient.AgentAdministrationClient` APIs from the AI Projects SDK to retrieve versioned agent resources, then wrap them with `AsAIAgent`. Agents can be created and configured directly in the Foundry portal or programmatically via `AIProjectClient.AgentAdministrationClient`.
64
64
65
65
```csharp
66
66
usingAzure.AI.Projects;
@@ -74,7 +74,7 @@ var aiProjectClient = new AIProjectClient(
74
74
newDefaultAzureCredential());
75
75
76
76
// Retrieve an existing agent by name (uses the latest version automatically)
> `DefaultAzureCredential` is convenient for development but requires careful consideration in production. In production, consider using a specific credential (e.g., `ManagedIdentityCredential`) to avoid latency issues, unintended credential probing, and potential security risks from fallback mechanisms.
85
88
86
-
This creates a persistent agent that:
89
+
This creates a versioned agent that:
87
90
- Lives on the Foundry service
88
91
- Has access to the specified MCP tools
89
92
- Can maintain conversation state across multiple interactions
@@ -93,7 +96,7 @@ This creates a persistent agent that:
93
96
The created agent is retrieved as an `AIAgent` instance:
0 commit comments