# deepagents-thread-inspector

> Claude/Codex skill by [@langchain-ai](https://omgskills.com/library/langchain-ai/index.md) · 31k stars · Updated 2026-10-28

Inspect and explain conversations in the local Deep Agents Code SQLite session store. Use to look up the current thread's title or name, as a fallback when LangSmith trace tooling is unavailable, for offline or untraced sessions, or when asked to identify or summarize a local dcode thread, inspect checkpoint metadata, list recent local threads, or parse $DEEPAGENTS\_HOME/.state/sessions.db and a thread UUID or prefix.

Tags: ai, deepagents, harness, harness-engineering, langchain, langgraph, python, typescript

## Install

```sh
git clone https://github.com/langchain-ai/deepagents /tmp/deepagents && ln -s /tmp/deepagents/libs/code/deepagents_code/built_in_skills/deepagents-thread-inspector ~/.claude/skills/deepagents-thread-inspector
```

## From README

Deep Agents Thread Inspector For conversation inspection, prefer LangSmith tooling when available for a traced thread. For saved thread titles, use the local store. Use scripts/inspectsessions.py instead of manually decoding database blobs. It opens the database read-only and deserializes the root message channel with LangGraph's strict MsgPack loader — reading the materialized messages from the latest checkpoint, or replaying writes in checkpoint order when that fast path is unavailable — and emits JSON. Look up the current thread's title Call getcurrentthreadid to identify this conversation, then run the script with that ID and --mode summary as shown below. Read thread.threadname: it contains the saved title, including manual renames, with a fallback to the latest root checkpoint's name for older stores. If it is null, report that the thread has no saved title.

## Links

- HTML page: https://omgskills.com/skills/langchain-ai/deepagents/libs/code/deepagents_code/built_in_skills/deepagents-thread-inspector/
- GitHub: https://github.com/langchain-ai/deepagents
- Author: [@langchain-ai](https://omgskills.com/library/langchain-ai/index.md)

## More from this repo

- [code-review](https://omgskills.com/skills/langchain-ai/deepagents/code-review/index.md) — Perform a structured code review of changes, checking for correctness, style, tests, and potential issues.
   - [@langchain-ai](https://omgskills.com/library/langchain-ai/index.md) · 31k stars
- [skill-creator](https://omgskills.com/skills/langchain-ai/deepagents/libs/code/deepagents_code/built_in_skills/skill-creator/index.md) — Guide for creating effective skills that extend agent capabilities with specialized knowledge, workflows, or tool...
   - [@langchain-ai](https://omgskills.com/library/langchain-ai/index.md) · 31k stars
- [coding-prefs](https://omgskills.com/skills/langchain-ai/deepagents/coding-prefs/index.md) — Read the user's coding preferences from /memory/coding-prefs.md before making non-trivial style decisions, and append...
   - [@langchain-ai](https://omgskills.com/library/langchain-ai/index.md) · 30k stars
