OpenViSTAI · Agents · Blockchain · Crypto
Menu
Agent Memory & RAG

Lemmalog

Lemmalog is a Rust Datalog engine for LLM-agent memory. It stores asserted facts, applies rules to derive conclusions, tracks provenance to source episodes and incrementally maintains derived views. The repository includes a Rust crate, MCP server, REPL and agent skill.

Independent OpenViST project profile, based on linked sources.

Lemmalog — Memory designs where facts and rules need to remain inspectable
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use Lemmalog when an agent workflow needs rule-based deductions, traceable conclusions or incremental updates to a shared memory store. Its MCP server is a documented connection path for Claude Code and Kimi CLI.

Who it is for

  • Developers building LLM-agent memory around explicit facts and rules.
  • Agent-harness developers seeking an MCP connection to shared memory.
  • Teams working on long-running investigations or debugging that need queryable, traceable working memory.

Documented uses

  • Represent asserted knowledge as facts and derive conclusions using Datalog rules.
  • Query agent memory, including focused point queries.
  • Inspect why a conclusion was derived through proof trees and provenance.
  • Update derived views incrementally as facts are added or retracted.
  • Connect a documented Claude Code or Kimi CLI harness through the included MCP server.
Before you choose

Requirements & limits

The public GitHub repository declares an MIT license. The repository provides a Rust crate and CLI/server components; the MCP server is built with Cargo using the `mcp` feature.

  • The engine is implemented in Rust and exposed through a crate, REPL and MCP server.
  • MCP integration is documented for Claude Code and Kimi CLI; supported harnesses beyond these are not specified.
  • The engine tracks provenance and supports incremental derivation; some listed capabilities, including leapfrog triejoins and DBSP streaming deltas, are marked as future work.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Build and register the Lemmalog MCP server

Compile the MCP server and register it with Claude Code or Kimi CLI so a harness can use Lemmalog as shared memory.

Before you start

  • A Rust Cargo environment.
  • Claude Code or Kimi CLI, if registering through one of the documented commands.
  • The Lemmalog repository cloned locally.

Steps

  1. From the repository, run the command below.

    Documented command
    cargo build --release --features mcp
  2. Register the resulting target/release/lemmalog-mcp executable with Claude Code using claude mcp add lemmalog -- $(pwd)/target/release/lemmalog-mcp, or with Kimi CLI using kimi mcp add lemmalog -- $(pwd)/target/release/lemmalog-mcp.

  3. Use the MCP server as the harness connection to Lemmalog memory.

Expected outcome

A built MCP server registered with one of the documented CLIs for use as shared agent memory.

Guide limitations

  • The repository does not specify support for other harnesses or provide further setup details for them.
  • These steps describe setup, not a tested execution outcome.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
17 November 2026
Original website title
JordyZomer/lemmalog · Official homepage title · retained in its source language