# Application AI Assistant: Memory Panel

A header switch and ruled list of remembered facts, each with its source, date, and a forget button, above a permanent deletion note.

- Page: https://www.shadcn-ui-blocks.com/blocks/application-pro/ai-assistant/memory-panel
- Collection: [Application](https://www.shadcn-ui-blocks.com/blocks/application-pro), Standard tier
- Group: [AI Assistant](https://www.shadcn-ui-blocks.com/blocks/application-pro/ai-assistant)
- Created: 2026-07-10
- Preview image: https://www.shadcn-ui-blocks.com/blocks/application-pro/ai-assistant/memory-panel.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/application-pro-ai-assistant-memory-panel
```

Needs an API key from a Pro or Team plan: add `@shadcn-ui-blocks` to the registries in components.json with the key as an `Authorization: Bearer` header. Setup: https://www.shadcn-ui-blocks.com/docs/shadcn-cli. The MCP server installs it without the setup: https://www.shadcn-ui-blocks.com/docs/mcp.

## Depends on

- npm packages: class-variance-authority, lucide-react, radix-ui
- shadcn/ui components: badge, button, switch
- Installs to: `@/components/blocks/application-pro/ai-assistant/memory-panel`

## About this block

Memory Panel is the management view for the details an
assistant has remembered about a user. A header pairs the
saved count with a switch that pauses new memories, and five
ruled rows follow, each showing the remembered fact, where
and when it was learned, and a forget button. The newest row
carries a New badge. A footer is precise: forgetting a detail
deletes it permanently, so it never appears in another answer
or in an export.

Memories live in one array with an optional isNew flag that
drives the badge. Stating the source and date on every row is
what lets a user judge whether a remembered fact is still true
before deciding to keep or forget it.

## When to use

Reach for this block in assistant settings or a profile drawer
whenever the product remembers facts across conversations.
Pair the forget button with a confirmation before calling your
delete API, and wire the header switch to your consent flag.

A natural flow around it on an Application Pro page:

**Before**

- [Assistant chat panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/ai-assistant)

**After**

- [Settings pages](https://www.shadcn-ui-blocks.com/blocks/application-pro/settings-pages)

## What you can display

One strong use is the assistant memory manager. Other remembered
detail lists:

- **Personalization profile.** Preferences the product infers,
  each with the signal it was learned from.
- **Saved context for agents.** Standing facts an automation
  reuses, with the thread that supplied each one.
- **Privacy dashboard.** Stored attributes a user can review
  and clear one row at a time.

> Tip: always name the source of a remembered fact; an
> unexplained memory reads as surveillance, not help.

## More in Application AI Assistant

- [Action Approval Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/ai-assistant/action-approval-card)
- [Agent Run Trace](https://www.shadcn-ui-blocks.com/blocks/application-pro/ai-assistant/agent-run-trace)
- [Ai Usage Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/ai-assistant/ai-usage-card)
- [Assistant Chat Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/ai-assistant/assistant-chat-panel)
- [Assistant Empty State](https://www.shadcn-ui-blocks.com/blocks/application-pro/ai-assistant/assistant-empty-state)
- [Citations Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/ai-assistant/citations-panel)
- [Context Sources Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/ai-assistant/context-sources-panel)
- [Conversation History List](https://www.shadcn-ui-blocks.com/blocks/application-pro/ai-assistant/conversation-history-list)
- [Feedback Thumbs Row](https://www.shadcn-ui-blocks.com/blocks/application-pro/ai-assistant/feedback-thumbs-row)
- [Guardrails Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/ai-assistant/guardrails-panel)
- [Inline Suggestion Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/ai-assistant/inline-suggestion-card)
- [Model Picker Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/ai-assistant/model-picker-card)
- [Prompt Composer](https://www.shadcn-ui-blocks.com/blocks/application-pro/ai-assistant/prompt-composer)
- [Prompt Library Grid](https://www.shadcn-ui-blocks.com/blocks/application-pro/ai-assistant/prompt-library-grid)
- [Response Compare](https://www.shadcn-ui-blocks.com/blocks/application-pro/ai-assistant/response-compare)
- [Scheduled Agents List](https://www.shadcn-ui-blocks.com/blocks/application-pro/ai-assistant/scheduled-agents-list)
- [Thread Summary Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/ai-assistant/thread-summary-card)
