OpenDMG
Modafinil icon

Modafinil for Mac

Menu bar tool to keep your device awake while AI agents run, with toggle and config.

By gigaptera. Free and open source.

Get it with OpenDMG View source on GitHub

Modafinil at a glance

Version
1.2.1
Released
8 June 2026
Download size
169 KB
Works on
Apple silicon and Intel
Category
Artificial Intelligence
Developer
gigaptera
GitHub stars
1

About Modafinil

Keep your Mac awake for AI agent workflows — macOS menu bar app

Screenshots

Modafinil screenshot 1

How to install Modafinil on a Mac

  1. Get OpenDMG. It is a free app store for open source Mac apps. Download OpenDMG.
  2. Search for Modafinil and press Get. OpenDMG downloads version 1.2.1 from gigaptera's own GitHub release.
  3. Open it. The download is checked against its SHA-256 fingerprint and its signature is checked on your Mac before it lands in Applications.

Updates to Modafinil show up in OpenDMG and install with one button. No account is needed.

Prefer to do it by hand? The developer's file is on GitHub: Modafinil-1.2.1.dmg (169 KB).

What is new in Modafinil 1.2.1

## Lid-closed (clamshell) mode

Modafinil can now keep a standalone MacBook awake with the lid closed.

Enable **Keep awake with lid closed…** from the right-click menu and approve the background item once in **System Settings → General → Login Items**. A root helper then toggles `pmset disablesleep` — the only mechanism that overrides clamshell sleep — and automatically clears it when prevention stops or the app quits/crashes. Replaces the previous best-effort `caffeinate` approach.

**Requirements:** macOS 14.0 Sonoma or later · Apple Silicon or Intel · Apple-notarized.

More Artificial Intelligence apps

All Artificial Intelligence apps