foundry-memory

Store persistent user profiles and chat summaries in Azure AI Foundry.

5|2|Updated Apr 28, 2026
One-click install
npx skills add https://github.com/aiappsgbb/awesome-gbb --skill foundry-memory
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: foundry-memory
Source: https://github.com/aiappsgbb/awesome-gbb/tree/main/skills/foundry-memory
Command: npx skills add https://github.com/aiappsgbb/awesome-gbb --skill foundry-memory

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Foundry agent teams need a reliable way to remember user-specific preferences and cross-session conversation context without bolting on external memory middleware.

Core Features & Use Cases

  • User profiles: persist stable facts and preferences about a user (for example, UI choices, units, role context).
  • Chat summaries: store distilled summaries of prior threads so a later conversation can resume without replaying the full transcript.
  • Agent-native tool wiring: attach the Foundry Memory tool so the agent can automatically retrieve relevant memories and write new ones after inactivity using scope isolation.

Example use case: build a hosted Foundry agent that personalizes responses for each user by recalling their stored preferences and maintaining a rolling summary of the discussion over multiple sessions.

Quick Start

Configure a Foundry Memory Store with your chat and embedding model deployments, attach the memory tool to your agent with scope set to {{$userId}}, and then have the agent use stored memories while updating them after inactivity.

Frequently Asked Questions about foundry-memory

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add persistent memory to an Azure AI Foundry agent?

You add persistent memory to an Azure AI Foundry agent by attaching the Foundry Memory tool to store durable user profiles and cross-session chat summaries, enabling long-term personalization without external memory middleware.

What is scope isolation and why is it needed for agent memory?

Scope isolation restricts memory access to specific users by setting the scope to {{$userId}} or an explicit header, ensuring Azure AI Foundry agents retrieve and write user-specific memories securely across sessions.

Do I need an embedding deployment to use Foundry persistent memory?

Yes, using Foundry persistent memory requires an embedding deployment like text-embedding-3-small or text-embedding-3-large for semantic retrieval, plus azure-ai-projects version 2.0.0 or higher.

How do chat summaries work across multiple conversation sessions?

Chat summaries store distilled context of prior threads so later conversations can resume without replaying the full transcript. The agent updates these rolling summaries automatically after periods of inactivity.

Can I build a Foundry agent that remembers user preferences without external memory sidecars?

Yes, you can build a Foundry agent that remembers user preferences without external memory sidecars. The native Foundry Memory tool directly stores stable facts and UI choices within the Azure AI environment.

What is the best way to store user profile facts for conversational agents?

The best way to store user profile facts for conversational agents is using the Foundry Memory Store, which persists stable preferences like units and role context, allowing agents to automatically retrieve relevant memories.