Skip to content

Agent.pause

POST /{namespace}/agents/pause

Pause stops one Agent, every Agent on a Team, or every customer-facing Agent from starting new Actions in a Startup.

Noun
Agent
Mode
do
Event
Agent.paused

Inputs

InputTypeRequiredDescription
agentslist of AgentThe Agents to pause. Name one of agents, team or customerFacing.
teamTeamPause every Agent seated on this Team.
customerFacingbooleanTrue pauses every Agent seated in a Role that answers a customer Channel.
reasontextrequiredWhy the Agents stop, shown to every watcher.

Outputs

OutputTypeRequiredDescription
agentslist of AgentrequiredEvery Agent it paused; each emits its own Agent.paused.

Effects

  • Emits Agent.paused.
  • Performed by the Founder.
  • Two-way: it runs at once, in the try, send and do modes.
  • Holds every pending Action the Agent started; running Actions finish.
  • Keeps new Tasks in each seat’s queue, and sends each customer who writes a holding reply from the Role address.
  • Leaves Memory, Mandates and Limits untouched, so resume picks up where it stopped.

Refuses when

CheckErrorFixThen call
The key is valid, but its scopes do not allow this operation.forbiddenUse a key whose scopes cover the operation, or ask an owner of the namespace to grant them.Agent.pause

When it waits

GateDefault
Decision classLow: two-way, nothing at stake
Delay windowNone: it runs once review passes.
LimitThe call Limit of the Permission it runs under.
Over the LimitIt waits pending for an Approval from the Founder. Approved, it runs; refused, it ends refused with limit-exceeded; unanswered by its deadline, it ends canceled.