AzureAIAgentClient vs AzureAIClient #3804
Javier-Jimenez99
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am working with the Azure AI Foundry Agent Framework to create hosted agents. I have a few questions regarding the behavior and differences between two classes:
AzureAIClientandAzureAIAgentClient.The Context:
I typically use
AzureAIClientto instantiate agents on Foundry. However, I’ve noticed several official samples (like this one) useAzureAIAgentClientinstead.The Confusion:
AzureAIAgentClientis supposed to automatically create a Foundry agent when it is run. This seems counter-intuitive: if I am writing code to manage the logic of a hosted agent, why would that code trigger the creation of a new agent entry in Foundry every time it runs?My Questions:
AzureAIClientandAzureAIAgentClient?AzureAIAgentClientactually intended to provision a new agent resource dynamically, or is it simply a wrapper for interacting with an existing one?Any clarification on the intended "Developer Flow" for these two classes would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions