Skip to main content
Loom is structured in three layers: Interface, Core, and Memory.

Interface Layer

Multiple ways to interact with Loom:

Core Layer

The engine orchestrates two main components:
  • CM Agent (Cognitive Memory) — An LLM-powered agent that reads user input and decides which schema operations to perform. It uses the Schema Call Protocol tools to read/write structured memory.
  • Chatbot — Generates responses grounded in recalled schema data.

Memory Layer

  • Schema Registry — In-memory registry of all schema domains and their fields.
  • Schema Files — Standalone JSON files on disk, shared across sessions.
  • Schema Templates — Pre-defined field structures that bootstrap new schemas.

Plugins

Optional plugins hook into the engine lifecycle (before/after build and chat) without modifying core code. Common uses include RAG retrieval, logging, and safety filters.

Project Structure