Skip to main content

Leave an agent working

Use this when a task will outlast your time at the desk. The goal is to leave a clear finish line and a safe path for the agent to ask for help.

Bound the task before you leave

Choose work with a result you can verify later: a test-backed fix, a report, a focused refactor, or a migration step. Avoid open-ended cleanup and decisions that need product judgment.

Tell the agent what it owns, what it must not touch, which checks to run, and when to stop and ask. Keep the session supervised unless its likely permission prompts are routine and the task has a narrow blast radius.

If a follow-up should begin only after this session finishes, press ⌘⇧R and configure Run next…. Don't start two dependent agents at once and hope they finish in the right order.

Prepare Saggar

Before leaving:

  1. Confirm the session is Working and has the right project or worktree.
  2. Put any server or watcher in the monitor dock.
  3. Enable the local notifications you want in Settings ▸ Notifications.
  4. If you need remote access, pair the Saggar phone app and confirm the Mac is reachable.
  5. Leave the Mac awake, online, with Saggar running, and keep the lid open.

Closing the lid sleeps the Mac. Remote control can't wake it because the Mac dials the relay and never listens for inbound connections.

Respond away from the Mac

The phone app shows the same session states and can notify you when a grant-owned alert arrives. Open the waiting session, read the prompt in context, and answer only when the choice is clear. Interrupt a runaway session rather than steering it through a risky decision from a small screen.

Direct terminal input requires a grant with drive access. Answering supported prompts requires approve. Saggar enforces those capabilities on the Mac.

Follow Control Saggar remotely before relying on this workflow for the first time.

Review when you return

Remote completion is still only a handoff. Back at the Mac, inspect dirty work, read the final output, and run any checks that need your local environment. Close the session or worktree only after the result has somewhere durable to live.