.NET: Add Foundry Agents Tool Sample - Memory Search#3700
Merged
rogerbarreto merged 5 commits intomicrosoft:mainfrom Feb 23, 2026
Merged
.NET: Add Foundry Agents Tool Sample - Memory Search#3700rogerbarreto merged 5 commits intomicrosoft:mainfrom
rogerbarreto merged 5 commits intomicrosoft:mainfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds a new sample demonstrating the Memory Search tool integration with AI Agents in the Azure AI Foundry Agent Framework. The sample shows how agents can recall information from previous conversations using memory stores.
Changes:
- Added a complete Memory Search tool sample with documentation
- Implemented agent creation with memory store integration and user profile persistence
- Demonstrated memory indexing, retrieval, and cleanup workflows
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| README.md | Provides comprehensive documentation for the Memory Search tool sample, including prerequisites, environment variables, and expected behavior |
| Program.cs | Implements the complete sample showing memory store creation, agent configuration with Memory Search tool, conversation flow, and resource cleanup |
| FoundryAgents_Step26_MemorySearch.csproj | Defines project configuration targeting .NET 10.0 with necessary Azure AI dependencies |
SergeyMenshykh
approved these changes
Feb 18, 2026
westey-m
reviewed
Feb 18, 2026
...ted/FoundryAgents/FoundryAgents_Step26_MemorySearch/FoundryAgents_Step26_MemorySearch.csproj
Show resolved
Hide resolved
westey-m
approved these changes
Feb 18, 2026
…y READMEs - Add FoundryAgents_Step26_MemorySearch.csproj to agent-framework-dotnet.slnx - Add Memory Search entry to FoundryAgents/README.md samples table - Add cross-reference from AgentWithMemory/README.md to MemorySearch sample Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1cb200a to
72ddef0
Compare
westey-m
approved these changes
Feb 20, 2026
westey-m
approved these changes
Feb 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation and Context
Adds a sample demonstrating how to use the Memory Search tool with Azure Foundry Agents, enabling agents to recall information from previous conversations.
Description
Adds
FoundryAgents_Step26_MemorySearchsample that shows:MemoryStores.CreateMemoryStoreAsyncMemorySearchToolto an agentMemorySearchToolCallResponseItemresults from agent responsesThe sample is aligned with the official Azure SDK for .NET Memory Search sample.
Contribution Checklist