mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-10-15 04:21:38 +00:00
### TL;DR Added support for automatically saving user messages to Supermemory. ### What changed? - Added a new `addMemory` option to `wrapVercelLanguageModel` that accepts either "always" or "never" (defaults to "never") - Implemented the `addMemoryTool` function to save user messages to Supermemory - Modified the middleware to check the `addMemory` setting and save the last user message when appropriate - Initialized the Supermemory client in the middleware to enable memory storage ### How to test? 1. Set the `SUPERMEMORY_API_KEY` environment variable 2. Use the `wrapVercelLanguageModel` function with the new `addMemory: "always"` option 3. Send a user message through the model 4. Verify that the message is saved to Supermemory with the specified container tag ### Why make this change? This change enables automatic memory creation from user messages, which improves the system's ability to build a knowledge base without requiring explicit memory creation calls. This is particularly useful for applications that want to automatically capture and store user interactions for future reference. |
||
|---|---|---|
| .github/workflows | ||
| apps | ||
| packages | ||
| .gitignore | ||
| .npmrc | ||
| biome.json | ||
| bun.lock | ||
| CLAUDE.md | ||
| CONTRIBUTING.md | ||
| LICENSE | ||
| logo.svg | ||
| package.json | ||
| README.md | ||
| turbo.json | ||
Features
Core Functionality
- Add Memories from Any Content: Easily add memories from URLs, PDFs, and plain text—just paste, upload, or link.
- Chat with Your Memories: Converse with your stored content using natural language chat.
- Supermemory MCP Integration: Seamlessly connect with all major AI tools (Claude, Cursor, etc.) via Supermemory MCP.
How do i use this?
Go to app.supermemory.ai and sign into with your account
- You can also Connect to your favourite services (Notion, Google Drive, OneDrive)
- Once Memories are added, you can chat with Supermemory by clicking on "Open Chat" and retrieve info from your saved memories
- Add MCP to your AI Tools (by clicking on "Connect to your AI" and select the AI tool you are trying to integrate)
Support
Have questions or feedback? We're here to help:
- Email: dhravya@supermemory.com
- Documentation: docs.supermemory.ai
Contributing
We welcome contributions from developers of all skill levels! Whether you're fixing bugs, adding features, or improving documentation, your help makes supermemory better for everyone.
Quick Start for Contributors
- Fork and clone the repository
- Install dependencies with
bun install - Set up your environment by copying
.env.exampleto.env.local - Start developing with
bun run dev
For detailed guidelines, development setup, coding standards, and the complete contribution workflow, please see our Contributing Guide.
Ways to Contribute
- 🐛 Bug fixes - Help us squash those pesky issues
- ✨ New features - Add functionality that users will love
- 🎨 UI/UX improvements - Make the interface more intuitive
- ⚡ Performance optimizations - Help us make supermemory faster
Check out our Issues page for good first issue and help wanted labels to get started!
Updates & Roadmap
Stay up to date with the latest improvements: