Codex + GPT-6 Astra: Persistent Notes to Keep Context Across Windows
Melvin Vivas · X post · 2026-09-05 · Open on X
Topics: Prompt & Context Engineering, AI Agents, Tool Use & MCP, AI Dev Tools & Productivity · Level: intermediate
Summary
The creator shares a quoted announcement that Astra brings a new way for Codex to keep and retrieve context when the context window fills up. Instead of repeatedly squashing the history into one summary, Astra keeps notes across context windows so details that build up over a session aren't lost. This is a useful pattern for anyone managing context in long-running coding agents.
Key points
- When a context window fills, the usual approach is to compress the history into a single summary, and details are lost each time.
- With Astra, Codex keeps notes across context windows, so accumulated details survive without being repeatedly re-summarized.
- Takeaway for context engineering: long agent sessions benefit from external, persistent notes (a form of memory) rather than only rolling summaries.
- The post only quotes the announcement and points to a follow-up post. No setup steps are given.
Resources mentioned
- OpenAI Codex · tool · openai.com · paid
OpenAI's coding agent. In the diagram it writes code, fixes review findings and drives the build loop. The creator also used it to make this video.
Also in: An agent bot that installs and drives Codex on its own (Melvin Vivas on X · notes), Asking a Coder bot to install Codex (Melvin Vivas on X · notes), Sign in with ChatGPT: Setting Usage Limits for Each App (Melvin Vivas on X · notes), Codex Cloud Environments Must Be Saved & Published Before Use (Melvin Vivas on X · notes) and 240 more - GPT-6 Astra · tool · openai.com · paid
The model announced in the quoted launch post, pitched as the developer's most capable model for work, coding, science and cybersecurity, and able to operate a computer.
Also in: Customizing Your Coding Setup with Pi Coding Agent Extensions (Melvin Vivas on X · notes), Pi Agent Council: Ask Multiple LLMs in Parallel and Compare Their Advice (Melvin Vivas on X · notes), Use GPT-6.1 Sol by Default, Save Astra for Emergencies (Melvin Vivas on X · notes), Dots in ChatGPT: always-on AI agents that you hand responsibilities to (Melvin Vivas on X · notes) and 49 more
Try this
- Read the creator's follow-up post for the actual Codex context-preservation tips.
More in Prompt & Context Engineering
- How to Prompt GPT-6 Astra in Codex: Simpler Instructions, Leaner AGENTS.md
- OpenAI Guide: Rethinking Skills and Prompts for GPT-6 Astra
- Codex Losing Task Context After Compaction
- MiniMax H3 Official Video Prompt Writing Guide
- Context Management in Coding Agents: /compact vs /clear vs /handoff
- Better Frontend UI from GLM 5.2 with a Design Skill in Claude Code