LibreAI / KI-Agenten / LongMemory
// agents · CaviraOSS/LongMemory

LongMemory

LongMemory ist ein Open-Source-Projekt aus der Kategorie KI-Agenten von CaviraOSS (CaviraOSS/LongMemory auf GitHub). Es hat 4.523 Sterne auf GitHub und 506 Forks, wird unter der Lizenz Apache-2.0 veröffentlicht und wurde zuletzt am 20. September 2026 auf GitHub aktualisiert.

LongMemory: local-first memory for AI agents with temporal truth, provenance, and hybrid recall

★ 4,5 Tsd. Sterne⑂ 506 ForksApache-2.0aktualisiert Sep 2026
▦ Visual — das README dieses Projekts enthält keinen einbettbaren Screenshot,
darum hier ein Platzhalter. Die Anleitung unten ist trotzdem vollständig.
// projektdaten

Projektdaten

GitHub-Sterne
4.523
Forks
506
Lizenz
Apache-2.0
Zuletzt auf GitHub aktualisiert
20. September 2026
Kategorie
KI-Agenten
Eintragstyp
Vollständige Installationsanleitung
// so funktioniert es

So funktioniert es

  1. Choose your surface

    Use the npm library in-process, the global CLI, the Docker/HTTP server, or the MCP server for agent clients.

  2. Install

    Install the package from npm (or the Python SDK from PyPI).

  3. Initialize memory

    Create a memory instance or run the CLI init to create a local database.

  4. Ingest and recall

    Ingest a first fact or conversation, then recall it with the mode that fits your question.

// funktionen

Warum es so beliebt ist

Temporal truth

Records keep both recorded time and valid time, so facts can change without rewriting history.

Immutable content with provenance

Source, author, confidence, and timestamps travel with memory items; nothing is silently lost.

Four recall modes

Strict, historical, associative, and world-grounded recall over BM25, vector, and graph signals.

Governance and isolation

Tenant, user, project, session, and role scopes, with encryption at rest and a tamper-evident audit trail (per the README).

Many ways to run

In-process library, CLI, HTTP server on port 7331, Docker image, MCP server, dashboard, and VS Code extension.

Flexible embeddings

OpenAI-compatible endpoints, Google Gemini, Amazon Bedrock, Ollama, or a built-in local embedder.

Advertisement
// selbst ausführen

Führe es selbst aus

  1. Clone the repository

    Clone the project and enter its directory for the source/server path.

    git clone https://github.com/CaviraOSS/LongMemory.git
    cd LongMemory
  2. Install as a library or CLI

    Add it to a Node project, or install the CLI globally.

    npm install longmemory
    # or: npm install --global longmemory
  3. Initialize and recall

    Initialize a database and run your first recall from the CLI.

    longmemory init
    longmemory recall "current project priorities" --mode associative
// anwendungsfälle

Was du damit bauen kannst

Advertisement
// häufige fragen

Häufige Fragen

Who maintains LongMemory?

CaviraOSS publishes LongMemory (server images under ghcr.io/caviraoss); it is an open-source project.

Is LongMemory free?

Yes, Apache-2.0 licensed and local-first — your data stays in a local SQLite database unless you choose otherwise.

Does it need a paid API key?

Not necessarily: local and Ollama embedding options avoid hosted APIs; choosing OpenAI, Gemini, or Bedrock embeddings uses your own keys.

How does it compare to a plain vector database?

A vector store returns similar chunks. LongMemory adds typed records, temporal validity, provenance, governance scopes, and recall modes that combine keyword, vector, and graph signals.

How do I get started?

Run `npm install longmemory` and use `createMemory()`, or install the CLI globally and run `longmemory init` then `longmemory recall`.

// weiter entdecken

Ähnliche Tools

KI-Agenten

agent-memory

Long-term memory runtime for AI agents — plain Markdown as truth, local ranked retrieval, no API key

★ 2,6 Tsd. SterneMIT
Anleitung ansehen →
KI-Agenten

taosmd

Local-first AI memory that runs offline on just 8 GB of RAM.

★ 79 SterneAGPL-3.0
Anleitung ansehen →
KI-Agenten

memory-lancedb-pro

Memory-LanceDB-Pro gives OpenClaw agents hybrid search, smart extraction, and intelligent forgetting

★ 4,5 Tsd. SterneMIT
Anleitung ansehen →
KI-Agenten

basic-memory

Basic Memory: local-first MCP memory so you and your AI tools build a shared knowledge graph in Markdown

★ 4,1 Tsd. SterneAGPL-3.0
Anleitung ansehen →
KI-Agenten

cognee

Open-source AI memory that gives agents persistent long-term recall.

★ 31,6 Tsd. SterneApache-2.0
Anleitung ansehen →
KI-Agenten

EverOS

One portable, local-first memory layer for every AI agent - Markdown-native, user-owned and self-evolving.

★ 13,4 Tsd. SterneApache-2.0
Anleitung ansehen →
// alternativen

Alternativen im Bereich KI-Agenten

Die anderen Projekte der Kategorie KI-Agenten mit den meisten Sternen im LibreAI-Katalog — die realistische Auswahl, falls LongMemory nicht das Richtige ist.

// mehr in agents

Mehr in KI-Agenten

Verwandte Projekte der Kategorie KI-Agenten im Katalog, die LongMemory bei den Sternen am nächsten stehen — zum Weiterstöbern auf beiden Seiten.

Hol dir LongMemory

Kostenlos und offen — hol dir den Quellcode, gib dem Repository einen Stern und leg los.