---
title: "Give your Agent memory with SQL Server and Microsoft Agent Framework | Data Exposed"
url: https://daily.dev/posts/give-your-agent-memory-with-sql-server-and-microsoft-agent-framework-data-exposed-bxts53qvv
source_url: https://www.youtube.com/watch?v=KrqYxSZsPBE
type: video:youtube
source: "Microsoft Developer"
published: 2026-05-28T16:05:34.844Z
updated: 2026-05-28T16:05:53.092Z
tags: ["python", "ai-agents", "microsoft-sql-server"]
reading_time: 12
upvotes: 1
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Give your Agent memory with SQL Server and Microsoft Agent Framework | Data Exposed

**[Microsoft Developer](https://daily.dev/sources/microsoftdeveloper)** · 12 min read · 1 upvotes · 0 comments

## Summary

A walkthrough of building an AI agent with persistent conversation memory using Microsoft Agent Framework and SQL Server. The demo shows an e-commerce recommendation system where user preferences (stored per session in SQL Server via Docker) are retrieved by the agent to personalize product suggestions. The Microsoft Agent Framework is explained as a merger of AutoGen and Semantic Kernel, supporting multi-agent orchestration, Azure integrations, and a built-in Dev UI for local debugging and tracing. The history provider pattern allows swapping SQL Server for any other data source, and the local setup can be migrated to Azure with a connection string change.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=KrqYxSZsPBE>

---

Tags: [#python](https://daily.dev/tags/python), [#ai-agents](https://daily.dev/tags/ai-agents), [#microsoft-sql-server](https://daily.dev/tags/microsoft-sql-server)

[View this post on daily.dev](https://daily.dev/posts/give-your-agent-memory-with-sql-server-and-microsoft-agent-framework-data-exposed-bxts53qvv)
