---
title: "Discussion on \"Run AI coding agents overnight on a MacBook\" | Hashnode"
description: "Discussion on \"Run AI coding agents overnight on a MacBook\". A checklist for one night alone: the closed lid, power, network, the permissions each agent needs, and how the agent ends the session."
url: "https://hashnode.com/posts/run-ai-agents-overnight-macbook/6af48f2ddc5da4dfb2afdff5"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Run AI coding agents overnight on a MacBook](https://keepmacawake.hashnode.dev/run-ai-agents-overnight-macbook?utm_source=hashnode&utm_medium=feed)

A checklist for one night alone: the closed lid, power, network, the permissions each agent needs, and how the agent ends the session.

15h ago · 13 min read · keepmacawake.hashnode.dev  
Read the article

-   [#macos](https://hashnode.com/tag/macos)
-   [#macbook](https://hashnode.com/tag/macbook)
-   [#claude-code](https://hashnode.com/tag/claude-code)
-   [#codex](https://hashnode.com/tag/codex)

## Written by

[Keep Mac Awake](https://hashnode.com/@keepmacawake)

@keepmacawake

  
[View profile](https://hashnode.com/@keepmacawake)

Guides to keeping a MacBook awake with the lid closed: pmset, sleep, agents and long jobs.

Keep Mac Awake is a Mac menu bar app and command line tool that keeps a MacBook awake with the lid closed for a session you start. These guides explain Mac sleep, pmset and long jobs with the lid closed, and first appear on keepmacawake.com.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
