Understanding Current Codex Sessions
When a developer uses an AI assistant like OpenAI's Codex, they are working within a 'session'. Think of this like a conversation with a person who has a very sharp, but very short-term, memory. This memory is technically known as a 'context window'.
It holds the current conversation, code files you've opened, and other relevant data. The AI can see and reason about everything inside this window, but once the window is full, older information gets pushed out to make room for new data. The AI doesn't just ignore your earlier instructions; it literally cannot see them anymore. This is an architectural reality of how most large language models are designed to work today. Every new session is a blank slate, which is a feature for privacy but a friction for productivity.
The Problem with a Forgetful Assistant
The limitation of session-based memory creates significant friction for developers. They must constantly repeat themselves, re-explain project-specific rules, and paste the same code snippets to give the AI the context it needs to perform a task. This is especially challenging in large, complex enterprise codebases where crucial knowledge is fragmented across internal documents, past decisions, and the institutional memory of the team. The AI might generate perfectly functional code that violates an established architectural pattern it has no way of knowing about. This constant need to manually manage the AI's context interrupts a developer's workflow and ultimately limits the assistant's utility to smaller, isolated tasks rather than deep, complex work.
The Promise of a Persistent Mode
A 'Persistent Mode' represents the next evolutionary step for AI coding assistants. In late August 2026, code referencing such a mode was discovered in OpenAI's public repositories, with the company confirming it was a feature being tested. Unlike a standard session that ends, a persistent agent is designed to 'continue working until put to sleep'. The code describes a 'proactivity' feature where the agent can create its own follow-up tasks, work on them across sessions, and use knowledge from past user interactions to decide what to do next. This transforms the AI from a simple tool you command into a long-term project partner that maintains its own understanding of your goals and codebase over time.
Key Differences in Workflow and Capability
The distinction between these two modes is fundamental. A current Codex session is reactive; it responds to your prompts within its limited memory and then stops. A persistent agent would be proactive. According to the discovered code, it could message a user with updates and work on tasks in the background without being prompted. Current sessions struggle with multi-step, complex tasks because they can lose context midway through. A persistent mode, however, is designed for these longer-running jobs, remembering the project's state and goals across different work periods. While current models require developers to manually feed them context, a persistent model would build and maintain its own context, becoming more valuable the longer it works on a project.
The Story: Is True Persistence Here Yet?
While the code is real, OpenAI has emphasized that it has no immediate plans to launch Persistent Mode. The concept of a truly autonomous, proactive AI agent raises significant safety and control questions. The industry is actively working on solving the AI memory problem, exploring solutions like external databases and structured knowledge bases that assistants can query. Even with expanding context windows, research shows that model accuracy can decline when processing enormous amounts of information at once. The journey toward a truly persistent AI partner is still in progress. The emergence of a 'Persistent Mode', even in testing, signals a clear direction for the future of software development: a shift from developers commanding tools to collaborating with autonomous agents.














