DEV Community

Nicola Lorenzini
Nicola Lorenzini

Posted on

๐Ÿ› ๏ธ MyZubster Dev Update โ€” Local AI + RAG

๐Ÿ› ๏ธ MyZubster Dev Update โ€” Local AI + RAG

Today we made an important step forward in MyZubsterโ€™s local AI infrastructure.

We now have a local stack built around:

MyZubster API โ†’ Qdrant โ†’ Ollama โ†’ Mistral

with nomic-embed-text generating embeddings and Mistral running locally to generate answers.

๐Ÿ”— MyZubster MVP
https://github.com/nicolaususnicola-lgtm/myzubster-mvp

๐Ÿ”— Ollama
https://ollama.com/

๐Ÿ”— Qdrant
https://qdrant.tech/

What changed?

The main work today was on the RAG โ€” Retrieval-Augmented Generation โ€” pipeline.

Previously, every AI question caused MyZubster to regenerate embeddings for all observations and upsert them into Qdrant again before searching.

We separated indexing from retrieval.

Now:

When an observation is recorded
โ†’ MyZubster stores it
โ†’ its embedding is generated
โ†’ it is indexed in Qdrant

When a question is asked
โ†’ only the question embedding is generated
โ†’ Qdrant retrieves the most relevant information
โ†’ that context is passed to Mistral
โ†’ Mistral generates the answer

This avoids repeatedly indexing the same observations and moves MyZubster toward a persistent, searchable local knowledge layer.

We also worked on the Kefir & Knowledge / KF-006 data and made an important evidence distinction explicit:

RECORDED = digitally recorded inside MyZubster
onchainRecorded=false = no blockchain registration is being claimed

That distinction reflects one of the principles we are applying throughout development:

Evidence first. Claim only what the available data can actually verify.

The backend refactor was validated with the automated test suite:

โœ… 25/25 tests passing

Next step

The next stage is to connect the broader MyZubster knowledge base โ€” including N4K48, Zorgax, roadmap and project documentation โ€” to the same RAG architecture, with a consistent data schema, deterministic indexing and duplicate control.

The goal is not simply to build another chatbot.

The goal is to build a local MyZubster AI that can retrieve and reason over the projectโ€™s own knowledge and evidence.

MyZubster #LocalAI #RAG #Ollama #Mistral #Qdrant #N4K48 #Zorgax #OpenSource #DevUpdate

Top comments (0)