Skip to content

Editing Messages

While the agent is running, you can compose and queue additional messages. They will be delivered to the agent one at a time, in the order they were queued, after the agent finishes its current turn. This lets you:

  • Line up several follow-up instructions without waiting for each one to complete.
  • Change your mind and edit or remove a queued message before it is acted on.
  • Send a message immediately, skipping the queue, if you need the agent to act on it right away.

Queued messages are persisted to disk (queued_messages.json inside the task directory), so they survive a reload.

Editing a Sent Message (Checkpoint Restore)

Section titled “Editing a Sent Message (Checkpoint Restore)”

If the agent has already acted on a message you want to change, use the checkpoint restore flow instead. This rewinds both the conversation history and the file state to the point just before that message was processed, then lets you re-send a revised version.

See Checkpoints for details.