@memongo/memory-bridge
v2.0.0
Published
Memongo bridge: stable facade for the memory engine used by HTTP API and MCP
Downloads
189
Maintainers
Readme
@memongo/memory-bridge
Stable facade over the Memongo engine. Use this package when you want one supported entry point for config resolution and engine operations without binding to the HTTP API.
Install
npm install @memongo/memory-bridgeWhen to use this package
- You are implementing an HTTP API, MCP server, or custom server around Memongo.
- You want one stable layer between app code and the engine.
- You need bridge helpers such as search, write, status, sync, relevance, chain-trace, novelty-scan, and consolidation operations.
Example
import { memongoBridgeSearch, memongoBridgeStatus } from "@memongo/memory-bridge"
const status = await memongoBridgeStatus({ agentId: "main" })
const results = await memongoBridgeSearch({
query: "deployment notes",
agentId: "main",
maxResults: 10,
})Memory intelligence bridge functions
memongoBridgeTraceChain()-- reasoning chain traversal (provenance via$lookup)memongoBridgeScanNovelty()-- surprisal novelty detection (Atlas Vector Search centroid)memongoBridgeConsolidate()-- trigger offline consolidation (Dreamer pipeline)
If you are building against the public HTTP surface, prefer @memongo/client.
