Files
agent-framework/dotnet/samples/GettingStarted/AgentWithOpenAI
T
Mark Wallace 32e054f1fe Rename AI Agent packages to use Microsoft.Agents.AI (#913)
* Rename AI Agent packages to use Microsoft.Agents.AI

* Fix for build

* Fix formatting

* Fix formatting

* Ignore in VSTHRD200 in migration samples

* Ignore in VSTHRD200 in migration samples

* Add some missing projects and run format

* Fix build errors

* Address code review feedback

* Fix merge issues

---------

Co-authored-by: Mark Wallace <markwallace@microsoft.com>
32e054f1fe ยท 2025-09-25 19:31:25 +00:00
History
..

Agent Framework with OpenAI

These samples show how to use the Agent Framework with the OpenAI exchange types.

By default, the .Net version of Agent Framework uses the Microsoft.Extensions.AI.Abstractions exchange types.

For developers who are using the OpenAI SDK this can be problematic because there are conflicting exchange types which can cause confusion.

Agent Framework provides additional support to allow OpenAI developers to use the OpenAI exchange types.

Sample Description
Creating an AIAgent This sample demonstrates how to create and run a basic agent instructions with native OpenAI SDK types.