MemoryRouter Now Works with Open WebUI

John Rood··4 min read

Open WebUI is one of the best self-hosted AI interfaces out there. Millions of people use it to run local models, connect to cloud providers, and keep their data private. But it has the same problem everything else does: your AI forgets.

Today we're launching full MemoryRouter support for Open WebUI. Three pieces:

  1. Proxy integration — add MemoryRouter as a provider, get persistent memory on every conversation automatically
  2. History upload function — one-click backfill of your entire conversation history
  3. Key suffixes — a new feature that lets you control memory behavior from the API key itself

Let me walk through each one.

The Proxy: Memory Without Thinking About It

If you're already using Open WebUI with OpenAI, Anthropic, or any other provider, switching to MemoryRouter takes about 30 seconds:

  1. Go to Settings → Connections
  2. Add a new connection: https://api.memoryrouter.ai/v1
  3. Enter your memory key (mk_xxx)
  4. Done

From that point on, every conversation flows through MemoryRouter. We retrieve relevant memories from your vault, inject them into the context, forward to your provider, store the new conversation, and return the response. Your AI remembers what you talked about yesterday, last week, and three months ago.

Same models. Same interface. Same API keys. Just persistent memory on top.

History Upload: Your AI Wakes Up Knowing Everything

The proxy handles everything going forward, but what about all those conversations you've already had? That's what the upload function is for.

It's an Open WebUI Action Function — a single Python file you paste into your admin panel. Click the button, and it:

  • Walks every conversation in your Open WebUI database
  • Extracts user and assistant messages (skips system messages, tool calls, noise)
  • Handles Open WebUI's branching message tree (follows the active branch)
  • Chunks oversized messages at natural boundaries
  • Batches everything to MemoryRouter's upload API

It's a one-time thing. After the initial upload, the proxy stores new conversations automatically. You'll never need to click it again. And if you do click it again? It knows it already ran and tells you so. No duplicates.

The function is open source on GitHub and available on the Open WebUI community marketplace.

Key Suffixes: The Feature I Didn't Know I Needed

This one came out of building the Open WebUI integration and realizing a fundamental problem: some platforms only let you set an API key. No custom headers. No query parameters. No body overrides.

So we made the key itself configurable. Append a suffix and change how memory works:

| Key | What Happens | |-----|-------------| | mk_xxx | Full memory — read and write (default) | | mk_xxx:read | Retrieve memories but don't store new ones | | mk_xxx:write | Store conversations but don't retrieve | | mk_xxx:off | Pure proxy — no memory at all |

The suffix gets stripped before authentication. Same key, different behavior.

This turns out to be incredibly useful beyond Open WebUI. In Claude Code, Cursor, or Windsurf, use mk_xxx:read — the AI pulls in relevant context from your past conversations (architecture decisions, preferences, project history) without flooding your memory vault with thousands of lines of generated code. Your memory stays clean and high-signal.

In Open WebUI specifically, you can create two connections — one with mk_xxx for full memory, one with mk_xxx:read for when you want context but don't want to store. Switch between them from the model dropdown.

Why This Matters

Open WebUI users tend to be the kind of people who care about control. They self-host. They run local models. They keep their data close.

MemoryRouter fits that philosophy. We're a memory layer, not a model provider. Your API keys, your inference, your data pipeline — we just make your AI remember. And with the key suffix feature, you have granular control over exactly what gets stored and what doesn't, without changing a single line of code.

Get Started

  1. Get your free memory key at app.memoryrouter.ai (50M tokens free, no credit card)
  2. Read the docs
  3. Grab the upload function

Your AI has been forgetting every conversation you've ever had. That stops today.