Tory Labs

ondo / STAY AWAKE, STAY COOL

Lid closed, still awake.Too hot, time to rest.

Keep builds and downloads running with your MacBook closed. ondo watches temperature and power, and when things get risky it stops keeping the Mac awake and puts it to sleep.

$ brew install --cask su-record/tap/ondo

v0.1.0 · Free · Open source (MIT) · Apple Silicon · macOS 13 or later

The ondo menu

Close the lid without worrying.

01

Awake with the lid closed

Turn it on from the menu bar. Your MacBook stays awake when you close it, so builds, downloads and remote sessions keep going. The icon shows the current state.

02

Off on your schedule, to the minute

Set when to stop, such as in 1 h 30 min or at 07:30. When the time comes, ondo stops keeping the Mac awake and, if the lid is closed, puts it to sleep.

03

Live temperature

See CPU temperature in the menu. If a Mac’s sensors can’t be read, ondo says so and the other features keep working.

04

Overheat release

When the temperature stays above your limit (85°C by default), ondo alerts you and shows the three processes using the most CPU. If it doesn’t cool down, ondo stops keeping the Mac awake and puts it to sleep.

05

Power safeguards

If the charger is unplugged or the battery drops below your limit (20% by default) while the Mac is kept awake, ondo puts it to sleep.

06

Display off only

Turn off just the display from the menu while work continues.

Temperature shows as color in the menu bar.

The thermometer on the closed laptop in your menu bar shows CPU temperature. It is blue up to 40°C and moves through green, yellow and orange to red at the overheat limit (85°C by default). The mercury rises with it, so you can read it even if the colors are hard to tell apart. The temperature bar in the menu uses the same colors, and the laptop turns solid while ondo keeps the Mac awake.

30°C40°C50°C60°C70°C80°C90°C

It stops itself when it runs hot.

After 60 seconds above the limit, ondo alerts you and shows which programs use the most CPU. If the Mac still doesn’t cool down, ondo stops keeping it awake and puts it to sleep.

Limit 85°CWarnStop · sleep0 s60 s120 s

How ondo protects your Mac.

  1. 1

    Warn

    After 60 seconds (by default) above the limit, ondo sends an alert and lists the three processes using the most CPU.

  2. 2

    Release

    After another 60 seconds above the limit, ondo stops keeping the Mac awake. With the lid closed it sleeps right away; with the lid open you get an alert.

  3. 3

    Always restore

    Quit, crash or restart: the sleep setting always returns to normal.

Turn it on from a terminal, an AI or another app.

Beyond the menu, ondo takes requests three ways. Overheat and power protection apply to every one of them, and protection limits change only in the app’s settings.

Terminal command

Homebrew installs the ondo command with the app. For scripts it prints --json and returns exit codes: 0 ok, 2 app not reachable, 3 refused by protection.

$ ondo on --for 1h30m$ ondo status --json$ ondo wake --at 07:00

AI agents (MCP)

A built-in MCP server lets AI apps such as Claude Code, Claude desktop and Codex use ondo as a tool. Ask “keep the Mac awake until the build finishes” and the agent turns it on, then off.

$ claude mcp add ondo -- ondo mcp

Tools an AI can use: ondo_status, ondo_on, ondo_off, ondo_temperature, ondo_display_off, ondo_schedule_wake

Other apps (links)

ondo:// links turn it on and off from Shortcuts, Raycast or Alfred with one click.

ondo://on?for=2hondo://offondo://wake?in=30m

Only the permission it needs.

Keeping a closed MacBook awake means changing a system setting that requires administrator rights (pmset disablesleep). After you allow it once in System Settings, a small helper turns that one setting on and off and does nothing else. ondo doesn’t ask for your password each time or edit the sudoers file.

Temperature and battery readings stay on your Mac. ondo has no account and sends no usage data or sensor readings anywhere.

The source code is on GitHub under the MIT license.

Questions

Which Macs does ondo support?
ondo runs on Apple silicon Macs with macOS 13 or later. The app also contains Intel code, which has not yet been tested on an Intel Mac.
How is ondo different from Amphetamine?
ondo watches CPU temperature and power while it keeps your Mac awake. If the Mac overheats, the charger is unplugged or the battery runs low, ondo stops keeping it awake and puts it to sleep.
Why does ondo need administrator rights?
Keeping a closed MacBook awake means changing a system setting that requires administrator rights (pmset disablesleep). After you allow it once in System Settings, a small helper turns that one setting on and off and does nothing else. ondo doesn’t ask for your password each time or edit the sudoers file.
Can an AI agent turn ondo on and off?
With the ondo command, MCP or ondo:// links, terminals, other apps and AI agents such as Claude Code and Codex can turn staying awake on and off. Protection limits can only be changed in the app, so an agent cannot switch off overheat protection.

Put ondo in your menu bar.

v0.1.0 · Free · Open source (MIT) · Apple Silicon · macOS 13 or later

  1. Install with Homebrew, or open the DMG and drag ondo into Applications.
  2. Open ondo and its icon appears in the menu bar. The first time you turn it on, allow the ondo helper in System Settings › General › Login Items.
  3. Homebrew also installs the ondo command. If you used the DMG, copy the install command from Settings › External control.