Files
agent-framework/python/samples/getting_started/agents
T
Eduard van Valkenburg 6aa746d891 Python: Introducing UserInputRequest and Response types and HostedMcpTool (#405)
* initial work on User Approval (and hosted mcp to validate)

* small update to the comments in the sample

* enable local MCP tools in chatClient get methods

* working streaming and improved setup

* fix for pyright

* updated create_approval -> create_response method

* added tests

* updated HostedMcpTool and addressed feedback

* update type name

* naming updates

* small docstring update

* mypy fix

* fixes and updates

* fixes for responses

* fix int tests

* removed broken tests

* updated test running

* removed specific content check on websearch

* increased timeout

* split slow foundry test

* don't parallel run samples

* add dist load to unit tests

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
6aa746d891 ยท 2025-09-10 13:37:34 +00:00
History
..
2025-09-09 20:07:20 +00:00
2025-08-28 18:54:06 +00:00

Agent Examples

This folder contains examples demonstrating how to create and use agents with different chat clients from the Agent Framework. Each sub-folder focuses on a specific provider and client type, showing various capabilities like function tools, code interpreter, thread management, and more.

Examples by Provider

Azure AI Foundry Examples

Folder Description
foundry/ Create agents using Azure AI Foundry

Azure OpenAI Examples

Folder Description
azure_assistants_client/ Create agents using Azure OpenAI Assistants API
azure_chat_client/ Create agents using Azure OpenAI Chat Completions API
azure_responses_client/ Create agents using Azure OpenAI Responses API

OpenAI Examples

Folder Description
openai_assistants_client/ Create agents using OpenAI Assistants API
openai_chat_client/ Create agents using OpenAI Chat Completions API
openai_responses_client/ Create agents using OpenAI Responses API