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 points

The root package exposes application APIs and intentionally exported advanced primitives. Provider-independent subpaths let storage, schema, and Studio tooling load without evaluating optional provider SDKs.

imports.ts
import { MemoGrafterAgent, MemoGrafter } from "memo-grafter";
import { PostgresGraphStore } from "memo-grafter/store";
import { mgTable } from "memo-grafter/schema";
import { createStudioPreviewService } from "memo-grafter/studio";

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.

Advanced APIs

Pipelines, GraphStore, schema metadata, and Studio preview services are supported package exports for framework authors, custom storage implementations, migrations, and local tooling. Most applications should start with MemoGrafterAgent or MemoGrafter.