Skip to main content

MindSlice

Portable memory for AI agents, with isolation and evolution built in.

Keep project knowledge, personal preferences and shared handbooks in plain Markdown. Mount what an agent needs, let it learn in its own workspace, and bake those learnings into reusable versions. Connect through MCP, the CLI or Python.

MindSlice architecture: isolated read-only slices and a writable overlay, optional staging for approval, and bake into new slice versions.

Why MindSlice?

Isolation. A slice is a folder of Markdown cards you can mount, unmount and share independently. Mounted slices stay read-only through the engine; new learning goes into a separate overlay. Multiple workspaces can reuse the same baseline while keeping their own changes. Pending edits stay outside live memory until approved.

Evolving memory. Cards can explicitly extend or supersede earlier knowledge, so retrieval follows recorded relationships under your trust rules. bake turns selected changes into new slice versions, preserving the original folders and returning the new paths.

Hot/cold memory focuses on what stays in context and what is retrieved later. LLM Wiki focuses on compiling sources into a maintained knowledge base. MindSlice makes memory boundaries and controlled evolution first-class engine operations. How these approaches fit together →

Python 3.12+. No runtime dependencies, database server or LLM API calls inside the engine.

Get started

Paste this into your coding agent:

Install MindSlice (`pipx install mindslice` or `uv tool install mindslice`),
then read https://raw.githubusercontent.com/pancerZH/MindSlice/main/skills/mindslice-setup/SKILL.md to finish setup.

The agent helps you choose a workspace, connect your app, and choose how to start:

Starting point Tool
Empty memory or a short conversation MindSlice init and ordinary memory writes
Existing MindSlice workspace Connect it directly with -w
Shared .slice or Markdown notes folder MindSlice mount, indexed as is
Documents to distill into structured cards MindSlice-forge

Forge is an optional document-conversion tool. It creates a new workspace using an agent harness; MindSlice handles storage, retrieval, mounting and memory evolution without needing Forge or an LLM. The builder skill guides conversion and integration with an existing workspace.

Prefer manual setup? With Python 3.12+ and pipx (or uv) installed:

pipx install mindslice   # or: uv tool install mindslice
mindslice init ~/mindslice

(For local development from source: git clone https://github.com/pancerZH/MindSlice.git && cd MindSlice && pipx install -e ..)

Then connect your agent and tell it what to remember. Run mindslice -w ~/mindslice doctor, then verify a new session. Full setup guide · Review changes and bake slices

Documentation

License

Apache License 2.0. Benchmark excerpts quoted in the evaluation records keep their datasets' licences; see NOTICE.

Metadata

Release files for mindslice 0.1.5

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

Source distribution (sdist)

Source distribution for mindslice 0.1.5
File Size Uploaded Provenance Actions
mindslice-0.1.5.tar.gz 220.8 kB With provenance Details for mindslice-0.1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mindslice 0.1.5
File Interpreter ABI Platform Actions
mindslice-0.1.5-py3-none-any.whl Python 3 none any Details for mindslice-0.1.5-py3-none-any.whl

Total release size: 369.6 kB

Release files / mindslice-0.1.5.tar.gz

Download URL mindslice-0.1.5.tar.gz
Size 220.8 kB
Tags Source
SHA-256 checksum
How to use checksums
26143c45ba834d453891d0e08fb82c60b8105b5f64cb06bc4f65dcd8e071a905
BLAKE2b-256 checksum
How to use checksums
b42eba4b77476075b77d95dba0444e4f33cab9726a4e0ce934ecaf645da18f74
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 14, 2026.

Transparency log

Release files / mindslice-0.1.5-py3-none-any.whl

Download URL mindslice-0.1.5-py3-none-any.whl
Size 148.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f986525e763ed7fa51af4d39b815081a44a5d4c4ca53dc4681e124afdfc46b57
BLAKE2b-256 checksum
How to use checksums
47a79821e6e0588891d90e6ef7e703227e1c1ba0d36a74fedcc39a729d68c09b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 14, 2026.

Transparency log

Security for mindslice 0.1.5

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 mindslice-0.1.5.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 14, 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