Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

ai DeMemory

A small, local-first memory for people and AI tools.

This is the V3 alpha, a clean reset. Install the explicitly versioned V3 package from PyPI; an unpinned stable package install may still select V2.

python -m pip install "ai-dememory==3.0.0a6"

Portable project wiki

Use ordinary, linked Markdown in each project without a vault, provider or MCP:

ai-dememory setup --project . --yes
ai-dememory remember "Verify attachments during restore tests." --project . --page lessons.md --title "Restore lessons"
ai-dememory recall "restore attachments" --project .

Setup creates a small docs/dememory/index.md and adds a managed pointer to AGENTS.md, preserving existing instructions. English templates are optional; content can remain in its original language. No private memory is imported. Optional local hooks: add --with-codex or --with-claude to project setup, then review/trust the hooks in that client. No MCP server is required.

The dashboard's Project wiki page edits revision-bound pages, inspects sources, binds read-only shared knowledge and configures local maintenance or separately consented, budgeted assistance. The fast librarian selects exact excerpts; it does not invent facts or automatically rewrite knowledge. Markdown remains usable without DeMemory. See the wiki guide.

Private shared vault and existing integrations

ai-dememory setup
ai-dememory remember "Something worth remembering"

The first setup saves a default vault outside the installation, so later commands work from any directory. A save is reported only after the canonical Markdown file has been read back successfully. Saving does not build SQLite; ai-dememory recall "something" creates the disposable FTS index lazily. The default runtime has no daemon, network, model calls, Node dependency or child processes.

AI integrations are optional. The foreground MCP module exposes seven tools, including scoped learning with provenance and reversible forgetting. Inference stays provisional. The optional local workbench manages memory, provider routes, fallbacks, budgets and consolidation schedules in a browser.

For project-aware Codex integration, run ai-dememory setup --with-codex --yes, then restart Codex and trust UserPromptSubmit and SessionStart in /hooks. Native learning uses the host assistant, not an additional extraction model. Existing Codex tool approval policy still applies.

ai-dememory module enable workbench
ai-dememory serve workbench

Open http://127.0.0.1:8765. Models and scheduling remain unconfigured/off until you choose them. On Windows, optional setup --with-schedule --yes installs a current-user hourly check of the saved consolidation schedule (new default: weekly). No resident worker or conversation ingestion. Pause/change cadence and scope in the dashboard; remove with serve workbench --task remove. Provider credentials use process-local keys, environment references or the optional separately authenticated Codex subscription adapter.

V3 is a clean format with no 2.x migration or compatibility layer. Keep secrets and credentials out of memory. Full source and documentation: github.com/GonzaloTorreras/ai-dememory.

Metadata

Release files for ai-dememory 3.0.0a6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ai-dememory 3.0.0a6
File Size Uploaded Provenance Actions
ai_dememory-3.0.0a6.tar.gz 160.9 kB With provenance Details for ai_dememory-3.0.0a6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ai-dememory 3.0.0a6
File Interpreter ABI Platform Actions
ai_dememory-3.0.0a6-py3-none-any.whl Python 3 none any Details for ai_dememory-3.0.0a6-py3-none-any.whl

Total release size: 341.1 kB

Release files / ai_dememory-3.0.0a6.tar.gz

Download URL ai_dememory-3.0.0a6.tar.gz
Size 160.9 kB
Tags Source
SHA-256 checksum
How to use checksums
9bdcab637aff2e31dcfb53d3fa88472a2d86c009afcd08f2c18784999f86b36d
BLAKE2b-256 checksum
How to use checksums
824f50d2ba7976df5fce2bb3a2a37f80a2bf4d9c04dd1bce29d59a52e4a29505
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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 Nov 21, 2026.

Transparency log

Release files / ai_dememory-3.0.0a6-py3-none-any.whl

Download URL ai_dememory-3.0.0a6-py3-none-any.whl
Size 180.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
69378f48e5a42f1c97942a151d2d8bf8733b512403b7229d8756dd706e7c5f48
BLAKE2b-256 checksum
How to use checksums
89a6adccb1f3e54ecf0289c7d204e849224ee9152f200f4a085ccb40ba47be5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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 Nov 21, 2026.

Transparency log

Security for ai-dememory 3.0.0a6

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ai_dememory-3.0.0a6.tar.gz

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 Nov 21, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page