Angelia

Koren Gast · Updated

How to run Claude Code 24/7 on your own machine

Claude Code is a terminal program. Close the terminal, let the laptop sleep, or reboot, and it is gone. To have it answer at any hour, three things must stay up: a process that runs Claude Code, a way to reach it, and the machine itself. This page goes through each one on a Mac. I use Angelia for the first two, which I built, so the commands below use it. The part about the machine applies whatever you use.

What has to stay up

Common ways to do the first two: tmux on the Mac with SSH from the phone, Anthropic's channels in a session you keep open, or a background program like Angelia. The four ways compared covers the differences.

1. The process: a service

curl -fsSL https://useangelia.com/install | sh
angelia service install

The first line installs Angelia and pairs a Telegram or WhatsApp chat (step by step). The second installs a macOS LaunchAgent. It starts Angelia when you log in and starts it again if it crashes.

Check it from the terminal with angelia status. The log is in ~/.angelia/daemon.log. It holds ids and errors, not your messages.

2. The machine: no sleep, back after a reboot

This is the part people forget. A sleeping Mac answers nothing.

An old Mac mini that stays home is the simplest choice. It uses little power and never goes into a bag.

3. Work it does without you asking

Running all day also lets the agent work on a schedule. A profile lists its jobs in angelia-jobs.yaml in its folder:

jobs:
  morning-card:
    schedule: "0 8 * * mon-fri"
    turn: "Check the open pull requests and tell me which need me."

Then run angelia jobs install. macOS runs each job as its own timer, and the answer comes to the chat. A job can also post a fixed message or run a script.

Updates and restarts

angelia update

It installs the newest signed release. Your profiles and chats are not touched. Send /restart in a chat, then /restart confirm, to restart from the phone.

What still stops it

Try Angelia

curl -fsSL https://useangelia.com/install | sh

It checks the release's signature, then a wizard pairs your first chat. Free and open source (MIT). How it works · Security model · GitHub