@dawn-ai/memory
v0.8.26
Published
Long-term memory storage, ranking, recall, and distillation primitives for Dawn agents.
Maintainers
Readme
@dawn-ai/memory
Supported long-term memory storage, ranking, browsing, namespace, and reconciliation primitives. Most route authors should declare memory with defineMemory() and use this package when they need direct store access.
Use this when: You need to access memory stores or ranking primitives directly instead of using only defineMemory().
Install
pnpm add @dawn-ai/memoryExample
import { sqliteMemoryStore } from "@dawn-ai/memory"
const store = sqliteMemoryStore({ path: ".dawn/memory.sqlite" })Supported focused entry points are @dawn-ai/memory/browse, @dawn-ai/memory/namespace, and @dawn-ai/memory/reconcile.
Runtime and stability
@dawn-ai/memoryis a supported node-only application surface because it includes SQLite.@dawn-ai/memory/browseis a supported, dependency-free edge-safe integration surface.@dawn-ai/memory/namespaceis a supported edge-safe integration surface.@dawn-ai/memory/reconcileis a supported edge-safe integration surface.
SQLite rows contain plaintext content, data, sources, and tags. Treat the database as sensitive application data and enforce tenant scope at the caller boundary.
Related
- Memory API reference — exact store, query, and subpath contracts.
- Long-term Memory — application configuration.
- Recall and Retrieval and Browse and Manage Memory — retrieval and administration workflows.
@dawn-ai/memory-pgvector— shared Postgres-backed vector memory.
Maturity and support
Dawn is pre-1.0, and its public surface can change. All publishable Dawn packages release together as a fixed group; review the @dawn-ai/memory changelog and upgrading guide before upgrading. For support, use GitHub Discussions; report defects in GitHub Issues.
License
MIT. See the repository license.
