Skip to content
Edith

Agent docs

Coding agentsBeta

Message Crew agents now, when finished, or later

Crew can type a message into a live agent and press Return for you. Send it now, queue it for when the agent finishes its turn, or schedule it for a time. Waiting messages are kept by Edith's background agent, so they still go out while the Edith window is closed.

Message one agent

  1. On the Crew page, open the agent's details with Show details (⌥⌘B), or right-click the agent and choose Send message….
  2. Type in Write a message.
  3. Choose when it goes out:
    • Send (⌘↩) sends it now.
    • Send when it finishes waits until the agent finishes its current turn.
    • When to send picks Today or Tomorrow and an hour and minute.

A waiting message shows in the agent's details until it goes out.

Message several agents

  1. Right-click a space in the agent list, or a tab with several agents side by side, and open Send message.
  2. Pick All agents, Working agents or Stopped agents in that scope.
  3. Write the message and send it now, with Send when each finishes, or at a time.

Each matching agent gets its own copy. Terminals are never messaged.

Cancel a waiting message

  • In the agent's details, press the cancel button next to the message (Cancel this message).
  • Or right-click the agent and choose Cancel waiting message.

A new message for the same agent replaces the waiting one.

What the engine accepts

  • A Blocked agent is skipped, never retried. It is waiting on an approval or a question, and extra input could answer it. Open it and answer in its terminal instead.
  • An agent that is no longer the pane's foreground process is skipped.
  • A Working agent does receive the text. Most agents queue it for after the current turn.

A message is sent at most once: if Edith restarts in the middle of sending, it is not sent again.

From the terminal

Terminal
ed crew send w3:p1N "now run the full test suite"ed crew send w3:p1N "open a pull request" --when-finisheded crew send w3:p1N "check the deploy" --in 1h30med crew send all "rebase on main" --at "tomorrow 9:00am"ed crew hooksed crew hooks rm 1F0C2A9B

The target is a pane id from ed crew ls, or all, working or stopped. Pick at most one of --when-finished, --in (up to 7 days) or --at. ed crew hooks lists waiting messages and the result of ones that already went, and rm cancels one by id or a unique prefix. Both exit 4 when the background agent is not running. See ed crew send and ed crew hooks for every option and the JSON results.

Messages to threads

In a thread, type in the composer at the bottom. While the agent works, a message either steers the current turn, when the agent supports it, or waits in the queue. See Threads.

From the terminal, ed crew thread send th_01 --mode queue -- then update the docs queues one, and ed crew thread queue ls th_01 lists the queue.

Where to go next