API Reference
Memproof exposes a single entry point — theMemproof class — that wires together policy evaluation, risk assessment, event auditing, and adapter-backed storage behind a small async API.
remember, get, update, forget, search) flow through the same internal pipeline:
- The request is validated and a scope/context is built.
- A risk score is computed by the RiskEngine.
- The PolicyEngine evaluates the configured rules and returns an allow/deny/quarantine/require-approval decision.
- If allowed, the operation is forwarded to the configured MemoryAdapter (LangGraph, OpenAI Sessions, MCP, or in-memory).
- An immutable TrailEvent is written to the Trailproof audit trail for every step.
Core Classes
Quick Start
Enumerations
Memproof defines several enums that appear throughout the API:
See Models for full details on every enum and model.