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.
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

How to install Modafinil on a Mac
- Get OpenDMG. It is a free app store for open source Mac apps. Download OpenDMG.
- Search for Modafinil and press Get. OpenDMG downloads version 1.2.1 from gigaptera's own GitHub release.
- 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
-
CodexBarShow usage stats for OpenAI Codex and Claude Code, without having to login
-
CodeBurnTracks token usage, cost, and performance across 25 AI agents with per-task breakdowns
-
OsaurusLocal LLM server and AI infrastructure with menu bar, CLI, and shared tools
-
QuotioAI subscription manager with quota tracking and automatic failover
-
Claude Usage TrackerTrack the usage of Claude Code
-
VibeProxyMenu bar app to use existing Claude, ChatGPT, and other subscriptions with AI coding…