mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
8e1998ddcb
* Adds Valkey to chat message history * Address review: switch to Valkey.Glide, add options class, remove context provider - Switch from StackExchange.Redis to Valkey.Glide 1.1.0 (official Valkey .NET client) - Extract optional params into ValkeyChatHistoryProviderOptions - Add JsonSerializerOptions support, remove [RequiresUnreferencedCode] - Make MaxMessages/MaxMessagesToRetrieve readonly via options - Remove ValkeyContextProvider (overlaps with ChatHistoryMemoryProvider + MEVD) - Remove ValkeyProviderScope (only used by context provider) - Remove connection string constructors (caller manages IConnectionMultiplexer) - Update samples to use new API and gpt-5.4-mini * Use type-safe JsonSerializer overloads, remove suppress attributes Use JsonSerializerOptions.GetTypeInfo() for Serialize/Deserialize calls to enable NativeAOT/trimming compatibility without suppress attributes. Default to AgentAbstractionsJsonUtilities.DefaultOptions when no options provided. Signed-off-by: Matthias Howell <matthias.howell@improving.com> * Update READMEs: remove context provider references Remove ValkeyContextProvider and long-term memory references from sample READMEs since the context provider was removed from this PR. Simplify Valkey server requirements (no search module needed for chat history). Signed-off-by: Matthias Howell <matthias.howell@improving.com> * Apply suggestion from @westey-m * Fix formatting (dotnet format) Signed-off-by: Matthias Howell <matthias.howell@improving.com> * Update dotnet/src/Microsoft.Agents.AI.Valkey/Microsoft.Agents.AI.Valkey.csproj Co-authored-by: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com> --------- Signed-off-by: Matthias Howell <matthias.howell@improving.com> Co-authored-by: Matthias Howell <matthias.howell@yoppworks.com> Co-authored-by: westey <164392973+westey-m@users.noreply.github.com> Co-authored-by: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com>
8e1998ddcb
ยท
2026-06-11 13:18:00 +00:00
History
Getting started
The getting started samples demonstrate the fundamental concepts and functionality of the agent framework.
Samples
| Sample | Description |
|---|---|
| Agents | Step-by-step instructions for getting started with agents |
| Agents with Foundry | Foundry agent samples using FoundryAgent and AIProjectClient.AsAIAgent(...) |
| Agent Providers | Getting started with creating agents using various providers |
| Agents With Retrieval Augmented Generation (RAG) | Adding Retrieval Augmented Generation (RAG) capabilities to your agents |
| Agents With Memory | Adding memory capabilities to your agents |
| Agents With CodeAct (Hyperlight) | Enabling sandboxed code execution (CodeAct) for your agents via Hyperlight |
| Agent Open Telemetry | Getting started with OpenTelemetry for agents |
| Agent With OpenAI exchange types | Using OpenAI exchange types with agents |
| Agent With Anthropic | Getting started with agents using Anthropic Claude |
| Model Context Protocol | Getting started with Model Context Protocol |
| Agent Skills | Getting started with Agent Skills |
| Agent Harness with built-in tools | Demonstrating how to build an Agent Harness with built-in planning, todo, and mode management tooling |
| Declarative Agents | Loading and executing AI agents from YAML configuration files |
| AG-UI | Getting started with AG-UI (Agent UI Protocol) servers and clients |
| Dev UI | Interactive web interface for testing and debugging AI agents during development |
| A2A Agents | Working with Agent-to-Agent (A2A) specific features |