-
Notifications
You must be signed in to change notification settings - Fork 1.5k
add(docs): migration guide from zep to supermemory #612
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add(docs): migration guide from zep to supermemory #612
Conversation
How to use the Graphite Merge QueueAdd the label Main to this PR to add it to the merge queue. You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
Code Review: Migration Guide from Zep to SupermemoryOverall Assessment✅ Approve with minor suggestions This is a well-structured migration guide that follows the established pattern from the existing Mem0 migration doc. The content is clear, comprehensive, and will be valuable for users migrating from Zep AI. Code Quality ✅Strengths
Style & Conventions
Potential Issues & Improvements1. API Method Inconsistency
|
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ❌ Deployment failed View logs |
supermemory-app | b8e98c7 | Dec 20 2025, 12:50 AM |
|
|
||
| ```python Supermemory | ||
| client.memories.add({ | ||
| "content": "User prefers dark mode", | ||
| "container_tags": ["user_123"] | ||
| }) | ||
| ``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's client.add() now
also, it's preferred to use containerTag instead of container_tags
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed it
|
This PR only includes the code migration - not the data migration stuff. We should look into the data migration as well. |
you mean migration script? |
PR Review: Migration Guide from Zep to SupermemoryThank you for contributing this migration guide! This is a valuable addition for users coming from Zep AI. I've reviewed the PR and have the following feedback: ✅ Strengths
🐛 Issues Found1. Incorrect Search API Method (Critical)The guide uses However, there's an inconsistency in the "Getting All Memories" section: Line 113-115: Uses But the search examples should clarify which endpoint is being used (
2. Missing Context About Async ProcessingLine 172: Mentions "Async processing" in Important Notes, but doesn't provide actionable guidance:
The Mem0 migration guide (from-mem0.mdx) doesn't have this issue because it's more detailed. 3. Incomplete Migration Script (Line 177-189)# Export from Zep AI
zep_memories = client.memory.get(session_id="user_123")
# Import to Supermemory
for memory in zep_memories.memories:
client.memories.add({
"content": memory.content,
"container_tags": [memory.session_id],
"metadata": memory.metadata or {}
})Issues:
4. TypeScript Examples Use Python SyntaxLines 35-40, 127-167: All TypeScript code blocks use Python-style dictionary syntax: client.memories.add({
"content": "I love Python", // ❌ TypeScript doesn't need quotes for keys
"container_tags": container_tags,
"metadata": {"role": "user"} // ❌ Python-style
})Should be: client.memories.add({
content: "I love Python",
containerTags: containerTags, // Note: camelCase in TypeScript
metadata: { role: "user" }
})5. Missing Installation ConsistencyLines 18-27: Installation section shows both languages, but doesn't match the pattern from TypeScript SDK docs (apps/docs/memory-api/sdks/typescript.mdx:9) which uses 6. API Parameter InconsistencyThe guide uses snake_case ( 📋 SuggestionsCode Quality
Documentation
TestingSince this is documentation, please verify:
🔒 Security & Best Practices
📊 Performance Considerations
Overall AssessmentThis is a solid foundation for a migration guide, but needs refinement to match:
Recommendation: Request changes to fix the TypeScript syntax, complete the migration script, and add more context about async processing. Would you like help implementing these fixes? Happy to provide corrected code examples! 🤖 Generated with Claude Code |
Code Review: Migration Guide from Zep to SupermemoryThank you for this contribution! The migration guide is well-structured and follows the existing patterns. Here's my detailed review: ✅ Strengths
🐛 Critical Issues1. API Inconsistency - Search Method (High Priority)The search examples use Current (Correct): results = client.search.execute({
"q": "programming",
"container_tags": container_tags,
"limit": 3
})Recommendation: The 2. TypeScript Examples MissingUnlike the Mem0 migration guide which shows both Python and TypeScript consistently, this guide only shows Python examples in the complete example section. Suggested Addition (around line 167): import { Supermemory } from "supermemory";
const client = new Supermemory({ apiKey: "..." });
const containerTags = ["user_123"];
await client.memories.add({
content: "I love Python",
containerTags: containerTags,
metadata: { role: "user" }
});
const results = await client.search.execute({
q: "programming",
containerTags: containerTags,
limit: 3
});💡 Suggestions for Improvement3. Add "Why Migrate" SectionThe Mem0 guide has a compelling "Why Migrate to Supermemory?" section. Consider adding a similar section highlighting:
4. Clarify Async ProcessingThe "Important Notes" section mentions async processing, but could be more explicit: - **Async processing** - Documents process asynchronously (status: `queued` → `processing` → `done`). Wait a few seconds before searching newly added content.5. Add Error Handling in Migration ScriptThe data migration script at the end could benefit from error handling: # Import to Supermemory
for memory in zep_memories.memories:
try:
client.memories.add({
"content": memory.content,
"container_tags": [memory.session_id],
"metadata": memory.metadata or {}
})
print(f"✅ Imported: {memory.content[:50]}...")
except Exception as e:
print(f"❌ Failed to import: {e}")6. Minor: Consistency in Method NamesIn the "Getting All Memories" section:
7. Link VerificationEnsure these relative links work in the docs site:
🔒 Security Considerations✅ No security issues identified. API keys are properly shown as placeholders. 🧪 Testing Recommendations
📝 SummaryThis is a solid migration guide that will help Zep users transition to Supermemory. The main issues are:
The API usage is correct and follows the established patterns in the codebase. Recommendation: Approve with minor revisions. Review generated following CLAUDE.md conventions and verified against existing migration documentation patterns. |
Code Review - PR #612: Migration Guide from Zep to SupermemoryGreat work on creating this migration guide! This is a valuable addition to the documentation. Here's my detailed review: ✅ Strengths
🐛 Critical Issues1. API Inconsistency -
|
|
@MaheshtheDev can you also fix the mintlify broken links issue here? |
done, fixed them as well @Dhravya |
Pull Request Review: Migration Guide from Zep to SupermemoryGreat work on adding this migration guide! This is a valuable resource for users migrating from Zep. Here's my detailed review: ✅ Strengths
🐛 Issues FoundCritical: API Inconsistencies
Minor Issues
🔒 Security Considerations
⚡ Performance Considerations
📝 Code Quality
🧪 Test CoverageRecommendation: The migration scripts should be tested with:
📋 Suggestions
🎯 Action ItemsMust Fix (Breaking Issues):
Should Fix (Quality Issues):
Nice to Have:
📊 Overall AssessmentScore: 8.5/10 This is a high-quality migration guide that will be very helpful for Zep users. The main issues are API consistency problems that need to be fixed before merging. Once the critical issues are addressed, this will be an excellent resource. The documentation link cleanup across other files is also well done and helps maintain consistency throughout the docs. Recommendation: Request changes to fix the API method naming inconsistencies, then approve. |
Merge activity
|
add docs for Migration Guide from zep to supermemory
de55f4a to
b8e98c7
Compare

add docs for Migration Guide from zep to supermemory