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.7

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.7
File Size Uploaded Provenance Actions
mindslice-0.1.7.tar.gz 221.9 kB With provenance Details for mindslice-0.1.7.tar.gz

Built distribution (wheel)

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

Total release size: 371.3 kB

Release files / mindslice-0.1.7.tar.gz

Download URL mindslice-0.1.7.tar.gz
Size 221.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c6ccccf8f99325d7075b5aa8007c0cef814b09a914f1121e1ffe74973a0b887c
BLAKE2b-256 checksum
How to use checksums
fe14f95e03cbc96dda680a357629a00ea85aa1f1b5f72c86bd1ca364c8ae6935
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 16, 2026.

Transparency log

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

Download URL mindslice-0.1.7-py3-none-any.whl
Size 149.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ea742c4d80823eb86cdcde12befb5650227378a116f9d87b4564350c72799773
BLAKE2b-256 checksum
How to use checksums
7ff00d53ba0cc8c2d8c218e093c7e672dc3a7c129c9dd0f61e66a49b9cd5b322
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 16, 2026.

Transparency log

Security for mindslice 0.1.7

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.7.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 16, 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