memoriesQL
Build memories with meaning.
memoriesQL is an open-source, local-first memory foundation for AI agents. It preserves authorized evidence in PostgreSQL and supports agent-authored structured observations with inspectable source support.
The memoriesql package provides the provider-neutral open core: canonical
migrations, versioned contracts and composable Python runtime mechanics. It is
not the memoriesQL desktop product or a configured background memory service.
Experimental / pre-alpha. Installed fictional tests qualify mechanics, not real-provider quality or production readiness. Applications must supply source qualification, authority, worker composition and qualified model bindings.
Install and explore
Use Python 3.13 or 3.14 (>=3.13,<3.15). This page describes the 0.0.12
distribution. Until its publication is independently verified, use the reviewed
local wheel; after publication, install the exact pin below. Published 0.0.11
remains available without relation assessment after acceptance (schemas 28–29).
python3.13 -m pip install memoriesql==0.0.12
memoriesql --version
memoriesql contracts --json
memoriesql contract memoriesql.capture.connector-cursor --json
from memoriesql.contracts import get_contract, load_catalog
schemas = load_catalog("json_schema")
cursor_contract = get_contract("memoriesql.capture.connector-cursor")
Catalog inspection uses bundled resources without a database, provider credentials or external service access. The CLI does not start a memory service.
What you can build on
- Durable authorized raw capture, receipt-backed progress and retained-fold recovery.
- Stable qualified source identity and immutable evidence packages.
- A durable semantic-task queue with fenced execution, cancellation and accounting.
- Structured observations, explicit distinct-bead corrections, local entity mentions and attributable classification.
- Authorized source revisiting and stored-memory/evidence inspection without inference on reads.
A bead is a source-anchored observation whose statements carry meaning, attribution, conditions and uncertainty. Its short title and summary are human navigation, not replacement evidence. Meaning is authored by an agent or human; deterministic code validates and persists it.
Version 0.0.12 adds relation assessment after acceptance (schema 29, task
memory.semantic.assess-relations revision 1): a separate task pins explicitly
supplied accepted beads and exact relation-type revisions, an author proposes
relations between their existing statements and covers every pinned pair, and
code accepts a proposal only when a provider-neutral specialist finds that exact
assertion consistent; a disagreement stays unaccepted. Assessed relations cannot
yet be disputed or retracted, so they are an explicitly incomplete substrate, not
qualified for live durable use or recall. Schema 28 keeps why canonical apply
refused an attempt's output. Dependencies are unchanged from 0.0.11. Version
0.0.11 adds authored claims and relations (schema 27, author-complete-unit
revision 6): the primary author of one complete unit may optionally propose
tracked claims, evidence-backed relations to explicitly pinned candidate beads
and lifecycle judgments about those candidates' claims, and assess every pinned
candidate. Code validates identity, pins and evidence; it never infers a
relation, conflict or winner. Claim and relation states are derived from
append-only history as of a known time, and a derivative never counts as
independent corroboration. Dependencies are unchanged from 0.0.10. Version
0.0.10 binds authored statements to the executor's run reference before
hashing and settles data-error canonical-apply refusals as invalid output. Version
0.0.9 combined declared evidence scopes (schema 25), explicit supervised
managed dispatch (schema 26), and terminal-failure cleanup that retains errors
without claiming a failed write persisted. Hard-bounded model admission remains
the default; supervised managed dispatch requires separate exact approval and
records its allowances and reported or unavailable usage truthfully. The package
supplies no provider adapter or live-call permission. No live-provider semantic
quality, production recall or complete-input correction/reauthoring is claimed.
Explicit composition, not automatic setup
Installation does not migrate PostgreSQL, grant access, provision trusted producers, activate tasks, start workers or configure a provider. Consumers must explicitly compose those operations and authorize any disclosure to a model. Core dependencies do not include provider extras.
Required target evidence must be supplied through the trusted execution path;
mechanical exposure does not prove comprehension or whole-source completeness.
Incomplete work stays incomplete. Hosts retain the worker/event loop through
wait_for_cleanup(); cancellation is not proof of remote termination, rollback
or reconciled usage.
Start with the repository guide, migration operations, caller composition and model admission. Development documentation may describe changes not yet published; check its release status before adopting them.
Compatibility and license
All 0.x APIs are experimental, with no general compatibility guarantee. Published contract payloads remain immutable; breaking payload changes require a new contract version, and changed published artifacts require a new distribution version. Pin releases and apply migrations explicitly.
Public core owns the canonical schema and provider-neutral runtime. Desktop surfaces, source-specific acquisition/parsing, installers, provider bindings, hosted services and sync are outside this package.
Source is Apache-2.0 licensed. The memoriesQL name and artwork remain John Inniger's trademarks under the trademark policy. Contributions use the Developer Certificate of Origin.
Release files for memoriesql 0.0.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| memoriesql-0.0.12.tar.gz | 643.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| memoriesql-0.0.12-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.4 MB
Release files / memoriesql-0.0.12.tar.gz
| Download URL | memoriesql-0.0.12.tar.gz |
|---|---|
| Size | 643.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dd8f11dccc9522fee2dbaf57933288cf06d8ac26529e9de10372b2d6b84efbd3
|
|
BLAKE2b-256 checksum How to use checksums |
b4a218373a9dba184aaefffa2cc715a74fe82bd0e67b8a9567b4f7edac930fc3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 25, 2026.
Transparency logRelease files / memoriesql-0.0.12-py3-none-any.whl
| Download URL | memoriesql-0.0.12-py3-none-any.whl |
|---|---|
| Size | 720.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bfc00c1144c8477cd8623fd441de0827f7167a47ae15150da04b095e09f418ce
|
|
BLAKE2b-256 checksum How to use checksums |
0e8907f7176d89309cb84d83f411d3913b30bf9ab7a68160b9f36cb2afb520bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 25, 2026.
Transparency log