Files
agent-framework/python/samples/getting_started/agents
T
Dmytro Struk eec7f192eb Python: Added chat middleware and more examples (#883)
* Added example with stateful middleware

* Added chat middleware

* Updated middleware example with override scenario

* Small revert

* Small fixes

* Added kwargs to context objects

* Added README

* Added function middleware to chat client

* Small refactoring

* Reverted example files

* Made MiddlewareWrapper generic

* Added Middleware exception

* Small refactoring

* Small fix
eec7f192eb ยท 2025-09-26 15:10:56 +00:00
History
..
2025-09-26 08:15:54 +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
azure_ai/ Create agents using Azure AI Foundry Agent Service

Microsoft Copilot Studio Examples

Folder Description
copilotstudio/ Create agents using Microsoft Copilot Studio

Azure OpenAI Examples

Folder Description
azure_openai/ Create agents using Azure OpenAI APIs

OpenAI Examples

Folder Description
openai/ Create agents using OpenAI APIs

Custom Client Examples

Folder Description
custom_client/ Create agents using a custom chat client or a custom agent
anthropic/ Create agents using Anthropic APIs