MemClaw / docs
Tutorials

Tutorials

Hands-on tutorials for building governed, shared, self-improving memory for AI agent fleets — on managed MemClaw Cloud or self-hosted OSS.

These tutorials are self-contained, end-to-end builds — each one stands on its own. (Just want to connect a single agent in five minutes? That's the Quickstart, not a tutorial.)

There are two tracks, depending on where your memory lives. They build the same three-agent fleet and teach the same primitives — the only difference is who runs the engine.

MemClaw Cloud (managed)

No infrastructure to run. Start with the five-minute first-memories tutorial, then graduate to the full fleet build — both run against the hosted platform at memclaw.net using your mc_ API key, with the result visible in the Prism dashboard.

  • Your first memories on MemClaw Cloud — the five-minute starter for a brand-new account: sign up, mint a key, write three memories with curl, recall them with different words, and see them in Prism.
  • Build an agent fleet on MemClaw Cloud — sign up, connect Claude Code over MCP, give each agent an identity, and watch governed memory flow between them — governance and hygiene run for you.

The self-hosted (OSS) series

A hands-on, six-part series that builds the fleet on a shared, governed MemClaw stack you run yourself — from "hello fleet" to the advanced governance and self-improvement features. Every part runs against the same self-hosted stack, so the fleet's memory accumulates across the series instead of resetting each time.

  1. Building a Multi-Agent Fleet with MemClaw and Claude Code — spin up MemClaw, connect Claude Code over MCP, give each agent an identity, and watch knowledge flow between them.
  2. The Memory Dashboard — a browsable window into your fleet's memory: search, graph, audit, write, and govern, from one HTML file and a reverse proxy.
  3. Governed memory: scopes, trust tiers & keystone policies — who sees what, who can change the fleet's knowledge, and the keystone policies every agent must obey.
  4. The Karpathy Loop: memory that learns from outcomes — report outcomes; memory reinforces what works and writes rules from what fails, and each agent tunes its own recall.
  5. Memory hygiene at scale: contradictions, supersession & the crystallizer — automatic contradiction detection and supersession, the 8-state lifecycle, the crystallizer hygiene scan, and memclaw_insights.
  6. The knowledge graph: entities, relations & graph-boosted recall — entity extraction, synonym resolution, evidence-carrying relations, and how graph-expansion lifts every recall.

Focused guides

Standalone how-tos that don't depend on either track: