Build your own second brain with supermemory. It's a ChatGPT for your bookmarks. Import tweets or save websites and content using the chrome extension.
Find a file
MaheshtheDev b3aab91489 feat: withSupermemory for openai sdk (#531)
### TL;DR

Added OpenAI SDK middleware support for SuperMemory integration, allowing direct memory injection without AI SDK dependency.

### What changed?

- Added `withSupermemory` middleware for OpenAI SDK that automatically injects relevant memories into chat completions
- Implemented memory search and injection functionality for OpenAI clients
- Restructured the OpenAI module to separate tools and middleware functionality
- Updated README with comprehensive documentation and examples for the new OpenAI middleware
- Added test implementation with a Next.js API route example
- Reorganized package exports to support the new structure
2025-10-27 20:08:11 +00:00
.github/workflows feat: ai sdk language model withSupermemory (#446) 2025-10-10 05:10:03 +00:00
apps feat: more clarity on the connectors sync (#523) 2025-10-27 03:17:28 +00:00
packages feat: withSupermemory for openai sdk (#531) 2025-10-27 20:08:11 +00:00
.gitignore fix: raycast org selection based api key creation (#447) 2025-10-03 07:56:41 +00:00
.npmrc New Version of Supermemory Consumer App 2025-08-16 18:50:10 -07:00
biome.json feat: layout design with theme improvements (#443) 2025-10-01 21:59:54 +00:00
bun.lock fix: bun lock build issue (#519) 2025-10-24 22:34:24 +00:00
CLAUDE.md change /memories to /documents, remove unwanted dependency, biome format 2025-09-15 19:02:24 -07:00
CONTRIBUTING.md chore: update to new supermemory support email (#503) 2025-10-21 18:52:45 +00:00
LICENSE Update LICENSE 2025-08-16 20:01:44 -07:00
logo.svg chore: new README with archival notice 2025-05-18 18:54:06 +05:30
package.json chat app withSupermemory test 2025-10-22 14:00:59 -07:00
README.md chore: update to new supermemory support email (#503) 2025-10-21 18:52:45 +00:00
turbo.json Enhanced Text Editor and format fixes with biome (#371) 2025-08-21 08:40:44 -07:00

supermemory Logo
supermemory

Features

Core Functionality

How do i use this?

Go to app.supermemory.ai and sign into with your account

  1. Start Adding Memory with your choice of format (Note, Link, File)
supermemory
  1. You can also Connect to your favourite services (Notion, Google Drive, OneDrive)
supermemory
  1. Once Memories are added, you can chat with Supermemory by clicking on "Open Chat" and retrieve info from your saved memories
supermemory
  1. Add MCP to your AI Tools (by clicking on "Connect to your AI" and select the AI tool you are trying to integrate)
supermemory

Support

Have questions or feedback? We're here to help:

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

  1. Fork and clone the repository
  2. Install dependencies with bun install
  3. Set up your environment by copying .env.example to .env.local
  4. 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: