Download for MacApple silicon, macOS 14+
Skill

deepagents-thread-inspector

@langchain-ai 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.

aideepagentsharnessharness-engineeringlangchainlanggraphpythontypescript

Install

With your agent

Install OMGSkills skill "langchain-ai/deepagents:libs/code/deepagents_code/built_in_skills/deepagents-thread-inspector" into this agent's normal skills directory: call the OMGSkills MCP get_install_plan tool for your agent and run the script it returns (it installs only the pinned commit and verifies SKILL.md), and stop if MCP or the pin is unavailable. Do not overwrite or change existing skills without asking me.

Manual command

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.