Files
agent-framework/python/samples
T
Dmytro Struk 9fe4a61dd0 Python: Added function approval example with streaming (#1365)
* Added function approval example with streaming

* Update python/samples/getting_started/tools/ai_tool_with_approval.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
9fe4a61dd0 · 2025-10-09 17:31:36 +00:00
History
..
2025-07-28 07:33:42 +00:00

Python Samples

This directory contains samples demonstrating the capabilities of Microsoft Agent Framework for Python.

Getting Started

For step-by-step tutorials and examples, see the getting_started directory:

  • Agents - Learn how to create and use agents with various providers (Azure OpenAI, OpenAI, Azure AI, etc.)
  • Workflows - Explore workflow patterns for orchestrating multiple agents
  • DevUI - Web interface samples for testing agents and workflows interactively
  • Chat Client - Examples of using chat clients directly
  • Threads - Manage conversation threads and chat message stores
  • Context Providers - Integrate with context providers like Mem0 and Redis
  • Middleware - Add middleware for logging, telemetry, and custom processing
  • Multimodal Input - Handle images and other multimodal inputs
  • Observability - Add tracing and monitoring to your agents
  • Tools - Examples of tool usage including AI function approval and error handling

Sample Guidelines

For information on creating new samples, see SAMPLE_GUIDELINES.md.

More Information