November 29, 2026

Omarchy agent resume reopens your coding agent session after a reboot

0

A new one-shot command lets your AI coding agent pick up right where it left off once you log back in, which makes it handy for debugging that needs a reboot.

GitHub card for omacom/omarchy pull request 20454, adding a one-shot omarchy agent resume for next login, by dhh

Image: omacom/omarchy pull request #20454 (GitHub)

Debugging a kernel, a driver, suspend or a crash with a coding agent usually ends the same way: you reboot and the conversation is gone. DHH merged a pull request on November 27, 2026 that adds omarchy agent resume, a one-shot command that reopens your coding agent on the next graphical login. It’s coming in the next version of Omarchy.

The command has three subcommands: omarchy agent resume set arms the resume, status shows what is armed, and off cancels it. With set you can choose the agent, point it at a working directory, and hand it a prompt for when it comes back, such as “Check kernel logs after reboot”, the example that ships with the command.

According to the PR, it arms a one-shot user systemd unit and keeps its settings in a private 0600 state file at ~/.local/state/omarchy/agent-resume.json. No root access is needed.

It won’t trap you in a loop either. The unit and the state file are removed just before the terminal launches, so the resume only fires once. If the agent needs yet another reboot, the resumed session can simply arm it again.

To make this work, omarchy agent itself gains --session <id> and --continue flags, plus a --check flag. Session resumption works through the shared launcher for agy, claude, codex, pi (including local-model overlays), opencode and kilo. Pass --session when you know the conversation ID, use --continue to rejoin the latest session in the working directory, or leave both out to start a fresh session with a handoff prompt.

The setup is checked up front: set runs omarchy-agent --check to make sure the agent and the requested session option are supported before anything gets armed.

The PR also documents the feature in Omarchy’s built-in agent skill and notes how it pairs with Passwordless Login: on encrypted disks, unattended reboots need it too. The docs tell agents never to turn that on without the user’s go-ahead.

Source: https://github.com/omacom/omarchy/pull/20454

Leave a Reply

Your email address will not be published. Required fields are marked *