Skip to content

PGMem 1.2.1: Reference implementation, synthetic dataset and Colab notebook for "Provenance-governed agentic AI for personal knowledge and memory support: a framework and rule-level demonstration"

Oct 2026 · Zenodo (CERN European Organization for Nuclear Research)

Abstract

PGMem is the reference implementation accompanying the paper "Provenance-governed agentic AI for personal knowledge and memory support: a framework and rule-level demonstration". It turns the paper's framework into working, tested Python code and a self-contained Google Colab notebook. The package implements a personal event base with typed evidence (plan, self-report, observation), record versioning, disputes and corrections; an access-policy engine that re-checks consent at retrieval, at release and at dispatch; a graded-assistance escalation gate with agreed adaptation; and a grounded-recall component with an evidence-aware release rule. Four invariants are enforced and tested: I1, no contact or disclosure without valid consent; I2, no overstatement of evidence (e.g. a calendar plan is never reported as attendance); I3, silence is never turned into an invented outcome; I4, corrected or stale records are never released. A synthetic cohort generator (default: 240 participants with memory impairment, 28 days, fixed seed) produces participants, task episodes, event-base records, recall questions and a reference history, all described and validated by a datapackage.json schema. The same simulated people and days are run under three conditions: a fixed reminder app, a single agent with retrieval-augmented generation, and the proposed framework. The analysis reports task success rate, false-prompt rate, independence, invented-outcome rate, external recall faithfulness (F_ext) and coverage, with participant-cluster bootstrap intervals, paired differences, exploratory association tests, recall results by stratum, and a development/held-out calibration of the release threshold. The notebook runs end to end on a free CPU runtime in about 1–2 minutes. It needs no external data, API keys or GPU. It produces tables, static and interactive figures, conclusions computed from the current run, a run manifest and a results ZIP. By default the text-recall step uses an explicitly labelled lexical scorer. Optionally, pretrained models (mDeBERTa-v3-base-xnli-multilingual and multilingual-e5-small) can be enabled. The architecture diagrams also describe proposed components (ASR, TTS, LLM, OPA, PostgreSQL) that are not run here. All data are synthetic. Results show how the programmed rules behave under generator assumptions. They are not clinical estimates or evidence of benefit to real people. Contents: pgmem/ Python package; 33 regression tests; synthetic data and schema; results (CSV); figures (PNG and offline interactive HTML); PGMem_Colab.ipynb (with saved outputs) and PGMem_Colab.py; rebuild and verification scripts. Інші поля: Resource type: Software (або Dataset, якщо головне — дані) Version: 1.2.1 Language: English Keywords: agentic AI; memory support; dementia; mild cognitive impairment; personal knowledge management; provenance; consent; grounded recall; retrieval-augmented generation; assistive technology; synthetic data; simulation; Google Colab Related identifiers: «is supplement to» → DOI статті (коли буде) License: я не знайшов ліцензії в проєкті, тож її треба вибрати вам. Для коду зазвичай беруть MIT або Apache-2.0, для даних CC-BY-4.0. Files: pgmem_project_en.zip, PGMem_Colab.ipynb, PGMem_Colab.py

View source

Similar papers

#computer vision Review Sep 2017

Agile Software Development Methods: Review and Analysis

This publication proposes a definition and a classification of agile software development approaches and analyses ten software development methods that can be characterized as being "agile" against the defined criterion.

P. Abrahamsson, O. Salo, Jussi Ronkainen et al. · 727 citations · ⚡54
#small language model Dataset Open access Oct 2026

Socratic guiding questions in synthetic arithmetic data: matched LoRA runs (revision v2)

Supporting data, adapters, predictions and code for the article *Low-Cost LoRA Fine-Tuning of Small Language Models for Multi-Step Arithmetic Reasoning* by Jake O'Grady, Asena Isik Gürhan, Chee Fong Ting and Effirul Ramlan (University of Galway). We generated 20,000 GSM8K-derived arithmetic problems with step-by-step s...

O'Grady, Jake, Gürhan, Asena Isik, Chee, Fong Ting et al. · 465 citations
#computer vision Jun 2008

The impact of agile practices on communication in software development

The study shows that agile practices improve both informal and formal communication, but indicates that, in larger development situations involving multiple external stakeholders, a mismatch of adequate communication mechanisms can sometimes even hinder the communication.

M. Pikkarainen, Jukka Haikara, O. Salo et al. · 401 citations · ⚡48
#machine learning Review Open access Oct 2014

Software development in startup companies: A systematic mapping study

The results indicate that software engineering work practices are chosen opportunistically, adapted and configured to provide value under the constrains imposed by the startup context.

Nicolò Paternoster, Carmine Giardino, M. Unterkalmsteiner et al. · 394 citations · ⚡54
#computer vision Review Mar 2008

Agile methods in European embedded software development organisations: a survey on the actual use and usefulness of Extreme Programming and Scrum

The results show that the embedded industry has been able to apply agile methods in its development processes and that the appreciation of the agile methods and their individual practices appears to increase once adopted and applied in practice.

O. Salo, P. Abrahamsson · 238 citations · ⚡9
#computer vision Open access Jul 2017

What happens when software developers are (un)happy

Consequences of happiness and unhappiness that are beneficial and detrimental for developers' mental well-being, the software development process, and the produced artifacts are found.

D. Graziotin, Fabian Fagerholm, Xiaofeng Wang et al. · 236 citations · ⚡13

Related blog posts

Microsoft Research Blog Oct 12, 2026

Simulating student learning for better AI tutoring

StudentSim is a research system for evaluating and improving AI tutoring tools before they are tested with learners. It models how individuals may engage with tutors, giving feedback to improve tutor performance across subjects like chess, writing, and mathematics. The post Simulating student learning for better AI tutoring appeared first on Microsoft Research.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.