Pinned Threads
person concept tool org talk claim — click a node to jump to its page; hover an arrow for the relation
A workflow pattern in OpenAI Codex where conversation threads are pinned, named, and configured with automations so that they persist as long-running, semi-autonomous agent contexts rather than ephemeral chat sessions.
Core Design Pattern
Jason Liu advocates pinned threads as the fundamental unit of ongoing agent work in Codex. The key insight is that a pinned thread, combined with a scheduled heartbeat automation, creates something that feels less like a chatbot session and more like a persistent teammate: "your pinned threads with automations, these things that wake up these threads over time, they're going to feel like teammates." →
For project-oriented work, Liu recommends a simple naming convention to make threads queryable and addressable: "just pin the thread, rename it to the project ID, and that project thread should be able to delegate to sub agents." →
Inter-Thread Communication and Orchestration
A critical enabling capability is that pinned threads can discover and message each other using list-thread and send-message tools, removing the need for human coordination: "now that threads can talk to each other, so every thread has the ability to list other pin threads." → This allows a manager-level thread to orchestrate sub-agent threads without human intervention, forming a lightweight multi-agent architecture inside Codex.
Chief-of-Staff Pattern
Liu identifies the "chief of staff" thread as the highest-value application of pinned thread automations: a single thread triggered daily (e.g., at 8 AM) that checks all connected data sources and surfaces the most important information for the day. →
Points of Disagreement
Superseded advice on thread longevity: Prior conventional wisdom held that users should start a new thread after roughly 20 messages to avoid context degradation. Liu explicitly rejects this: "Those things basically aren't true anymore. And a lot of it has to do with compaction." → Improved context compaction in Codex makes long-lived pinned threads viable in a way they previously were not, underpinning the entire pinned-thread-as-teammate pattern.