Amnesia Labs

Better Context. Less Space. All Models.

We build AI infrastructure that makes every token count.

Amnesia Labs builds tools that give AI agents the memory and efficiency they've never had.

Brain

AI Memory That Learns

Persistent context management modeled on biological memory. Four specialized stores, intelligent routing, outcome-based learning.

Learn more

BrainPack

Compression Without Compromise

AI-native encoding that delivers context in fewer tokens. Up to 28% reduction. In 48% of 7,948 benchmark tests, compressed context outperforms the original.

Learn more

See the Compression

Raw context in. Packed, model-ready context out. Fewer tokens — and often better accuracy.

## System Architecture
The routing layer handles
all incoming requests and
distributes them across
multiple service endpoints.
### Key Decisions
We chose PostgreSQL for
the persistence layer due
to its JSONB support and
extensibility features that
allow flexible schemas.
`brain_store()`
Accepts namespace, target,
and data parameters. The
thalamus routes to the
appropriate memory store
based on content analysis.
### Configuration
```yaml
decay_rate: 0.15
max_results: 20
temporal_weight: 0.3
```
The temporal scoring uses
exponential decay with a
configurable half-life for
domain-specific tuning...
BrainPack
.md → .mdc
arch: routing→multi-svc
db: pg/jsonb+ext+flex
api: store(ns,tgt,d)→thal
cfg: decay=.15 n=20 tw=.3
score: exp_decay(hl,domain)
context.md
~1,000 tok
context.mdc
~720 tok

Up to 28% token reduction. Compressed often outperforms the original.

Patterns Everywhere

The brain doesn't store raw data. It encodes patterns, reinforces what works, and lets everything else decay. We took the same architecture—hippocampal indexing, cortical consolidation, temporal scoring—and turned it into infrastructure. Biology solved the context problem billions of years ago. We just translated the answer.

This cross-domain thinking drives everything we build. Music theory informs our compression harmonics. Information theory shapes our encoding. Neuroscience structures our memory stores. The best patterns aren't invented—they're discovered where disciplines intersect.

Get Started

Request early access to Brain, BrainPack, or both.