Docs · Operate runs

tempergraph stop

Ask a live run to stop.

Examples#

shell
tempergraph stop <thread>         # drain: stop after the current step
tempergraph stop <thread> --now   # stop now

A stopped thread shows in tempergraph status as unfinished with its resume command, and tempergraph resume <workflow> <thread> with no --decision continues it.

usage
tempergraph stop [-h] [--now] [--caller {person,agent,pipeline,orchestrator,scheduler,engine}] [--as-agent] [--caller-app CALLER_APP] [--relayed] selector
ArgumentWhat it is
<selector>the thread: <workflow>/<task id>, or its alias
OptionWhat it does
--nowstop the open session now instead of draining
--caller {person,agent,pipeline,orchestrator,scheduler,engine}who is calling: person, agent or pipeline (the others are kept for the engine's own supervisors); a declaration can only lower trust
--as-agentthe same as --caller agent
--caller-app CALLER_APPthe name of the calling agent or pipeline application, recorded with the call
--relayedthe decision is a person's, carried by an agent; checked against the person's last turn

Edit this page on GitHub · engine 0.9.0