# Add storage caps for Cursor's chat agent database

**URL:** <https://forum.cursor.com/t/add-storage-caps-for-cursors-chat-agent-database/176074>\
**Category:** Feature Requests\
**Tags:** performance, chat\
**Created:** [October 25, 2026, 7:14am UTC](https://forum.cursor.com/t/add-storage-caps-for-cursors-chat-agent-database/176074 "2026-10-25T07:14:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![celebrity\_entertainm](https://avatars.discourse-cdn.com/v4/letter/c/eb9ed0/32.png) [@celebrity\_entertainm](https://forum.cursor.com/u/celebrity_entertainm)\
**Post date:** [October 25, 2026, 7:14am UTC](https://forum.cursor.com/t/add-storage-caps-for-cursors-chat-agent-database/176074/1 "2026-10-25T07:14:23Z")

</div>

### Feature request for product/service

Cursor IDE

### Describe the request

## Problem

With heavy overnight Agent use and many subagents, Cursor’s local SQLite DB (`state.vscdb` under globalStorage) grew to ~100GB+ from agent chat history, KV blobs, and checkpoints. Disk fills up. Archiving or deleting project media does not free that space, because growth is in the global chat/agent DB—not the project tree.

## Request

Configurable storage management for the chat/agent DB, analogous to worktree disk controls:

1. Size cap (e.g. 50–60GB) with automatic purge of oldest chats/blobs when exceeded, and/or
2. Time-based retention with automatic GC

## Today

Only manual: Delete Old Chats… then GC Agent KV Blobs. Worktrees have size/cleanup controls; chat DB does not. Auto-expire is on the backlog with no ETA — please prioritize a user-facing cap + auto-purge.
