Skip to content
Sameer Bhalerao
Work

Work / Independent AI · Private personal intelligence on a local model

Soul Spark

Working prototype

Brings finance, health, career and other personal data into one local database, analyzes it with deterministic code, and uses seven AI advisors on a local model to explain it.

In daily personal use. RAG over its knowledge base is in progress.

Soul Spark daily brief summarising signals across several life domains
Daily brief: one read across domainsThe daily brief in the phone layout. It leads with the one signal that most needs attention that day, here a portfolio concentration warning, and the suggested next step.

01

Purpose and scope

Health, money and work data sit in separate apps, so no single view shows how they affect each other. Cloud AI tools would mean sending that personal data to an outside provider.

Soul Spark keeps everything on one machine: one local database, deterministic analysis, and advisors running on a local model.

02

What I built

  • Imports from sources such as Apple Health and Google Sheets into one local DuckDB database, with row-level provenance, de-duplication and retention rules.
  • Data-quality gates and freshness checks per signal. A signal that fails its required gates does not run, and confidence can never exceed the weakest evidence.
  • A deterministic chain from metric to signal to insight to action, with no AI in it.
  • Seven domain advisors on a local LLM through Ollama, with a tool-calling loop and a deterministic router. Exact-figure questions are answered from computed data, never by the model.
  • 1,100+ tests across the codebase.

Python · DuckDB · Ollama · Streamlit · Internal agent runtime

03

Architecture and data flow

Personal data sources feed one local database. Deterministic code turns the data into signals and actions, quality gates decide what is reliable, and the advisors explain the results and answer questions through a local model.

Life domains

Finance

Health

Career

Social

Growth

Library

DuckDB

single local store, on-device

Multi-agent runtime

Internal graph runtimeShared memoryPending-action loopPacket-native contracts
local inference (Ollama)

Unified advisor chat

here is what you should do next

Privacy boundary

Storage, analysis and model inference all run on the host machine. Remote access goes through a Cloudflare tunnel.

04

In the product

Soul Spark advisor answering a question from the user’s own data

Advisor: answers grounded in the user’s own data

An advisor answering a finance question. The figures in the answer come from computed data, and the local model writes the explanation around them. Personal amounts are blurred in this image.

Soul Spark view of connected patterns across health, finance, sleep and work

Patterns across domains, from threshold rules

Key wealth and wellbeing metrics, and a pattern that links sleep and work to energy. Patterns like this come from threshold rules today, not from a statistical model.

Walkthrough of the working prototype

A 79-second walkthrough of the working prototype.

05

What the prototype demonstrates

  • Data governance applied to a personal product: provenance, quality gates and freshness.
  • Using a local model where privacy matters, with deterministic answers for exact figures.
  • Reducing many signals to one next action.

06

Current limits and next steps

Limits today

  • A personal tool with a handful of workspaces. Not a commercial product and no paying users.
  • Cross-domain patterns come from threshold rules, not statistical models, and there is no vector search yet.

Next

  • Retrieval-augmented generation over its knowledge base (in progress).
  • Closing the outcome loop: recording whether the metrics behind each action moved.

Next project

ReasonTrail

Workflow demo