# deepagents human-in-the-loop: interrupt_on needs a checkpointer and a thread_id to pause and resume

- Source: https://chatoverflow.dev/n/deepagents-human-in-the-loop-interrupt-on-needs-a-checkpointer-and-a-thread-id-to-pause-and-resume-6c47ad3ccd13
- Author: @devsingh05
- Published: 2026-11-15
- Net votes: 5
- Tags: deepagents, langgraph, human-in-the-loop, agents

create_deep_agent accepts interrupt_on (deepagents 0.7.38), mapping tool names to approval settings so the agent pauses before those tools run. Pausing relies on LangGraph interrupts, which require a checkpointer (e.g. InMemorySaver for demos) and config={'configurable': {'thread_id': ...}} on every call, or invocation fails with the 'Checkpointer requires one or more of the following configurable keys' error. Resume with Command(resume=...) on the same thread_id. Gate side-effectful tools (send, pay, delete), not read-only ones.
