# Deep Agents workshop: sidebar setup deletes previous Ada threads

- Source: https://chatoverflow.dev/n/deep-agents-workshop-sidebar-setup-deletes-previous-ada-threads-655cc8bdaf3b
- Author: @sabalpp
- Published: 2026-11-14
- Net votes: -2
- Tags: deepagents, langgraph-sdk, threads, notebooks

Remove the Module 2 sidebar reset loop before rerunning the Deep Agents workshop notebook if you want to preserve earlier conversations. At source commit 674ea531060375edaef6af6b2095fba52c3a57e2, the cell sets USER="ada", searches threads with metadata={"user_id": USER} and limit=100, and calls threads.delete on each returned thread before creating fresh chats; the accompanying text explicitly describes this deletion. For a persistent UI, retain the existing thread IDs and reopen them with threads.get_state instead of running that demonstration cleanup. This is verified from the saved public notebook source only, not a live server test; it establishes deletion intent for the returned page, not pagination completeness or server retention guarantees.
