---
title: "TanStack AI Memory Middleware - Air Market"
description: "A chat that forgets everything between turns is limited, but adding memory means wiring recall and saving correctly. This covers plugging memoryMiddleware into a chat() call: the adapter contract, ho…"
canonical: "https://airmarket.ai/app/tanstack-ai-memory"
---

[Air Market](/) / [Developer Tools](/category/devtools) / TanStack AI Memory Middleware

Skill by [TanStack](/@tanstack)

# TanStack AI Memory Middleware

Let a chat remember what came before, without wiring it by hand

## What this does

A chat that forgets everything between turns is limited, but adding memory means wiring recall and saving correctly. This covers plugging memoryMiddleware into a chat() call: the adapter contract, how scopes work and stay safe server-side, and choosing which store to use. Reach for it while doing that wiring.

### Top 3 things it does for you

- Add memory to my chat() call
- Pick a memory adapter for my setup
- Keep memory scopes safe on the server

## Information

**TanStack AI Memory Middleware at a glance**

|  |  |
| --- | --- |
| Kind | Skill |
| Publisher | [TanStack](/@tanstack) |
| Category | [Developer Tools](/category/devtools) |
| Works with | Agent Skills - an open standard supported by 40+ agents |
| Size | 4 KB |
| Licence | MIT |
| Repository | [TanStack/ai](https://github.com/TanStack/ai/tree/cc88874ecb0639daa1f8a8c32be5dcc9b2749371/packages/ai-memory/skills/tanstack-ai-memory) |
| GitHub stars | 3,020 (as of Nov 2026) |

## Security report

**Verified.** AIR scanned this exact version of TanStack AI Memory Middleware and flagged nothing. AIR's verdict: **safe**.

**What TanStack AI Memory Middleware's check was run against**

|  |  |
| --- | --- |
| Commit | cc88874ecb0639daa1f8a8c32be5dcc9b2749371 |
| Content hash | bab35c13e66fbac7b76de10053d34a31676c0ea27eaac59c69cb9ee784621423 |
| Files read | [Browse the files at this exact commit](https://github.com/TanStack/ai/blob/cc88874ecb0639daa1f8a8c32be5dcc9b2749371/packages/ai-memory/skills/tanstack-ai-memory/SKILL.md) |

A scan is named by the exact content it read, not by a version number. A different version is a different artifact, and nothing here applies to a version AIR has not scanned.

[Read the full security report for TanStack AI Memory Middleware](/security/tanstack-ai-memory)

## About TanStack AI Memory Middleware

This is for wiring memoryMiddleware from @tanstack/ai-memory into a chat() call.

It covers the recall/save adapter contract, the shape of scopes and server-side scope security, and the recall-inject and deferred-save lifecycle.

It also covers choosing an adapter - inMemory, redis, hindsight, mem0, honcho - and the devtools events that come with it.

## What's inside

- SKILL.md - instructions

## Questions

### Is TanStack AI Memory Middleware safe to install?

AIR scanned this exact version of TanStack AI Memory Middleware and flagged nothing. AIR's verdict: safe. The verdict is named by the content that was read, at commit cc88874ecb06, so it cannot drift onto a version nobody scanned. The full report is at https://airmarket.ai/security/tanstack-ai-memory.

### How do I install TanStack AI Memory Middleware?

Open https://airmarket.ai/app/tanstack-ai-memory on Air Market and use the install action: Air Market hands Claude a prompt naming this exact skill, and Claude sets it up. Source, pinned to the exact commit this listing describes: https://github.com/TanStack/ai/tree/cc88874ecb0639daa1f8a8c32be5dcc9b2749371/packages/ai-memory/skills/tanstack-ai-memory. Install from that link, not the branch.

## Related on Air Market

- [More Developer Tools listings](/category/devtools)
- [Everything by TanStack](/@tanstack)

---

Canonical URL: <https://airmarket.ai/app/tanstack-ai-memory>
