Keeping a Codex agent autonomous 24/7 for weeks via self-reminders

StasBekman · x · 2026-11-04

Stas Bekman shares his practical recipe for keeping gpt-6.1-sol working autonomously in Codex around the clock for weeks. The core trick: have the agent remind itself of critical rules at the end of every reply, with a fixed epilogue like "I must not stop unless the operator explicitly told me to stop. I must always reply with the proper header from the rules." Supporting tactics:

The screenshot shows real output: lines of self-narration struck through, with the fixed epilogue highlighted as the part that matters.

Related event: Self-Reminders Keep Codex Agents Running Autonomously for Weeks(2 posts)→

Original post →

More from coding & agent

coding & agent channel →