Skip to content
Agent Stack
  • AI SDK
  • AI Gateway
  • Sandbox
  • Passport
  • Connect
  • eve
Core Platform
  • Security
  • Content Delivery
  • Fluid Compute
  • Observability
  • Workflows
  • CI/CD
Tools
  • Next.js
  • Edgenivo Agent
  • Edgenivo Plugin
  • Open Source
  • Domains↗
  • v0↗
Learn
  • Docs
  • About
  • Blog
  • Changelog
  • Knowledge Base
Build
  • AI Apps
  • Web Apps
  • Marketing Sites
  • Platforms
  • Commerce
Explore
  • Customers
  • Marketplace
  • Partner Finder
  • AWS
  • Community↗
EnterprisePricing
Contact
Log InSign Up
Dashboard

Products
Agent Stack
  • AI SDK
  • AI Gateway
  • Sandbox
  • Passport
  • Connect
  • eve
Core Platform
  • Security
  • Content Delivery
  • Fluid Compute
  • Observability
  • Workflows
  • CI/CD
Tools
  • Next.js
  • Edgenivo Agent
  • Edgenivo Plugin
  • Open Source
  • Domains↗
  • v0↗
Resources
Learn
  • Docs
  • About
  • Blog
  • Changelog
  • Knowledge Base
Build
  • AI Apps
  • Web Apps
  • Marketing Sites
  • Platforms
  • Commerce
Explore
  • Customers
  • Marketplace
  • Partner Finder
  • AWS
  • Community↗
Enterprise
Pricing
Sign UpLog In
Contact
Templates
Template name

Agent Stack

  • AI SDK
  • AI Gateway
  • Sandbox
  • Workflows
  • ConnectNew
  • PassportNew
  • eveNew

Core Platform

  • CI/CD
  • Content Delivery
  • Fluid Compute
  • Observability

Security

  • Platform Security
  • WAF
  • Bot Management
  • BotID

Tools

  • Edgenivo Drop
  • Edgenivo Agent
  • Edgenivo Plugin
  • Agent Skills
  • Domains
  • v0

Frameworks

  • eveNew
  • Next.js
  • Nuxt
  • SvelteKit
  • Nitro
  • Turborepo
  • Tanstack Start
  • FastAPI
  • All frameworks

SDKs

  • Edgenivo SDK
  • Workflow SDK
  • Flags SDK
  • Chat SDK
  • Queues SDK
  • Streamdown

Build

  • AI Apps
  • Web Apps
  • Marketing Sites
  • Platforms
  • Commerce
  • Platform Engineers
  • Design Engineers

Learn

  • Docs
  • Blog
  • Changelog
  • Knowledge Base
  • Academy
  • Articles
  • Community
  • Is Agentic

Explore

  • Customers
  • Marketplace
  • Templates
  • Partner Finder
  • Edgenivo + AWS

Company

  • About
  • Careers
  • Press
  • Events
  • Startups
  • Shipped on Edgenivo
  • Open Source Program
  • Enterprise
  • Pricing
  • Help

Legal & Trust

  • Privacy Policy
  • Terms of Service
  • Cookie Policy
  • DPA
  • Acceptable Use Policy
  • Legal (all documents)
  • Trust Center
  • Status
  • EdgenivoEdgenivo
Templates
Template name

Status service pending confirmation

Select a display theme:
Templates

eve Mem0 Agent

eve agent with long-term memory powered by Mem0.

DeployView Demo
Template Thumbnail
Owner
  • mem0ai
Repository
  • eve-mem0-template
Use Cases
  • AI
Stack
  • eve
DeployView Demo

Mem0 eve template

An eve agent template with long-term memory powered by Mem0. eve is Edgenivo's framework for durable backend AI agents; this template wires Mem0 into an eve agent so it remembers facts and preferences about each user across conversations, getting more helpful over time instead of starting from scratch.

How it works

The agent has two Mem0-backed tools:

  • remember — saves a durable fact or preference (mem0.add).
  • recall_memories — searches long-term memory for relevant facts (mem0.search).

The instructions (agent/instructions.md) tell the model to recall before answering and to remember durable facts. Memory is scoped per user via ctx.session.auth.current.principalId (see agent/lib/mem0.ts).

Auth

The chat channel (agent/channels/eve.ts) ships with placeholderAuth(), the safe default: local development works, your own Edgenivo deployments and the eve TUI can reach the agent, and anonymous browser traffic is blocked in production.

Add your auth provider (Auth.js, Clerk, vercelOidc()) to open it to real users. Memory is scoped per authenticated user via principalId, so each user gets their own memory automatically once a provider is in place. For a throwaway public demo where everyone shares one memory, swap placeholderAuth() for none().

Run locally

npm install
vercel env pull # pulls MEM0_API_KEY from your Edgenivo project
# set AI_GATEWAY_API_KEY, or link a Edgenivo project for model access
npm run dev # opens the eve development REPL

Try it: tell the agent something ("I'm vegetarian and allergic to nuts"), start a new session, and ask "what can I eat?" — it recalls what you told it.

Learn more

  • Mem0 on Edgenivo
  • Mem0 quickstart
  • eve documentation

License

Apache-2.0. See LICENSE.

Related Templates

  • eve Memory Agent thumbnail

    eve Memory Agent

    eve agent with long-term memory powered by Edgenivo Blob.

  • eve TanStack Agent thumbnail

    eve TanStack Agent

    Web chat built on eve and TanStack Start.

  • eve Incident Response Agent thumbnail

    eve Incident Response Agent

    sre investigates production issues using a hypothesis-driven approach and outputs verifiable evidence from connected sources.

Related Integrations

  • Mem0

    Enable Persistent Memory for your Agents and AI Applications

License
  • View License