# Samskara

Relational memory provider backed by a knowledge graph (MillenniumDB or any SPARQL endpoint): multi-hop recall with provenance on every fact.

- Type: Plugin
- Version: 0.3.1
- Updated: 22 Nov 2026
- Publisher: SebaWag
- Category: Memory

[Contact us](https://www.ulpi.io/en/support#contact)

## What it does

Relational memory provider backed by a knowledge graph (MillenniumDB or any SPARQL endpoint): multi-hop recall with provenance on every fact, an ontology that infers subsumption (Incidente ⊑ Evento) at reindex time, per-fact weights that are reinforced by use and decay with disuse, and explicit conflict reporting — when two values disagree, the agent says so instead of guessing. Zero-setup mode: SAMSKARA_ENDPOINT=embedded://seed/demo.ttl serves a built-in demo corpus from an in-process, read-only store (stdlib only, no network, no service to run) for the first minute; it answers the three query shapes the plugin issues and refuses arbitrary SPARQL rather than guessing.

Onboarding backfills the graph from the sessions the agent already had (state.db, read-only) and reconciles new entities against existing ones. Disclosure — with session-end extraction enabled (default), the plugin sends the recent turns of a session to the user's own model through ctx.llm (host-owned credentials, no provider override) to extract facts.

If the host does not expose ctx.llm — Ulpi's in-process memory-provider path does not today — extraction is skipped rather than redirected: the session records its entity mentions lexically and no model is called. The plugin reads no provider API key from the environment and has no default model host.

The graph endpoint defaults to loopback and is the only other network call. The CLI tool tools/backfill.py (never imported by the plugin) reads past sessions from state.db and sends them only to the endpoint the user names, via SAMSKARA_LLM_BASE_URL and SAMSKARA_LLM_API_KEY.

No telemetry. Credentials (SAMSKARA_PASSWORD) are read through agent.secret_scope.get_secret.

## Tools it adds

The tools an agent gets once this plugin is installed.

- `samskara_search`
- `samskara_query`
- `samskara_write`
- `samskara_conflicts`
- `samskara_status`

## Review notes

What an owner reads and accepts before the install is approved.

- Ulpi has not reviewed this version: it is listed in the public plugin catalog, and the install still fetches it at its pinned commit, checks its shape and scans it before you approve

## More in Memory

- [Scope Recall](https://www.ulpi.io/en/marketplace/plugins/scope-recall): Local, source-backed long-term memory: recalls what you told an agent in your own words, with when you said it.
- [screenpipe](https://www.ulpi.io/en/marketplace/plugins/screenpipe): Ambient retro-recall from the user's local Screenpipe screen+audio corpus — fail-silent pre-turn context injection, search/timeline/status tools, /recall.
- [severian](https://www.ulpi.io/en/marketplace/plugins/severian): Local-first long-term memory for Ulpi agents: a canonical append-only store.

[All listings →](https://www.ulpi.io/en/marketplace) · [Publisher's guide →](https://www.ulpi.io/en/docs) · [Report a problem →](https://www.ulpi.io/en/security#report)
