mem0ai/mem0 ? reverse-engineered prompt

Reverse engineered prompt

Build me an intelligent memory system for an AI agent or chatbot. The main goal is to give the AI long-term memory so it can have personalized conversations. It should remember user preferences, context from past chats, and just generally learn about the user over time. This way, the AI doesn't feel like it has amnesia every time we talk.

I've heard this kind of system can be much more efficient, using fewer tokens to keep costs down while also responding faster. Please build this as a Python library with a simple API that I can integrate with different LLMs like the ones from OpenAI. It should also have a command-line tool so I can easily add or search for memories from my terminal. If there's a TypeScript or JavaScript version available, please set that up as well.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab