Rafael Arias Calles
  • About me
  • Articles
GitHubContact

Projects

Built by Rafael

rusty-brainAll projects
About meArticles
GitHubContact
Rafael Arias Calles

MLOps, inference systems, and Rust notes.

Explore

ProjectsArticlesAbout me

Connect

Contactrusty-brain

Elsewhere

GitHubLinkedIn

© 2026 Rafael Arias Calles. All rights reserved.

Articles/Architecture

Local Embeddings Without API Keys

Rafael Arias CallesRafael Arias CallesNovember 30, 2026
Local Embeddings Without API Keys

Table of content

  • Two families of models
  • One space per brain

Share article

rusty-brain computes embeddings on your machine. Once the model is downloaded, remembering and recalling need no hosted service.

Two families of models

  • mlx-modernbert-4bit: the default for new brains, 768 dimensions, running on Apple Metal through a small Python sidecar.
  • CPU models through fastembed, such as BGESmallENV15Q with 384 dimensions.

One space per brain

Vectors from different models are not comparable, so mixing them is refused. To move to another model:

rusty-brain reembed SnowflakeArcticEmbedMQ

Every vector is regenerated while ids, tags, timestamps, agent and session are kept. Old vectors stay unless you pass --prune or --prune-all.

Want to see what I’m building with Rust?

Explore the products, open-source tools, and engineering work behind these articles.

Explore my projects