Applied Research01 / 14
A Fully Local AI Agent with a Meaning Graph and Multimodal Emotion Measurement
A fully local agent over personal data that turns measured signals into a meaning graph of relations, affective episodes, themes, chapters and owner-validated truths, with emotion measured on messages, voice and photos.
Replay the day
- 1 message1 received
- 1 conversation1 received
- 9 messages9 received
- 1 e-mail1 received
- 1 e-mail1 received
- 1 conversation1 received
- 1 e-mail1 received
- 1 note
- 1 e-mail1 received
- 1 message1 received
- 1 conversation1 received
- 1 message1 sent
- 1 conversation1 sent
- 17 messages8 sent · 9 received
- 1 e-mail1 received
- 9 messages6 sent · 3 received
- 1 e-mail1 received
A fully local agent turns personal traces into a meaning graph whose truths only the owner can validate, with emotion measured on messages, voice and photos.
Key figures
- defined dimensions, many unusual
- 929
- not all computed yet
- emotions in one cross-modal vocabulary
- 53
- criterion checks passed, after fixes
- 73 → 100 %
- same set; single run
- personal sources linked, back to 1996
- 30
Abstract
Messages, photos, e-mails, music, voice: my digital traces have piled up for years. I wanted to see what can be learnt by crossing them at the scale of a whole person, emotions included, without sending anything to the cloud. The agent runs locally, measures the signals, then lifts them into a meaning graph whose every truth I validate. On my test set, its answers met every criterion after fixes.
Key notions
- meaning graph
- owner-validated truths
- multimodal emotion measurement
- unusual dimensions
- fully local agent
Where it started
The problem was my own. My digital traces go back to 1996: WhatsApp messages since 2014, photos since 2001, e-mails, a Google activity history, music plays, voice notes, counted steps. Each application keeps its piece of my life and none of them talks to the others. I wanted to know what could be learnt by crossing all of it at the scale of one whole person: their relationships, the chapters of their life, and what their emotions leave behind in words, voice and images.
These data are the most sensitive thing I own. Handing them to a model in the cloud was out of the question, and so was letting a model decide for me what is true in my life. So I built an agent that runs entirely on my own computer, measures the signals, then submits to me what it thinks it understands. I use it every day.
What I built
flowchart LR
PH["Photo"] --> PM["Light, colour<br/>and face signals"]
VN["Voice note"] --> VL["Transcript and<br/>acoustic layers"]
MS["Messages<br/>(pseudonymised)"] --> ML["Local model<br/>on a fixed emotion grid"]
VL --> VF["Fusion<br/>text/voice mismatch flag"]
PM --> OB[("Observatory")]
VF --> OB
ML --> OB
OB --> AFF["Affective episodes"]
ML --> THM["Themes"]
AFF --> G["Meaning graph<br/>(all proposed)"]
THM --> G
G --> HV(("Owner<br/>validates"))An observatory stores facts and signals; above it, a meaning graph stores what they mean: relations that can evolve, affective episodes (who felt what, when, how strongly, through which modality), themes, chapters of a life, and truths with the evidence that supports or contradicts them. Every node traces back to its source element.
Everything the system infers comes out as a proposal. The agent reaches the data only through a narrow interface whose tools propose and never decide, and a validation queue shows me each proposal with the conversation or recording it came from. My decision, to validate, reject or correct, is what turns it into a truth, and that decision always outranks any model.
Emotion is measured with one fixed vocabulary on messages, voice and photos, along dimensions that are often unusual. When the voice and the words disagree (an “I’m fine” said sadly), the agent keeps the disagreement as a signal in its own right. A photographed smile is never taken for a felt joy, nor a track’s mood for the listener’s.
Everything runs on local open models for text, voice and images. Sources are read as read-only snapshots, and third parties appear in them only under a pseudonym.
A day seen by the agent
The agent links 30 personal sources, the oldest going back to 1996: 258,000 WhatsApp messages since 2014, 143,709 photos since 2001, 40,468 e-mails, 113,566 Google activities and 124,909 music plays, among others. Any day can then be replayed hour by hour, person by person. Below, a real day from October 2021.





