localmem 0.1.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- localmem/__init__.py +32 -0
- localmem/__main__.py +6 -0
- localmem/api/__init__.py +1 -0
- localmem/api/app.py +700 -0
- localmem/api/models.py +216 -0
- localmem/api/websocket.py +83 -0
- localmem/archiver.py +605 -0
- localmem/cli.py +935 -0
- localmem/config.py +305 -0
- localmem/consolidator.py +377 -0
- localmem/contradiction.py +68 -0
- localmem/embedder.py +103 -0
- localmem/embedding_migrator.py +299 -0
- localmem/graph_store.py +228 -0
- localmem/health.py +91 -0
- localmem/intelligence.py +433 -0
- localmem/logging_config.py +77 -0
- localmem/mcp_server.py +644 -0
- localmem/metadata_store.py +524 -0
- localmem/metrics.py +85 -0
- localmem/migrations/__init__.py +14 -0
- localmem/migrations/runner.py +174 -0
- localmem/migrations/v001_retention_foundations.py +66 -0
- localmem/models.py +188 -0
- localmem/prometheus_exposition.py +133 -0
- localmem/summarizer.py +93 -0
- localmem/summarizer_llm.py +244 -0
- localmem/taxonomy.py +89 -0
- localmem/vector_store.py +376 -0
- localmem/wake_up.py +115 -0
- localmem/worker.py +228 -0
- localmem-0.1.1.dist-info/METADATA +203 -0
- localmem-0.1.1.dist-info/RECORD +36 -0
- localmem-0.1.1.dist-info/WHEEL +4 -0
- localmem-0.1.1.dist-info/entry_points.txt +4 -0
- localmem-0.1.1.dist-info/licenses/LICENSE +21 -0
localmem/__init__.py
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"""localmem — local-first multi-agent memory MCP server.
|
|
2
|
+
|
|
3
|
+
Hybrid (dense + sparse) vector search via Qdrant, behavioral pattern graphs
|
|
4
|
+
via NetworkX, temporal knowledge triples and per-wing taxonomy in SQLite,
|
|
5
|
+
plus lifecycle management (consolidation + archive) — all served over MCP/SSE
|
|
6
|
+
with an optional read-only browser dashboard.
|
|
7
|
+
"""
|
|
8
|
+
|
|
9
|
+
__version__ = "0.1.1"
|
|
10
|
+
|
|
11
|
+
from .config import LocalmemConfig, load_config
|
|
12
|
+
from .contradiction import detect_and_resolve
|
|
13
|
+
from .embedder import Embedder
|
|
14
|
+
from .graph_store import GraphStore
|
|
15
|
+
from .metadata_store import MetadataStore
|
|
16
|
+
from .models import (
|
|
17
|
+
BehavioralObservation,
|
|
18
|
+
ContradictionEvent,
|
|
19
|
+
DiaryEntry,
|
|
20
|
+
Entry,
|
|
21
|
+
EntryType,
|
|
22
|
+
GraphQuery,
|
|
23
|
+
InferenceChain,
|
|
24
|
+
RoutingDecision,
|
|
25
|
+
SearchQuery,
|
|
26
|
+
SearchResult,
|
|
27
|
+
Triple,
|
|
28
|
+
WakeContext,
|
|
29
|
+
)
|
|
30
|
+
from .taxonomy import Taxonomy
|
|
31
|
+
from .vector_store import VectorStore
|
|
32
|
+
from .wake_up import WakeUp
|
localmem/__main__.py
ADDED
localmem/api/__init__.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""LOCALMEM REST+WS dashboard sidecar."""
|