Skip to documentation
Docs navigation
Docs/Public API overview
API Reference

Public API overview

Choose the right MemoGrafter API level and package entry point.

Package entry point

The main package exposes the application-facing agent, session, fleet, maintenance, and provider adapter APIs.

imports.ts
import {
  MemoGrafterAgent,
  MemoGrafter,
  MemoGrafterFleet,
  MemoGrafterCrawler,
  OpenAILLMAdapter,
} from "memo-grafter";

Choose an API level

Use MemoGrafterAgent for a conversational agent that owns one active session and handles recall, model invocation, history, and ingestion together.
Use MemoGrafter when your application owns session identifiers, prompt orchestration, or queue timing.
Use MemoGrafterFleet when several named agents share or exchange memory under an explicit fleet policy.
Use MemoGrafterCrawler to schedule supported lifecycle maintenance without exposing the internal maintenance passes.
Use provider adapters to connect supported chat and embedding clients to MemoGrafter’s provider-neutral interfaces.