caviraoss/longmemory

Local persistent memory store for LLM applications including claude desktop, github copilot, codex, antigravity, etc.

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 35 minutes ago
Added to GitGenius on September 15th, 2026
Created on October 19th, 2025
Open Issues & Pull Requests: 19 (+0)
GitHub issues: Enabled
Number of forks: 504
Total Stargazers: 4,510 (+0)
Total Subscribers: 33 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 18.0 hours
Mean response time: 4.0 days
90th percentile: 14.0 days
Tracked items: 76

Most active contributors

Sign in to see contributor activity.

How this project is maintained

Practically every issue opened in the past year has drawn a reply. 83% of issues opened in the past year have been closed, leaving a working backlog. Three people close 89% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 13
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 138 days
Stale 30+ days: 12
Stale 90+ days: 7

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • bug (38)
  • enhancement (18)

Detailed Description

LongMemory is a cognitive memory engine for LLM applications and autonomous agents that provides durable, local-first persistent storage beyond traditional vector database retrieval.

The tool addresses the limitation of conventional memory systems that treat storage as simple retrieval pipelines splitting text into chunks and returning nearest vectors. LongMemory models temporal truth, immutability, governance, and evidence directly. It maintains separate recorded time and valid time, preserves content and provenance without rewriting during recall, enforces project and user-level access controls, and bounds recall results by relevance, contradictions, grounding, and token cost. The engine tracks lifecycle events including deterministic decay, explicit reinforcement, consolidation, and reconsolidation. Recall operates through multiple modes including strict, historical, associative, grounded, and multilingual options, with explainable evidence selection that validates cited excerpts.

The tool suits teams building LLM applications and autonomous agents that need stateless models with stateful application memory. It works as an in-memory library without external dependencies, persists to SQLite for durability across sessions, and runs as a self-hosted service via Docker or from source. The project provides a single TypeScript engine accessible through npm, CLI, HTTP, MCP, a dashboard, and VS Code integration. A zero-dependency Python HTTP client allows calling the self-hosted service from Python frameworks. Native integrations target agent hosts, automation tools, and LLM platforms including Claude Desktop, GitHub Copilot, and others.

The project shows consistent development with regular commits across multiple areas including core engine improvements, documentation updates, and integration work. Active maintenance spans the TypeScript codebase, Python SDK, CLI tooling, and dashboard components. The team addresses both foundational architecture questions and practical integration concerns, evidenced by detailed documentation covering answering policies, Python SDK usage, and design rationale. Development activity indicates sustained focus on the memory engine itself rather than external service dependencies.