Incremental sample indexer

SampleBrain

In prod LanceDBCLAPlaunchd

What it is

Semantic search across an audio sample bank: CLAP embeddings, LanceDB vector index, a watch agent reconciling the disk every six hours.

The architect's call

Validated on 654 real files: 569 distinct contents, 85 duplicates caught by fingerprint. SHA-256 chosen over BLAKE3 — slower in theory, faster here because hardware acceleration on the former outweighs the latter's algorithmic edge at this file profile. Measured trap: an emptied fragment is not a deleted fragment, and the index kept ghost entries until deletion was explicitly tombstoned.

The code

View the repository ↗

Capabilities engaged

Your data cannot leave the building?

That is precisely the problem I solve. A 30-minute call is enough to scope an audit.