Reverse-engineering ChatGPT's memory: 4 layers, no vector DB, no RAG
HowDevelop · x · 2026-09-02
Developer Manthan Gupta reverse-engineered ChatGPT's memory system through conversation experiments and published it as the first of a 7-part blog series on agentic memory, covering ChatGPT, Claude, Hermes, OpenClaw, and voice-agent memory designs.
Key finding: ChatGPT's memory is far simpler than expected — no vector databases, no RAG over conversation history. Its context has six slots: system instructions, developer instructions, ephemeral session metadata, long-term user memory, summaries of recent chats, and the current session window.
Memory splits into four layers: ephemeral session metadata (device, browser, location, subscription tier), explicit long-term facts (the author found 33 stored facts about himself), lightweight summaries of past conversations, and a sliding window of the current chat. He argues this layered direct-injection approach may beat traditional retrieval systems. All findings come from behavioral reverse-engineering; OpenAI hasn't published these details.
More from coding & agent
- Salesforce research: buyer agents concede too easily, images boost persuasion ~17% — msrivastav13 · 2026-12-05
- Grok Build launches agent-driven post-quantum cryptography migration after NSA advisory, with $1,000 credits — ns123abc · 2026-12-05
- Seroter's reading list: post-quantum prep, agent harnesses, and life after 99% AI code — rseroter · 2026-12-05
- WSDM Cup 2027 Offers $10k to Build Autonomous Community Notes Agents — sanmikoyejo · 2026-12-05
- Trying Copilot Studio MCP for agent cloning and Power Automate sync: janky but workable — koltregaskes · 2026-12-05
- xAI launches Grok Bot: autonomous AI teammates that live in Slack and Teams — Baconbrix · 2026-12-05