Enterprise ProductBETA

ngramDB

Neuro-Biological Memory for AI

A purpose-built neural database that gives your AI systems the ability to remember, learn, and reason—the way biological memory actually works.

AI Systems Shouldn't Forget

Traditional databases store data. ngramDB stores memories—with the same biological mechanisms that make human expertise possible.

Traditional Databases

Store and retrieve exact records. No learning, no connection discovery, no knowledge that emerges over time.

Graph Databases

Model relationships explicitly. But connections are static—they don't strengthen with use or fade without reinforcement.

ngramDB

Memories that learn from use. Connections strengthen through co-activation. Knowledge consolidates and abstracts automatically.

Biological Memory, Engineered for Production

ngramDB implements the same memory mechanisms found in biological neural systems, adapted for reliable, scalable production use.

Spreading Activation Retrieval

Instead of searching, ngramDB activates. A query triggers energy that propagates across weighted connections, naturally surfacing related memories—including non-obvious connections no explicit search would find.

Like expert recall: "I've seen this pattern before" → related knowledge activates automatically → insight emerges.

Hebbian Learning

"Neurons that fire together, wire together." When memories are activated together, their connections automatically strengthen. Unused connections naturally weaken. Your knowledge graph evolves with real usage.

No manual curation needed—the system learns which associations matter from actual retrieval patterns.

Automatic Consolidation

Like sleep consolidation in the brain, ngramDB periodically clusters related memories, merges redundant patterns into prototypes, extracts higher-order abstractions, and archives irrelevant details.

Store 1,000 raw observations → automatically distilled into actionable patterns and strategic insights, with full provenance.

Graceful Forgetting

Memory weights decay naturally over time. Frequently reinforced knowledge stays strong. Outdated patterns fade from relevance without manual cleanup. Memories are never lost—just deprioritized.

Self-cleaning memory that keeps what matters and gracefully ages what doesn't—no deletion, no data loss.

Multi-Level Abstraction

Raw observations automatically progress through multiple levels of abstraction: from individual data points to clustered prototypes to detected correlations to behavioral tendencies to strategic insights.

From "50 individual bug reports" to "this system has a recurring pattern of X"—extracted automatically.

Intelligent Deduplication

Storing the same knowledge twice doesn't create duplicates—it reinforces the existing memory. Frequently observed patterns grow stronger automatically, mirroring how repetition strengthens biological memory.

Storage stays lean while frequently-seen patterns gain prominence in retrieval results.

Built to Scale

From a single instance to a horizontally sharded cluster—ngramDB scales with your memory requirements.

Horizontal Sharding

Consistent-hash sharding distributes memories across nodes with minimal data movement during scaling. Add capacity without downtime or full rebalancing.

Configurable Replication

Built-in replication with configurable consistency guarantees—from eventual consistency for throughput to strong consistency for critical memory operations.

Sub-Millisecond Operations

Vectorized operations deliver sub-millisecond memory encoding and comparison. Activation queries complete in under 100ms even across thousands of interconnected memories.

Crash Recovery

Write-ahead logging and atomic snapshots ensure memory durability. Fast startup with health-check readiness in seconds, not minutes.

Performance at a Glance

<10ms

Memory Storage

<100ms

Activation Query

<5ms

Edge Reinforcement

<15s

Cold Start

Use Cases

Anywhere AI needs to remember, learn, and improve over time.

Autonomous Agent Memory

Give AI agents persistent memory that learns from every interaction. Successful approaches strengthen, failed approaches fade. Agents get smarter over time, not just bigger.

Knowledge Distillation

Compress thousands of raw observations into actionable patterns and strategic insights. Automatic abstraction with full provenance— always trace an insight back to its sources.

Pattern Discovery

Discover hidden correlations and non-obvious connections across your data. Spreading activation finds patterns that no explicit query would surface.

Character & NPC Memory

Build game characters and virtual agents with believable memory. Personality evolution, emotional recall, and memory consolidation tied to narrative events.

Continuous Improvement Systems

Track successes and failures with automatic reinforcement. Anti-pattern detection, root cause analysis, and trend discovery—all emerging naturally from stored memories.

Conversational AI Context

Move beyond fixed context windows. Give your conversational AI long-term memory that recalls relevant past interactions, learns preferences, and builds expertise over time.

How ngramDB Compares

CapabilityTraditional DBGraph DBVector DBngramDB
Learns from usageNoNoNoYes — Hebbian learning
Auto-consolidationNoNoNoYes — periodic
Graceful forgettingManual deleteManual deleteManual deleteAutomatic decay
Pattern discoveryExplicit queriesTraversalSimilarity searchSpreading activation
Knowledge abstractionApplication logicApplication logicApplication logicBuilt-in multi-level
Connection evolutionStaticStaticN/ADynamic — evolves with use

Integration

Async-first Python client with straightforward integration into any AI pipeline or application.

Async-First Python SDK

Built for modern async applications with full type annotations

Composite Ranking

Configurable scoring across memory strength, recency, and relevance

Rich Metadata Filtering

Powerful query predicates for precise memory retrieval

Feedback Loops

Built-in feedback mechanism drives Hebbian learning from real usage

Document Storage

Hierarchical document ingestion with automatic semantic clustering

Persona Isolation

Namespace memories by persona, tenant, or domain for multi-context use

Containerized Deployment

Docker-native with health checks, graceful shutdown, and resource limits

Observability

Built-in telemetry for consolidation cycles, deduplication rates, edge evolution, and memory health

Give Your AI Real Memory

ngramDB is available for enterprise integration. Contact us to discuss your use case, request a demo, or explore licensing options.

Contact Enterprise Sales

enterprise@engramforge.com

ngramDB is currently in beta. Features, APIs, and performance characteristics described on this page reflect current development targets and may change prior to general availability.