Sources: the owner’s own screens, 20 October 2021 and 13 October 2026 · interface in French · names and photos blurred
What the numbers say
To check the agent, I wrote a set of 16 questions, traps included, whose ground truth is computed by calling the tools directly. It checks tool choice, the correctness of the answers and their numerical fidelity: every number in an answer must appear in the tool outputs of the same turn. The score reached all 62 criteria after fixes to the tool descriptions, argument validation, the configuration and the rubric. I then introduced a reduced tool interface; on the same set, the score fell to 76 % and climbed back to 90 %.
Questions that cross several sources went from 73 % to 90 % of criteria. Deliberately unusual questions scored 89 % and exposed silent zeros, since fixed. On latency, one heavy aggregate query went from 172 s to 0.1 s (a single timing), and the tool descriptions were cut by more than half.
There are also 61 cross-exploration scenarios, written as templates resolved on the real data. The code that computes each one’s ground truth runs on all of them without leaking any content above the permitted sensitivity level.
What it is worth, and what is missing
The evaluation sets are small, and I wrote them myself. The same set served both to guide the fixes and to score them, the rubric itself changed, and every figure comes from a single run. These measures track fidelity and regressions; they say nothing about general capability. The agent has not yet been scored on the scenarios: only their ground-truth code has been run.
The emotion outputs are uncalibrated hypotheses. The vocabulary’s coordinates are starting values, personal calibration from validated examples is still to be done, and most of the models have only been tested on synthetic data.
No personal content leaves the machine; the only outbound call is an optional lookup of public music previews, by artist and title. Answers take a few tens of seconds.
Technical details
A sample of the less common dimensions in the catalogue († defined, not yet computed):
| modality | dimension | what it captures |
|---|---|---|
| photo | colour temperature | warm vs cool balance of the image |
| photo | golden hour / blue hour † | sun position computed offline from date and place |
| voice | laughter, crying, sighs | sound events in the recording |
| voice | text/voice mismatch | voice and words carry clearly different feelings |
| relation | reply-latency asymmetry † | who waits longer for the other’s reply |
| period | musical nostalgia † | mean age of the tracks listened to |
The same day, set in its context:

All thirty sources, by volume (period start; data as of 13 October 2026):
| source | volume | since |
|---|---|---|
| 258,000 messages | 2014 | |
| Photos | 143,709 items | 2001 |
| 113,566 activities | 2006 | |
| 40,468 messages | 2002 | |
| Music | 30,351 tracks · 124,909 plays | 2009 |
| Interactions (iPhone) | 19,014 | 2026 |
| iCloud Drive | 15,795 files (metadata only) | 2007 |
| Safari | 14,613 pages | 2025 |
| iMessage · SMS | 14,171 messages | 2020 |
| Lightroom | 7,365 edited photos | 2024 |
| 6,794 messages | 2025 | |
| Voice | 5,551 recordings | 2020 |
| Apple account export | 3,780 app installs | 2024 |
| Calendar | 3,751 events | 1996 |
| Phone | 2,814 calls | 2024 |
| Contacts | 2,428 people | 2020 |
| Health | 2,369 days measured | 2020 |
| Netflix | 1,835 hours | 2017 |
| Podcasts | 1,144 episodes | 2020 |
| Fujifilm | 929 photos | 2024 |
| Places | 865 places | 2001 |
| Documents | 709 documents | 2020 |
| reMarkable | 615 handwritten pages | 2022 |
| Notes | 535 notes | 2011 |
| Reminders | 518 reminders | 2016 |
| DJI drones | 82 flights | 2021 |
| Screen Time | 60 hours (accumulating) | 2026 |
| Trips | 54 train and air journeys | 2023 |
| Voice memos | 43 memos | 2020 |
| Code | 24 projects · 522 commits | 2025 |
Stack
Python · SQLite / FTS5 · Ollama · llama.cpp · MLX · PyTorch · Hermes Agent · MCP · PWA
Topics
Licensed under CC BY 4.0
How to cite
Boris Dupoux. (2026). A Fully Local AI Agent with a Meaning Graph and Multimodal Emotion Measurement. borisdupoux.com. https://borisdupoux.com/research/local-ai-agent/
Related content
Back to Applied ResearchPreviousPollutant Detection by Drone (Day & Night)
