Kaeru logo

Kaeru

by LamantinAI

Local-first graph memory for agents, with project-scoped context, history, reasoning chains, and optional team sharing.

Install Kaeru

Run the project’s own setup commands, in order.

Setup steps from the project

LamantinAI/kaeru installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    curl -fsSL https://raw.githubusercontent.com/LamantinAI/kaeru/main/contrib/install/install.sh | bash
    
  2. 2. Install
    ./contrib/offline/fetch-vendor.sh     # ~600 MB, needs network once
    
  3. 3. Install
    cargo build --release --offline -p kaeru-mcp
    
  4. 4. Start the server
    kaeru-mcp                                            # foreground, Ctrl-C to stop
    
  5. 5. Add to Claude Code
    claude mcp add --transport http kaeru http://127.0.0.1:9876/mcp
    

Overview

LamantinAI/kaeru gives agents a typed, local-first graph for retaining decisions, tasks, hypotheses, reasoning, and settled knowledge across sessions. Its daemon exposes a shared MCP API with 35 operations, including context restoration, search, reading, lifecycle management, synthesis, and history. Reach for it when agents need project-scoped re-entry, provenance, recorded changes, or optional cross-agent sharing without an embedding model or internal LLM calls. An optional self-hosted cloud tier extends memory sharing to trusted teams.

Use cases

  • Restore an agent's open work when it returns to a project
  • Track decisions, hypotheses, and experiments across sessions
  • Inspect provenance and earlier versions of changing knowledge
  • Share selected initiative knowledge across trusted agents
  • Export settled memory for use in Obsidian

Key features

  • Two-tier cognitive and recollection graph
  • Project-scoped context and multi-initiative membership
  • Assertion, retraction, and provenance history
  • Saved reasoning chains with stale-premise reporting
  • Optional cross-agent cloud sharing
  • Automatic recall-layer hygiene

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

18/18 checks healthy over the last 46d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars97Stargazers on the source repository.
Last commit11d agoMost recent push to the default branch.

How Kaeru works

What LamantinAI/kaeru does

LamantinAI/kaeru provides persistent memory for LLM agents through a typed property graph backed by CozoDB with the embedded RocksDB backend. It separates active working material from settled knowledge: the cognitive tier holds episodes, scratch work, drafts, hypotheses, experiments, and audit events, while the recollection tier stores ideas, outcomes, summaries, and references.

Projects are represented as initiatives within one graph substrate. A record can belong to multiple initiatives, allowing agents to reuse knowledge while still receiving project-scoped context. The system preserves assertion and retraction history, so earlier states remain inspectable after changes.

How it works

A local daemon owns the vault and serves MCP, named HTTP operations, and the visualizer. The shared contract contains 35 named operations: 16 frequent operations, 10 local maintenance operations, and 9 optional cloud operations. MCP, HTTP, and embedded Rig integrations use the same API contract.

Retrieval is structural rather than embedding-based. Agents can use scoped name or ID lookup, literal lexical search, typed graph traversal, saved summaries, provenance, and reasoning paths. The context operation restores a project's working set, including open work, current role slots, reminders, claims, rules, and saved reasoning. Results are bounded and can provide continuation arguments.

trail records weighted or explicitly ordered reasoning routes with an agent-authored summary. lifecycle promotes settled material between tiers while retaining content and provenance. reflect reports findings about integrity, unfinished work, staleness, and sharing; the agent decides which findings to apply.

Setup and configuration

Kaeru is distributed as a single Rust binary. The local vault uses a platform-specific default location: $XDG_DATA_HOME/kaeru on Linux, ~/Library/Application Support/ai.lamantin.kaeru on macOS, and %LOCALAPPDATA%\\ai.lamantin.kaeru on Windows. Set KAERU_VAULT_PATH to choose another location.

The daemon runs automatic hygiene by default. Set KAERU_MCP_HYGIENE_ENABLE=0 to disable it. Embedded kaeru-rig hygiene is opt-in through KaeruMemory::with_hygiene(). Set KAERU_MCP_UPDATE_CHECK=0 to disable the daily update check.

An optional kaeru-cloud tier supports shared memory for trusted teams. Sharing is governed by initiative policy, permitted cloud destinations, and a deterministic secret guard.

Tools and capabilities

  • Restore project context with context, including open and overdue work.
  • Search, read, and traverse records with scope and visibility checks.
  • Record decisions, claims, hypotheses, experiments, and audit events.
  • Inspect prior assertions and retractions with history and time-qualified reads.
  • Promote settled knowledge with lifecycle while preserving provenance.
  • Save and revisit reasoning routes with trail.
  • Manage initiative names, membership, merges, deletions, and role slots.
  • Preview or apply recall-layer maintenance through retention operations.
  • Search shared memory with cloud_recall and withdraw records with unshare.
  • Export vault content as an Obsidian-friendly ZIP of Markdown pages.

Limitations and notes

Kaeru facilitates memory use but does not enforce when an agent invokes an operation. The local retrieval path has no embedding index, and the daemon makes no internal LLM calls. Automatic hygiene changes recall layers only; it does not decide broader lifecycle actions such as archiving or retiring records.

The update check sends version, platform, installation channel, and environment information to updates.lamantin-ai.com or a GitHub fallback, but not vault content. The service keeps daily aggregate counts. Cloud sharing is optional and requires configured sharing policies and destinations where applicable.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Kaeru

LamantinAI/kaeru is an MCP server that connects LLM agents to a local typed knowledge graph, with optional shared cloud memory. Its main tools restore project context, search and read records, track history, manage lifecycle, save reasoning trails, reflect on memory, and share selected knowledge.

Run kaeru as its single Rust binary and connect it through MCP. The local daemon owns the vault and serves the MCP API; set KAERU_VAULT_PATH if you want a non-default vault location.

Yes, LamantinAI/kaeru works with Cursor through MCP. It also supports Claude Code, Codex, opencode, and other MCP clients.

No, its local retrieval path does not use an embedding index, and the binary makes no internal LLM calls. Retrieval uses scoped lookup, literal lexical search, graph traversal, provenance, and saved summaries.

Use the optional kaeru-cloud tier to share selected knowledge through initiative policies, allowed destinations, and a deterministic secret guard. The local setup remains the default, while cloud operations include shared search and record withdrawal.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewKaeru AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/lamantinai-kaeru?style=directory)](https://allmcps.com/mcp/lamantinai-kaeru)
HTML Embed
<a href="https://allmcps.com/mcp/lamantinai-kaeru"><img src="https://allmcps.com/api/badge/lamantinai-kaeru?style=directory" alt="Kaeru on AllMCPs" /></a>