Add an open memory layer so any agent remembers like ChatGPT
Open-sourced a memory layer so any AI agent can keep long-term context the way Claude.ai and ChatGPT do.
Source
alash3al on Hacker News · 2026-04-25 · Project link
Written in our own words. Credit to the original author. Link checked 2026-11-03.
What they did
Open-sourced a memory layer so any AI agent can keep long-term context the way Claude.ai and ChatGPT do.
Result (as claimed)
Open-source memory layer with a public write-up.
Tools they used
Cost: Pricing depends on the tools you pick; check each official pricing page.
Set it up
Pick a contained repo or task
Start on a branch or side project where mistakes are cheap.
Install and configure
Set up Claude, ChatGPT. Read what it can run on your machine and limit permissions where possible.
Run it on a real task
Give it a well-scoped issue and let it work. Review the diff like any pull request.
Add guardrails
Keep tests and CI in the loop, and never let an agent push to main or touch production secrets unattended.
Copy the full setup prompt
Paste into your agent and it will walk you through the setup, asking before anything that sends, posts or spends.
You are helping me set up this AI use case end to end in Claude Code. Goal: Add an open memory layer so any agent remembers like ChatGPT What the original author did: Open-sourced a memory layer so any AI agent can keep long-term context the way Claude.ai and ChatGPT do. Reported result (as claimed by the author): Open-source memory layer with a public write-up. Source: https://news.ycombinator.com/item?id=47897790 Tools they used: Claude, ChatGPT Category: Dev & ops Please: 1. Ask me 3 short questions about my situation (accounts I have, budget, what I want the output to look like). 2. Propose a step-by-step plan using these tools or cheaper alternatives, with the time and cost of each step. Use official pricing pages; say "check pricing" if unsure. 3. Then do the setup with me one step at a time, waiting for my OK before anything that sends messages, posts publicly, spends money or deletes data. 4. Finish with a checklist to run it again next time.
You are helping me set up this AI use case end to end in Codex. Goal: Add an open memory layer so any agent remembers like ChatGPT What the original author did: Open-sourced a memory layer so any AI agent can keep long-term context the way Claude.ai and ChatGPT do. Reported result (as claimed by the author): Open-source memory layer with a public write-up. Source: https://news.ycombinator.com/item?id=47897790 Tools they used: Claude, ChatGPT Category: Dev & ops Please: 1. Ask me 3 short questions about my situation (accounts I have, budget, what I want the output to look like). 2. Propose a step-by-step plan using these tools or cheaper alternatives, with the time and cost of each step. Use official pricing pages; say "check pricing" if unsure. 3. Then do the setup with me one step at a time, waiting for my OK before anything that sends messages, posts publicly, spends money or deletes data. 4. Finish with a checklist to run it again next time.
You are helping me set up this AI use case end to end in Grok Bot. Goal: Add an open memory layer so any agent remembers like ChatGPT What the original author did: Open-sourced a memory layer so any AI agent can keep long-term context the way Claude.ai and ChatGPT do. Reported result (as claimed by the author): Open-source memory layer with a public write-up. Source: https://news.ycombinator.com/item?id=47897790 Tools they used: Claude, ChatGPT Category: Dev & ops Please: 1. Ask me 3 short questions about my situation (accounts I have, budget, what I want the output to look like). 2. Propose a step-by-step plan using these tools or cheaper alternatives, with the time and cost of each step. Use official pricing pages; say "check pricing" if unsure. 3. Then do the setup with me one step at a time, waiting for my OK before anything that sends messages, posts publicly, spends money or deletes data. 4. Finish with a checklist to run it again next time.
The Daily 5
Get five new use cases tomorrow morning
Free. Real sources. Unsubscribe any time.
Guides for this use case
How to use ChatGPT for real projects and everyday tasks · How to build agent memory and context layers · How to add memory to Claude Code, Codex and Cursor: CLAUDE.md, AGENTS.md, auto memory and shared MCP memory (2026)
Related use cases
Add local-first memory to any LLM with Mnemo
Built Mnemo, a local-first AI memory layer for any LLM using Rust, SQLite and petgraph.
Run durable agents on your own servers with an open-source managed agent platform
Omnara is an open-source, self-hostable alternative to Claude Managed Agents and OpenAI's Agents API. You create an agent with an API call; Omnara runs the agent loop, gives it sandboxes to run commands in and keeps runs going.
Keep your work context in a folder so any AI starts informed
Tired of re-explaining his job, clients and writing style every time he switched between ChatGPT and Claude, a consultant moved that context into a folder of files (about him, his clients and more) that any model can read.
Let your agent run your newsletter through an open-source MCP
MailCheap, Marc Lou's open-source newsletter app, connects to Claude, ChatGPT and Grok Bot through MCP and to Claude Code, Codex and Cursor, so an agent can manage the list and send campaigns.