Digital Sibling

A local-first digital twin of a person and their working life: editable canon, retrieval, an intake questionnaire, and a fictional sample persona. Offline-first Python; no API key required for the core path.

Lab thesis

A usable profession twin is less “train a model on everything” and more curate judgment artifacts, retrieve them, and refuse when evidence is missing. Canon stays portable markdown; the index is a disposable cache.

What you will learn

  1. Canon over weights – profile, principles, exemplars, and playbooks are the twin.
  2. Sample persona – ask fictional staff engineer Alex Rivera before building your own.
  3. Intake questionnaire – capture someone else’s profession surface deliberately.
  4. Retrieve then generate – lexical index first; optional Ollama synthesis later.
  5. Pack and move – copy canon + runtime; rebuild derived artifacts anywhere.
  6. Blank starter – replace the sample when you are ready for a real twin.

Quick start

git clone https://github.com/iammikek/digital-twin.git
cd digital-twin
python3 -m venv .venv
source .venv/bin/activate
pip install -e '.[dev]'
pytest
sibling ask "Would Alex share a database across team boundaries?"

Core tests and retrieval demos pass with no secrets. Design rule: canon is the twin; fine-tunes are optional later.