Files
agent-framework/python/samples
T
Mars Wang 3d31a4a204 Python: samples: add api_key for Ollama sample usage (#1240)
* samples: add api_key for Ollama sample usage

* Update python/samples/getting_started/agents/ollama/ollama_with_openai_chat_client.py

Co-authored-by: Dmytro Struk <13853051+dmytrostruk@users.noreply.github.com>

* fix: update Ollama API key to an unused constant

---------

Co-authored-by: Dmytro Struk <13853051+dmytrostruk@users.noreply.github.com>
3d31a4a204 · 2025-10-08 20:45:24 +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