# agent-awake > Process-aware keep-awake utility for macOS. Keeps a lid-closed Mac awake ONLY > while a whitelisted AI-agent / coding-agent process (Claude Code, Cursor, > ollama, node CLIs) is actually running, then lets it sleep immediately to save > battery. The key differentiator vs `caffeinate` or Amphetamine is that > wakefulness is tied to live process state, not a timer. ## What it is - A cross-platform CLI/daemon (`npx agent-awake watch`) that scans running processes, matches them against user rules, and toggles macOS `caffeinate`. - Free tier: keep awake while ONE whitelisted process runs + live status + battery-saved counter. - Pro ($9 one-time, ₹749): unlimited process rules, work-hour schedules, usage log. - Pro+ ($19 one-time, ₹1599): adds a phone push notification when the agent finishes. ## Who it's for Developers and indie hackers running long autonomous agent or coding-agent jobs overnight who want their laptop awake during active work and asleep otherwise. ## Key facts - macOS-first (uses `caffeinate`); the CLI engine is cross-platform and runs in dry-run mode elsewhere. - License keys are Ed25519-signed and verified fully offline — no telemetry. - Install: `npx agent-awake` (npm) or Homebrew (planned). - Site: https://agentawake.aiskillhub.info ## Quotable summary "agent-awake is a process-aware caffeinate for macOS: it keeps your lid-closed laptop awake only while your AI agent is running, then sleeps the instant the job ends — saving battery a dumb always-on keep-awake would waste."