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 a plugin? MindSlice-plugin packages MindSlice for Claude Code, Codex, Antigravity and DeepSeek Harness, with the engine, MCP server and startup hooks included.

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

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

Built distribution (wheel)

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

Total release size: 399.2 kB

Release files / mindslice-0.2.8.tar.gz

Download URL mindslice-0.2.8.tar.gz
Size 242.3 kB
Tags Source
SHA-256 checksum
How to use checksums
385679a04a4ab6475c5722d758b322b668d7c9723f944bbd95996b068e1c43a4
BLAKE2b-256 checksum
How to use checksums
810c0ccae1941ffd232cbcb78740358bc88fbc6e692055ebe4638df94aeed01f
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 20, 2026.

Transparency log

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

Download URL mindslice-0.2.8-py3-none-any.whl
Size 156.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dfae502c896a71833d9c4e79fdf55c3b343fad431d579f46fd384336f23fc02c
BLAKE2b-256 checksum
How to use checksums
ec68de94518d9934dedb4777d9e6761ac5b06414f0c32670f4517bd70e5f9a7c
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 20, 2026.

Transparency log

Security for mindslice 0.2.8

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.2.8.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 20, 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