docs: add subtle GitHub star nudges at OSS win-moments (#5928)

This commit is contained in:
Kartik
2026-07-01 23:13:51 +05:30
committed by GitHub
parent 207f65deda
commit fb2593e10d
64 changed files with 116 additions and 3 deletions
+5
View File
@@ -0,0 +1,5 @@
{/* Subtle, value-anchored nudge to star the repo. Drop in at peak-end "win" moments in the OSS docs (after a successful add/search, a server bootstrap, etc.). Keep it off the Platform/API pages. */}
{/* Clicks are tracked via PostHog autocapture: the data-ph-capture-attribute-cta below tags each click with cta="star-on-github" so it's filterable as an event property. Metric = count of $autocapture where cta = star-on-github; break down by Current URL to see which win-moment converts. */}
<Callout icon="star" iconType="solid" color="#FACC15">
**Using Mem0?** <a href="https://github.com/mem0ai/mem0" data-ph-capture-attribute-cta="star-on-github">Star us on GitHub</a> to help more developers discover memory for AI apps.
</Callout>
+2
View File
@@ -123,3 +123,5 @@ As the conversation progresses, Mem0's memory automatically updates based on the
Build a travel companion that remembers preferences and past conversations. Build a travel companion that remembers preferences and past conversations.
</Card> </Card>
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
@@ -81,3 +81,5 @@ This local setup of Mem0 using Ollama provides a fully self-contained solution f
Learn core companion patterns that work with any LLM provider. Learn core companion patterns that work with any LLM provider.
</Card> </Card>
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
@@ -137,3 +137,5 @@ As users interact with the system, Mem0's memory system continuously learns and
Run the full showcase app to see memory-powered companions in action. Run the full showcase app to see memory-powered companions in action.
</Card> </Card>
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
@@ -78,3 +78,5 @@ This setup demonstrates how to build an AI Companion that maintains memory acros
Implement a command-line companion using the Node.js SDK. Implement a command-line companion using the Node.js SDK.
</Card> </Card>
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
@@ -211,3 +211,5 @@ This Personalized AI Travel Assistant leverages Mem0's memory capabilities to pr
Build an educational companion that remembers learning progress and preferences. Build an educational companion that remembers learning progress and preferences.
</Card> </Card>
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
@@ -544,3 +544,5 @@ async def save_memories(
Master the core patterns for building memory-powered companions. Master the core patterns for building memory-powered companions.
</Card> </Card>
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
@@ -66,3 +66,5 @@ Your API keys are stored locally in your browser. Your messages are sent to the
Combine memory with search tools to conduct comprehensive research projects. Combine memory with search tools to conduct comprehensive research projects.
</Card> </Card>
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
@@ -973,3 +973,5 @@ Before launching:
Organize customer context to keep assistants responsive at scale. Organize customer context to keep assistants responsive at scale.
</Card> </Card>
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
@@ -512,3 +512,5 @@ Start with conservative filters (only store confirmed facts) and iterate based o
<Card title="Build a Mem0 Companion" icon="users" href="/cookbooks/essentials/building-ai-companion"> <Card title="Build a Mem0 Companion" icon="users" href="/cookbooks/essentials/building-ai-companion">
Learn core memory patterns including temporary vs permanent data handling. Learn core memory patterns including temporary vs permanent data handling.
</Card> </Card>
<Snippet file="star-on-github.mdx" />
@@ -334,3 +334,5 @@ You learned how to:
href="/cookbooks/essentials/controlling-memory-ingestion" href="/cookbooks/essentials/controlling-memory-ingestion"
/> />
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
@@ -288,3 +288,5 @@ Use **`get_all()`** for bulk retrieval, **`search()`** for specific questions, a
Ensure only verified insights make it into your export pipeline. Ensure only verified insights make it into your export pipeline.
</Card> </Card>
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
@@ -249,3 +249,5 @@ Instead of searching through everything, agents jump directly to the information
Use categories to drive audits, migrations, and compliance reports. Use categories to drive audits, migrations, and compliance reports.
</Card> </Card>
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
@@ -83,3 +83,5 @@ This is a simple example of how to use Mem0 to create a personalized AI agent. Y
Build another type of personalized companion with memory capabilities. Build another type of personalized companion with memory capabilities.
</Card> </Card>
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
@@ -246,3 +246,5 @@ You've successfully built a Gemini 3 agent with persistent memory using Mem0's M
href="/platform/mem0-mcp" href="/platform/mem0-mcp"
/> />
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
@@ -369,3 +369,5 @@ Based on our previous session, I remember we covered Vision Language Models and
Learn how to scope memories across multiple agents, users, and sessions. Learn how to scope memories across multiple agents, users, and sessions.
</Card> </Card>
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
@@ -197,3 +197,5 @@ I've ordered a pizza for you, and the bill has been sent to your email. Enjoy yo
Master the core patterns for memory-powered agents across frameworks. Master the core patterns for memory-powered agents across frameworks.
</Card> </Card>
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
@@ -41,3 +41,5 @@ Visit [multimodal-demo.mem0.ai](https://multimodal-demo.mem0.ai) to experience M
Build voice-first companions that remember conversations. Build voice-first companions that remember conversations.
</Card> </Card>
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
@@ -236,3 +236,5 @@ context = Mem0Context(user_id="user123")
Learn the core patterns for memory-powered agents with any SDK. Learn the core patterns for memory-powered agents with any SDK.
</Card> </Card>
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
@@ -129,3 +129,5 @@ With Mem0 and AWS services like Bedrock and OpenSearch, you can build intelligen
Understand how Mem0's memory system is benchmarked and evaluated. Understand how Mem0's memory system is benchmarked and evaluated.
</Card> </Card>
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
@@ -299,3 +299,5 @@ By storing and retrieving patient information intelligently, the assistant provi
Apply similar memory patterns to customer support workflows. Apply similar memory patterns to customer support workflows.
</Card> </Card>
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
@@ -136,3 +136,5 @@ In the example above:
Explore tool-calling patterns with the OpenAI Agents SDK. Explore tool-calling patterns with the OpenAI Agents SDK.
</Card> </Card>
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
@@ -295,3 +295,5 @@ run().catch(console.error);
Fine-tune what memories get stored during tool calls. Fine-tune what memories get stored during tool calls.
</Card> </Card>
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
@@ -202,3 +202,5 @@ Full Code: [Personalized Search GitHub](https://github.com/mem0ai/mem0/blob/main
Categorize search results and user preferences for better personalization. Categorize search results and user preferences for better personalization.
</Card> </Card>
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
@@ -364,3 +364,5 @@ Mem0 enables a seamless, intelligent content-writing workflow, perfect for conte
Automate email drafting with memory-powered context and tone matching. Automate email drafting with memory-powered context and tone matching.
</Card> </Card>
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
@@ -77,3 +77,5 @@ Watch Deep Research in action:
Build a video research assistant that remembers insights from content. Build a video research assistant that remembers insights from content.
</Card> </Card>
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
@@ -432,3 +432,5 @@ By combining Mem0's memory capabilities with email processing, you can create in
Build customer support agents that remember context across tickets. Build customer support agents that remember context across tickets.
</Card> </Card>
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
@@ -121,3 +121,5 @@ As the conversation progresses, Mem0's memory automatically updates based on the
Extend support capabilities with intelligent email processing and routing. Extend support capabilities with intelligent email processing and routing.
</Card> </Card>
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
@@ -134,3 +134,5 @@ Mem0 enables fast, transparent collaboration for teams and agents, with full att
Apply collaborative memory patterns to customer support scenarios. Apply collaborative memory patterns to customer support scenarios.
</Card> </Card>
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
+1
View File
@@ -173,3 +173,4 @@ Organize your monitoring with structured sessions:
</Card> </Card>
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
+1
View File
@@ -205,3 +205,4 @@ Customize the integration to your needs:
</Card> </Card>
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
+2
View File
@@ -81,3 +81,5 @@ The plugin uses the same shell scripts as Claude Code, Cursor, and Codex: hooks
Add Mem0 memory to OpenCode workflows Add Mem0 memory to OpenCode workflows
</Card> </Card>
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
+1
View File
@@ -140,3 +140,4 @@ This integration enables the creation of more intelligent and personalized AI ag
</Card> </Card>
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
+1
View File
@@ -127,3 +127,4 @@ all_memories = m.get_all(filters={"user_id": "alice"})
</Card> </Card>
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
+2
View File
@@ -142,3 +142,5 @@ print(response.msgs[0].content)
href="/integrations/langchain" href="/integrations/langchain"
/> />
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
+2
View File
@@ -241,3 +241,5 @@ By adding Mem0 as a memory store in ChatDev, your multi-agent workflows gain per
Build conversational agents with AutoGen and Mem0 Build conversational agents with AutoGen and Mem0
</Card> </Card>
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
+2
View File
@@ -181,3 +181,5 @@ You: Add refresh token rotation to the auth system.
Add Mem0 memory to OpenAI Codex workflows Add Mem0 memory to OpenAI Codex workflows
</Card> </Card>
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
+2
View File
@@ -162,3 +162,5 @@ You: Add WebSocket support for real-time notification delivery.
Add Mem0 memory to Claude Code workflows Add Mem0 memory to Claude Code workflows
</Card> </Card>
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
+1
View File
@@ -170,3 +170,4 @@ By combining CrewAI with Mem0, you can create sophisticated AI systems that main
</Card> </Card>
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
+2
View File
@@ -122,3 +122,5 @@ You: The /orders endpoint is also slow, same pattern as before.
Add Mem0 memory to Claude Code workflows Add Mem0 memory to Claude Code workflows
</Card> </Card>
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
+2
View File
@@ -40,3 +40,5 @@ Enhance your Dify-powered AI with Mem0 and transform your conversational experie
Create LangChain-powered applications Create LangChain-powered applications
</Card> </Card>
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
+2
View File
@@ -445,3 +445,5 @@ By integrating ElevenLabs Conversational AI with Mem0, you can create voice agen
Create voice-first AI applications Create voice-first AI applications
</Card> </Card>
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
+1
View File
@@ -125,3 +125,4 @@ Additional settings available in <a href="https://app.mem0.ai/dashboard/project-
</Card> </Card>
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
+2
View File
@@ -347,3 +347,5 @@ By implementing `Mem0MemoryService` as an ADK `BaseMemoryService`, you get persi
Compare with OpenAI's agent framework Compare with OpenAI's agent framework
</Card> </Card>
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
+2
View File
@@ -231,3 +231,5 @@ curl http://localhost:11434/api/tags
Get your API key and explore the Mem0 dashboard Get your API key and explore the Mem0 dashboard
</Card> </Card>
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
+1
View File
@@ -317,3 +317,4 @@ Each tool provides structured input validation through Pydantic models and retur
</Card> </Card>
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
+1 -1
View File
@@ -171,4 +171,4 @@ By integrating LangChain with Mem0, you can build a personalized Travel Agent AI
</Card> </Card>
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
+1
View File
@@ -173,3 +173,4 @@ By integrating LangGraph with Mem0, you can build a personalized Customer Suppor
</Card> </Card>
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
+1
View File
@@ -238,3 +238,4 @@ logger = logging.getLogger("memory_voice_agent")
</Card> </Card>
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
+1
View File
@@ -213,3 +213,4 @@ By integrating LlamaIndex with Mem0, you can build a personalized agent that can
</Card> </Card>
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
+1
View File
@@ -135,3 +135,4 @@ By integrating Mastra with Mem0, you can build intelligent agents that learn and
</Card> </Card>
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
+1
View File
@@ -235,3 +235,4 @@ mem0.add(
</Card> </Card>
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
+2
View File
@@ -498,3 +498,5 @@ The plugin injects memory-related instructions into the agent's system context v
Create stateful agent workflows with memory Create stateful agent workflows with memory
</Card> </Card>
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
+2
View File
@@ -152,3 +152,5 @@ If auto-dream hasn't run yet, it's almost always because a gate hasn't been met
Add Mem0 memory to Google Antigravity Add Mem0 memory to Google Antigravity
</Card> </Card>
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
+2
View File
@@ -182,3 +182,5 @@ You: What do you know about my preferences?
Add Mem0 memory to OpenClaw agents Add Mem0 memory to OpenClaw agents
</Card> </Card>
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
+2
View File
@@ -218,3 +218,5 @@ memory = Mem0MemoryService(
Create conversational voice agents Create conversational voice agents
</Card> </Card>
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
+2
View File
@@ -48,3 +48,5 @@ d. Enter this key in the extension preferences
Create intelligent desktop workflows Create intelligent desktop workflows
</Card> </Card>
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
+2
View File
@@ -139,3 +139,5 @@ Integrating Mem0 with Respan provides a powerful combination for building AI app
Monitor agent performance with AgentOps Monitor agent performance with AgentOps
</Card> </Card>
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
+1
View File
@@ -346,3 +346,4 @@ Mem0's Vercel AI SDK enables the creation of intelligent, context-aware applicat
</Card> </Card>
</CardGroup> </CardGroup>
<Snippet file="star-on-github.mdx" />
+1 -1
View File
@@ -43,7 +43,7 @@ mode: "custom"
</a> </a>
<a <a
href="/integrations" href="/integrations/claude-code"
className="group flex h-full flex-col overflow-hidden rounded-2xl border border-gray-200 dark:border-zinc-800/40 bg-white dark:bg-zinc-900/40 transition hover:border-primary/60 hover:bg-gray-50 dark:hover:bg-zinc-900" className="group flex h-full flex-col overflow-hidden rounded-2xl border border-gray-200 dark:border-zinc-800/40 bg-white dark:bg-zinc-900/40 transition hover:border-primary/60 hover:bg-gray-50 dark:hover:bg-zinc-900"
> >
<img <img
+2
View File
@@ -66,6 +66,8 @@ console.log(results);
</Step> </Step>
</Steps> </Steps>
<Snippet file="star-on-github.mdx" />
<Note> <Note>
By default the Node SDK uses local-friendly settings (OpenAI `gpt-5-mini`, `text-embedding-3-small`, in-memory vector store, and SQLite history). Pass a config to swap any of them. By default the Node SDK uses local-friendly settings (OpenAI `gpt-5-mini`, `text-embedding-3-small`, in-memory vector store, and SQLite history). Pass a config to swap any of them.
</Note> </Note>
+2
View File
@@ -69,3 +69,5 @@ Override any component with [`Memory.from_config`](/open-source/configuration).
| Bundled providers | `openai`, `anthropic`, `gemini` (switch on the Configuration page) | | Bundled providers | `openai`, `anthropic`, `gemini` (switch on the Configuration page) |
See [Self-Hosted Setup](/open-source/setup#supported-providers) for the full provider list and how to extend it. See [Self-Hosted Setup](/open-source/setup#supported-providers) for the full provider list and how to extend it.
<Snippet file="star-on-github.mdx" />
+1
View File
@@ -76,6 +76,7 @@ print(results)
</Step> </Step>
</Steps> </Steps>
<Snippet file="star-on-github.mdx" />
<Note> <Note>
By default `Memory()` wires up: By default `Memory()` wires up:
+2
View File
@@ -120,6 +120,8 @@ On a fresh install the dashboard redirects to `/setup`. Each step submits on Ent
For the underlying endpoints (including `/auth/*`, `/api-keys`, `/requests`, `/entities`), see the [REST API reference](/open-source/features/rest-api). For the underlying endpoints (including `/auth/*`, `/api-keys`, `/requests`, `/entities`), see the [REST API reference](/open-source/features/rest-api).
<Snippet file="star-on-github.mdx" />
--- ---
## Supported providers ## Supported providers