[PR #599] feat: add Stellar Memory filter pipeline #485

Open
opened 2026-10-18 21:06:31 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/pipelines/pull/599
Author: @sangjun0000
Created: 3/28/2026
Status: 🔄 Open

Base: main ← Head: main


📝 Commits (1)

  • 9926d9c feat: add Stellar Memory filter pipeline

📊 Changes

1 file changed (+106 additions, -0 deletions)

View changed files

➕ examples/filters/stellar_memory_filter_pipeline.py (+106 -0)

📄 Description

Stellar Memory Filter Pipeline

Adds a filter pipeline that integrates Stellar Memory — a local AI memory system — with OpenWebUI.

What it does

  • inlet: Before each request, searches Stellar Memory for relevant context and prepends it to the system prompt automatically
  • outlet: After each response, optionally saves the assistant's reply as a new memory (auto-growing knowledge base)

Requirements

  • Stellar Memory running locally: npx stellar-memory api (starts REST API on port 21547)
  • No cloud service required — fully local and private

Configuration (Valves)

Valve Default Description
STM_URL http://localhost:21547 Stellar Memory API URL
STM_PROJECT "" (auto: "default") Project namespace for memory isolation
RECALL_LIMIT 5 Max memories to inject per request
AUTO_REMEMBER True Auto-save assistant responses as memories

Setup

  1. Install Stellar Memory: npm install -g stellar-memory && npm run init
  2. Start the API: npx stellar-memory api
  3. Upload this pipeline in OpenWebUI → Admin → Pipelines
  4. Set STM_URL in pipeline settings (Docker users: use http://host.docker.internal:21547)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/pipelines/pull/599 **Author:** [@sangjun0000](https://github.com/sangjun0000) **Created:** 3/28/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`9926d9c`](https://github.com/open-webui/pipelines/commit/9926d9c703271050dead97bc481e0226b2c1e2cd) feat: add Stellar Memory filter pipeline ### 📊 Changes **1 file changed** (+106 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `examples/filters/stellar_memory_filter_pipeline.py` (+106 -0) </details> ### 📄 Description ## Stellar Memory Filter Pipeline Adds a filter pipeline that integrates [Stellar Memory](https://github.com/sangjun0000/stellar-memory-core) — a local AI memory system — with OpenWebUI. ### What it does - **inlet**: Before each request, searches Stellar Memory for relevant context and prepends it to the system prompt automatically - **outlet**: After each response, optionally saves the assistant's reply as a new memory (auto-growing knowledge base) ### Requirements - Stellar Memory running locally: `npx stellar-memory api` (starts REST API on port 21547) - No cloud service required — fully local and private ### Configuration (Valves) | Valve | Default | Description | |-------|---------|-------------| | `STM_URL` | `http://localhost:21547` | Stellar Memory API URL | | `STM_PROJECT` | `""` (auto: "default") | Project namespace for memory isolation | | `RECALL_LIMIT` | `5` | Max memories to inject per request | | `AUTO_REMEMBER` | `True` | Auto-save assistant responses as memories | ### Setup 1. Install Stellar Memory: `npm install -g stellar-memory && npm run init` 2. Start the API: `npx stellar-memory api` 3. Upload this pipeline in OpenWebUI → Admin → Pipelines 4. Set `STM_URL` in pipeline settings (Docker users: use `http://host.docker.internal:21547`) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
open-webui/pipelines#485
No description provided.