HeatherDB

Search documentation

Loading the documentation index…

Download

The associative memory database

A database that learns as you write.

Store patterns. Learn what they share. Recall from partial cues. HeatherDB runs on your CPUs, through HTTP or directly in Rust.

Natively intelligentOpen source · AGPLNo separate training pipeline for associative memory
Associations form as you write.Illustration
MorningCommuteWorkAfternoonBreakCoffeeTea
Related observations

Related observations shape shared memory. Connections shown illustrate associations in encoded data.

Your first memory.
On your machine.

Install the engine, store two patterns and recall from an incomplete cue.

Follow the Quickstart ↗
curl -fsSL https://heatherdb.com/install.sh | sh

The scripts select your platform and verify its checksum. Inspect scripts and all builds ↗

See what memory can do.

Explore working examples of associative memory and vector algebra. Each lab shows the API calls behind its result.

Illustration

Coffee · $4.50 Groceries · $62 Lunch · $14

Overseas purchase · $4,200

A different pattern stands out.

Spot what doesn’t fit

Explore how encoded spending patterns can surface an unusual event. A demonstration, not a validated fraud detector.

Open the live lab

Each lab runs against HeatherDB. Open its inspector to see the memory and the API calls behind the result.

Inside your application

Give your data a memory.

Your application supplies vectors. HeatherDB stores and recalls patterns. Your application decides how to use the result.

1 / Your application

Encode the information.

Turn records, events or content into vectors with an encoder that fits your task.

2 / HeatherDB

Store. Associate. Recall.

Adapt shared memory or preserve separate locations. Read through HTTP or Rust.

3 / Your application

Put the result to work.

Use reconstructed patterns or query documents with the APIs designed for each.

Associative reconstruction returns a vector. Document lookup and identity use separate APIs.

Explore the architecture ↗

Learning is a choice.

Two ways to write. Associative recall in both.

Competitive · default

Let memory adapt.

Related observations can update a shared representation. Novel patterns receive their own locations.

  • Learn from repeated examples
  • Adapt as patterns change
  • Measure recall and retention together
Understand adaptive memory ↗
Plain · competitive: false

Keep each observation.

Append a separate vector location for every observation, without adapting earlier locations.

  • Preserve individual vector locations
  • Use attention to recall or combine them
  • Plan for a growing memory
When not to use learning ↗

Choose the mode when creating a database. Compare the behaviours and trade-offs ↗

Numbers you can inspect.

CPU measurements with source revisions, workloads and raw samples. Performance and memory quality are evaluated separately.

Native iterative read32.39 µs

128 dimensions · 200 prefill writes.
Criterion mean on Apple M4.

Read latency and methodology ↗

Learning on. Learning off.

Matched 128-dimensional write workload · mean total time
WorkloadCompetitivePlain
One vector · one call4.72 ms4.39 ms
100 vectors · individual calls460.64 ms368.01 ms
100 vectors · one batch9.92 ms4.19 ms

20 paired samples, synchronous durability. Single-write timing does not establish a clear difference.

Intervals, limits and reproduction ↗

A database you can own.

Know how it runs, what it guarantees and where the boundaries are.

CPU-native

Run on your hardware

The engine runs on CPUs. Choose a native binary, a container or embedded Rust.

Read the details ↗
Persistent

Memory you can restart

Synchronous LMDB commits by default, with documented backup and restore procedures.

Read the details ↗
Authenticated

Control access to your data

Database-scoped users and authenticated HTTP operations. Put exposed HTTP behind TLS.

Read the details ↗
Single-node

A clear operating model

One engine process per data directory on local block storage. Replication is outside v1.

Read the details ↗
Read-optimized

Understand the write trade-off

Learning and durable commits have a cost. Batch writes and choose the memory mode your task needs.

Read the details ↗
Open source

Inspect the implementation

AGPL-3.0-only. Source, release artifacts and contribution guidelines are public.

Read the details ↗

Build with memory.

Start locally. Inspect the source. Make something useful.