How an OpenAI Engineer Maximizes Codex: Long-Running Threads, Voice Input, and Autonomous Workflows
OpenAI Codex team member Jason Liu shares his advanced workflow for turning Codex into a persistent, autonomous agent using cross-month threads, voice-driven tasks, Heartbeats scheduling, Goal mode, and local Obsidian-based memory — moving beyond chat-style usage to continuous, verified automation.
Reading font

Let It Run Continuously
Jason Liu, author of the 13k-star Instructor library and recent OpenAI Codex hire, treats Codex not as a chat tool but as a long-running work system. Instead of single-session chats, he maintains persistent threads that survive for months — one for calendar, one for open-source projects, one for social monitoring — accessible via Command-1 through Command-9. These threads accumulate months of context, preferences, and decisions, so the agent resumes work without re-briefing.
He prefers voice input over typing, arguing that speech preserves raw, unstructured thought — including vague, jumping, or traceable ideas — without prompt engineering overhead. Combined with Codex's Steering feature, he can interject new instructions mid-execution and walk away.
Heartbeats + @computer: Scheduled Autonomous Execution
The core of his automation is Heartbeats (a cron-like scheduler) paired with @computer (GUI control). A "Chief of Staff" thread runs every 30 minutes: it scans Slack and Gmail, prioritizes messages, drafts replies (but does not send), and awaits human approval.
For a video project, he posts renders to a Slack review thread and sets Codex to check every 15 minutes. When feedback appears, Codex re-renders and replies. Because the Slack MCP server lacks file upload, Codex uses @computer to click "Add file" and upload the new version.
In one instance, he tasked Codex to monitor an Amazon support queue before a shower; by the time he returned, the refund was processed. Similar loops now cover Google Docs comments, GitHub PR reviews, and any feedback-driven workflow.
Verification Mechanisms: The Stop Condition
Jason emphasizes that ambition without verification is just wishful thinking. He tasked Codex with porting Python's Rich library to Rust with a hard requirement: pass all original Python unit tests. Test success = task complete; failure = agent keeps fixing. This closed-loop validation is essential for autonomous operation.
OpenAI's new Goal mode (now out of experimental) formalizes this: give a goal and acceptance criteria, and Codex drives toward it for hours or days, with progress checks and pause/resume control. The prerequisite remains a clear, verifiable feedback loop.
Memory in Your Hands, Not the Platform's
Jason rejects platform-locked memory. All long-term context lives in a local Obsidian vault structured as TODO, people, projects, agent, notes. An AGENTS.md file mandates that any change — personnel updates, project progress, task completion — syncs to the vault. This gives full control: readable, editable, version-diffable, and rollback-capable.
He views Codex's built-in Chronicle (screen-capture context) as promising but immature — limited by permissions, rate limits, and privacy. The filesystem remains the most reliable memory infrastructure.
Evolving Workbench: Sidebar, Browser, Reusable Skills
Codex's sidebar now renders Markdown, tables, PDFs, and PPTs. An embedded browser lets agents control pages via JavaScript; users can annotate side-by-side without window switching. Jason often runs Storybook, Remotion Studio, and Slidev simultaneously in the panel.
His preferred deliverable: a single self-contained index.html with JS/CSS — no deploy, no server, runs instantly.
He packages successful workflows as Connectors and Skills — reusable templates so Codex doesn't relearn repeated processes.
Recent updates add remote persistence: Codex continues working after screen lock, with mobile monitoring, approval, and takeover. The result: you clock out, it clocks in.
For questions about attribution, corrections or content rights, please contactand we will review it promptly.