v0.9.0Decision review & connected wiki

New session.
Same project.
Memory intact.

A Python library and MCP server for persistent, code-aware memory. Keep your copilot’s decisions, conventions, and context across sessions.

$python -m pip install memkernel

Python library · use an activated Python 3.11–3.13 environment.
Connecting Claude Code or Kiro? Choose the MCP server setup ↗

checkout-serviceEXAMPLE PROJECT

A new session. A familiar answer.

# Pick up where you left off
recall(query= "Why did we choose PostgreSQL?")
MEMORY RETRIEVED↑ RELEVANT CONTEXT
decisionsample / decision

Use PostgreSQL for the orders service. We need concurrent writes and transactional inventory updates.

ILLUSTRATIVE DEMO · FIXED SAMPLE DATAretain → recall → continue

BUILT FOR YOUR DEVELOPMENT WORKFLOW

MCP + PythonLocal by defaultApache-2.0Python 3.11–3.13

Some context is temporary.
Some knowledge should stay.

MemKernel separates what your agent is doing now from what your project needs to remember. Three tiers. Different lifetimes. One memory service.

WORKING24h base TTL

The task at hand.

Current goals, plan state, and open questions. Keep your agent oriented while the work is happening.

Memory typetask
SHORT-TERM7–30d base TTL

The useful details.

Findings and session checkpoints. Recall reinforces retention; consolidation finds what is worth keeping.

Memory typesobservation · episode
LONG-TERMNo expiry

The project knowledge.

Decisions, conventions, and verified knowledge. Keep the rationale; supersede it when the project changes.

Memory typesdecision · convention · fact
procedure · code · document

Default retention is configurable. Observations start at 7 days; episodes at 30. Promote useful findings into durable knowledge.

Explore memory tiers

A function is more
than a block of text.

Your agent should find the right implementation whether it remembers the function name or only what the function does.

  1. 01 /
    Chunk at meaningful boundaries.

    Tree-sitter splits Python code at functions and classes, with a text fallback for other languages.

  2. 02 /
    Search by meaning and identifier.

    Dense retrieval and BM25 work together, combined with reciprocal rank fusion.

  3. 03 /
    Notice when the source changes.

    Revalidate retained code against its source file. Changed or missing snapshots are flagged for review and leave default recall. See code freshness ↗

inventory.py
1class InventoryService:
2 """Manage stock reservations."""
3
FUNCTION BOUNDARY
4 def reserve_inventory(
5 self, item_id, quantity
6 ):
7 with self.db.transaction():
8 return self.reserve(
9 item_id, quantity
10 )
11
12 def release_inventory(self):
13 ...

Illustrative chunk boundary. Actual chunk size is configurable; oversized nodes are split further.

Continue after compaction.

Keep checkpoints across compaction and recover them at the next session start. Use Claude Code hooks or call MemoryLifecycle from your own harness.

SESSION LIFECYCLE

Ask your documents.

Keep large specs and transcripts outside the context window. Store a document, then ask for relevant passages with the local reasoner or optional RLM Studio.

DOCUMENT MEMORY

Knowledge you can review.

With the wiki extra, export memories through the proposal gate. Review, promote, and approve the wiki revision before importing it into memory.

EXPLORE WIKI-STUDIO

Build. Remember.
Curate.

Three tools with different jobs. Start with the one you need, then connect them through your agent host and a shared wiki.

CODE COPILOT TEAM v2.1.0

Coordinate the work.

Install project rules, follow research and build phases, and check the result. Explore the workflow and latest release through two interactive guides.

Explore Code Copilot Team
MEMKERNEL v0.9.0

Recall the context.

Keep decisions and checkpoints across sessions. Decisions with changed source files stay visible with a review flag. Recheck their evidence before reuse.

See decision review and recovery
WIKI-STUDIO v0.10.0

Curate the knowledge.

Turn memories into reviewed Markdown. Find pages without a model, record conflicts, and run a nightly report with optional link-only proposals.

Explore Wiki-Studio

MemKernel’s wiki extra enables gated export and approved-revision import. CCT keeps its own pinned wiki engine; see the integration and environment guidance.

Remember the work.
Keep the knowledge.

Follow one decision from your coding session to a reviewed wiki page—and back into the next session. See where each tool fits.

  1. 01ConnectYour copilot + a project store
  2. 02RememberRetain decisions with MemKernel
  3. 03CurateReview pages with Wiki-Studio
  4. 04ReuseRecall context next time
Explore the visual guide

Includes copyable examples and a setup builder for Claude Code and Kiro.

A small addition.
A longer memory.

Connect Claude Code, Kiro, or another MCP-compatible copilot. Use the same memory service directly in Python.

1

Choose how you’ll use it

One package on PyPI. Install for your copilot or your Python code.

pipx install --python python3.11 memkernel

Requires pipx and an installed Python 3.11; 3.12 or 3.13 also work. The server runs in its own environment.

Install, verify & troubleshoot ↗

2

Give your project a namespace

Set MEMKERNEL_PROJECT_ID, the absolute MEMKERNEL_PROJECT_ROOT, and an absolute storage path so each project finds the same memories across sessions.

3

Make memory part of the workflow

Add Claude Code instructions or Kiro steering and hooks so your agent knows when to recall and retain. For Python, start with build_service().

.mcp.json · project root
{
  "mcpServers": {
    "memkernel": {
      "type": "stdio",
      "command": "memkernel",
      "args": [],
      "env": {
        "MEMKERNEL_PROJECT_ID": "my-project",
        "MEMKERNEL_PROJECT_ROOT": "/absolute/path/to/project",
        "MEMKERNEL_CHROMA_PERSIST_PATH": "${HOME}/.memkernel/my-project"
      }
    }
  }
}

Merge into your project’s .mcp.json. Set the project ID, actual absolute project root, and data path; use the executable’s absolute path if Claude cannot find it. Approve the server and check /mcp. Full setup ↗

Let the next session start ahead.

Install MemKernel. Give your project a memory of its own.