Skip to main content

Memory Profiles

Loong exposes memory as an operator-visible choice rather than one hidden global mode. The public contract is intentionally narrow: memory should help continuity, but it should not silently become a second runtime authority.

Current Public Profiles

ProfileWhat it keepsGood default for
window_onlyonly the active conversation windowshort, bounded work where persistence is unnecessary
window_plus_summaryactive window plus a rolling summary of earlier turnslonger conversations that need continuity without full profile memory
profile_plus_windowactive window plus operator profile memoryassistant paths that need durable operator context across sessions

How To Choose

If you want…Choose…
the simplest and safest defaultwindow_only
longer-running conversation continuity without full durable profile memorywindow_plus_summary
durable operator context across sessionsprofile_plus_window

Public Configuration Shape

[memory]
profile = "window_only"
The first-run path is expected to help with this selection, but the profile itself remains a normal operator-facing runtime setting.

What Public Memory Does

  • preserves continuity through an explicit profile choice
  • keeps profile memory advisory rather than identity-overriding
  • stays visible in onboarding and runtime config instead of hiding behind prompt magic
  • helps operators choose the right continuity cost for the job

What Public Memory Does Not Claim

  • a full retrieval platform in the public first-run story
  • silent replacement of runtime identity through imported memory
  • automatic long-range autonomy just because persistence exists
  • a requirement that every assistant path use durable memory on day one

Profile Note And Durable Context

profile_plus_window is the durable advisory lane. That matters because:
  • profile memory can preserve preferences, working habits, or imported context
  • it should enrich the assistant without becoming a second authority over the runtime
  • future richer recall can build on this lane without changing the public truth that operator-visible runtime identity stays explicit
  1. Start with window_only unless you already know you need continuity.
  2. Move to window_plus_summary when the conversation window alone becomes too shallow.
  3. Use profile_plus_window when repeated sessions genuinely need durable operator context.

Continue Reading

  • Go to Tools And Memory for the combined governed-capability overview.
  • Go to Configuration Patterns if you want to see memory in the wider public config shape.
  • Go to Tool Surface if you want the truthful visible-tool contract.
  • Go to First Run if you still need the shortest path to a working local assistant.