Skip to main content
Loom includes a first-party OpenClaw plugin (loom-openclaw-plugin/) that integrates Loom as a Context Engine, providing structured long-term memory for OpenClaw.

Quick Start

1. Install & configure Loom

Open configs/loom.yaml and fill in the llm section (or copy .env.example to .env and edit):

2. Start the Loom backend

The server runs at http://localhost:8666 by default. Use loom serve status to verify.

3. Install the plugin

For local development from this repository, use:
If you don’t have OpenClaw yet, see the OpenClaw Install Guide first.

4. Start (or restart) the Gateway

If the Gateway is not running, start it:
If the Gateway is already running, restart it to load the new plugin:

5. Verify

Then open a chat and send /loom status to confirm end-to-end connectivity. The plugin will automatically extract and recall structured memories each turn.

Features

  • Auto-extract and auto-recall — extracts information into structured schemas and injects it into the system prompt each turn
  • Schema-based memory — organizes knowledge into typed domains and fields
  • Multi-schema management — create, switch, backup, and restore independent schema files
  • Template system — bootstrap schemas from built-in, shared, or custom templates; full template CRUD via slash commands
  • Agent tools — 5 registered tools for LLM-driven memory management
  • Slash commands — full /loom command suite for manual memory management

Configuration

Configure in openclaw.json under plugins.entries.loom-claw.config: Example openclaw.json:

Slash Commands

View & Recall Memory Management Schema Files Template Management Configuration

Creating Custom Templates via Slash Command

Create templates directly from the chat using the compact text format:
Format:
  • First line: template_name description (name allows letters, numbers, _, -)
  • Following lines: domain_name: field1 | description, field2 | description
Or use JSON format: /loom templates create --json {"_meta":{"name":"..."},...}

Agent Tools

Five tools are registered for the OpenClaw agent:

Context Engine Lifecycle

Data Flow

Data Storage

Loom stores data under the OpenClaw Agent Workspace:
Configure paths in configs/loom.yaml: