EveryDev.ai
Subscribe
Home
Tools

5,901+ AI tools

  • Featured
  • Gems
  • Trending
  • New
  • Rate tools
  • Compare
  • Arena
Categories
  • Agents2972
  • Coding2248
  • Infrastructure1067
  • Projects818
  • MCP794
  • Research744
  • Analytics565
  • Marketing527
  • Design488
  • Testing476
  • Data442
  • Security412
  • Integration288
  • Communication284
  • Prompts283
  • Extensions238
  • Voice213
  • DevOps190
  • Commerce183
  • Web128
  • Learning123
  • Finance44
AI Tools by Topic
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • Users
  • Rate Tools
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai ©
    1. Home
    2. Tools
    3. @mongodb-developer/vercel-ai-memory
    @mongodb-developer/vercel-ai-memory icon

    @mongodb-developer/vercel-ai-memory

    Vector Databases

    MongoDB Atlas-backed persistent memory for the Vercel AI SDK with five structured memory tiers and vector search.

    Visit Website

    At a Glance

    Pricing
    Open Source

    The @mongodb-developer/vercel-ai-memory package is licensed under Apache 2.0. Requires a user-provided MongoDB Atlas cluster, which is an external cost.

    Engagement

    Available On

    Web
    API
    SDK
    CLI

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    Vector DatabasesAgent MemoryAI Development Libraries

    Alternatives

    ContextPoolEngramai-memory
    Developer
    MongoDBNew York City, NYEst. 2007$311M+ raised

    Listed Nov 2026

    About @mongodb-developer/vercel-ai-memory

    @mongodb-developer/vercel-ai-memory is an npm package from MongoDB that adds persistent memory to agents built with the Vercel AI SDK. It also offers a memory provider for Vercel Eve, which the README marks as not yet production-ready. Memories are stored in MongoDB Atlas with automatic vector search indexes and per-type retention policies.

    What It Is

    The package is a TypeScript library that exposes a single memory tool to an AI SDK agent, scoped to a user and session. It provides five memory tiers: Session, Semantic, Procedural, Episodic, and Scratchpad. Developers can supply any AI SDK embedding model, or opt into Atlas Automated Embedding (Voyage AI) so that Atlas generates vectors server-side. It supports AI SDK v6 and v7, and the AI SDK, MongoDB driver and zod are installed as peer dependencies.

    How the memory tiers work

    Session memory holds conversation turns and can run in two modes: tool-driven, where the LLM decides when to read and write, or hook-driven, where runtime hooks (loadSession and onFinish) capture each turn exactly once. The README recommends the hook-driven mode for production. Semantic and procedural memories are temporally versioned, episodic memory records events, and scratchpad notes can be promoted to episodic memory. An agent-driven memory_forget command marks a memory for deletion through a TTL index.

    Retention and multi-tenancy

    Each memory type accepts a retention policy: none, TTL, TTL with importance, or dynamic forgetting-curve expiry. Topology options allow custom database, collection and index names, extra filter fields such as tenant_id, and disabling or hiding memory types. Retrieval filters cover minimum importance, recency window and candidate multiplier.

    Vercel Eve provider

    Through the /eve subpath, mongodbMemory() plugs into Eve's memory slots. It performs automatic recall before each turn, automatic or agent-driven capture, and remember/forget tools, partitioned by Eve's trusted scope key. This subpath is excluded from the package's semantic-versioning guarantees.

    Setup path

    Install with npm or pnpm, pass a MongoDB Atlas connection string as uri, and provide either an embedder or autoEmbed, but not both. Automated Embedding requires Atlas with Voyage AI enabled for the organization. The README advises storing the connection string as a secret in production. Switching embedding modes on an existing database temporarily breaks search for previously saved memories.

    @mongodb-developer/vercel-ai-memory - 1

    Community Discussions

    Be the first to start a conversation about @mongodb-developer/vercel-ai-memory

    Share your experience with @mongodb-developer/vercel-ai-memory, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source (Apache 2.0)

    The @mongodb-developer/vercel-ai-memory package is licensed under Apache 2.0. Requires a user-provided MongoDB Atlas cluster, which is an external cost.

    • 5 memory types: Session, Semantic, Procedural, Episodic, Scratchpad
    • Atlas Vector Search
    • Atlas Automated Embedding (Voyage AI)
    • Per-type retention policies
    • Multi-tenant ready

    Capabilities

    Key Features

    • Five memory types: session, semantic, procedural, episodic, scratchpad
    • Atlas Vector Search semantic retrieval
    • Atlas Automated Embedding via Voyage AI
    • Auto-detected embedding dimensions
    • Per-type retention policies: none, ttl, ttl+importance, dynamic
    • Agent-driven memory_forget deletion
    • Multi-tenant configuration with custom collections, indexes and filter fields
    • Temporal versioning of semantic and procedural memories
    • Hook-driven deterministic session capture
    • Vercel Eve memory provider (not yet production-ready)
    • Lazy MongoDB connection
    • Works with any AI SDK embedding provider

    Integrations

    Vercel AI SDK
    Vercel Eve
    MongoDB Atlas
    Voyage AI
    OpenAI
    Cohere
    Google
    Next.js
    API Available
    View Docs

    Ratings & Reviews

    No ratings yet

    Be the first to rate @mongodb-developer/vercel-ai-memory and help others make informed decisions.

    Rate other tools you’ve used

    Developer

    MongoDB

    MongoDB was founded in 2007 as 10gen by Dwight Merriman, Eliot Horowitz and Kevin Ryan. The company builds an intelligent data platform for modern, real-time, hybrid, multi-cloud applications. Its stated mission is to unleash the power of software and data, enabling teams to build for what's next.

    Founded 2007
    New York City, NY
    $311M+ raised
    5,000 employees

    Used by

    Anthropic
    Coinbase
    ElevenLabs
    Factory
    +10 more
    Read more about MongoDB
    Website
    2 tools in directory

    Similar Tools

    ContextPool icon

    ContextPool

    ContextPool gives AI coding agents persistent memory across sessions by extracting and storing engineering insights from past sessions via MCP.

    Engram icon

    Engram

    Persistent memory system for AI coding agents — an agent-agnostic Go binary with SQLite + FTS5, MCP server, HTTP API, CLI, and TUI.

    ai-memory icon

    ai-memory

    Long-term memory for AI coding agents that persists context across sessions and enables seamless handoffs between different agent CLIs like Claude Code, Codex, and Cursor.

    Browse all tools

    Related Topics

    Vector Databases

    Specialized databases optimized for storing and retrieving vector embeddings that power semantic search, recommendation systems, and other AI applications with similarity matching.

    63 tools

    Agent Memory

    Memory layers, frameworks, and services that enable AI agents to store, recall, and manage information across sessions. These tools provide persistent, semantic, and contextual memory for agents, supporting personalization, long-term context retention, graph-based relationships, and hybrid RAG + memory workflows.

    259 tools

    AI Development Libraries

    Programming libraries and frameworks that provide machine learning capabilities, model integration, and AI functionality for developers.

    573 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions
    2views