summarize memory
This block is part of the anthropic group and was last modified in core v15.0.0.
summarize memory v15.0.0 Compact a memory: fold the older turns into a running summary and trim the history, so a long conversation stays cheap and in-context while keeping its gist. Run it periodically.
- flow
flow - connection required
anthropicconnection - memory required
anthropicmemoryThe memory to compact.
- model
valueModel for the summary pass. Defaults to claude-haiku-4-5 (cheap). • Suggestions:
claude-haiku-4-5claude-sonnet-4-6 - keep last turns
numberHow many recent turns to keep verbatim. Older turns are folded into the summary. Default 10.
- flow
flow - connection
anthropicconnection - success
condition - memory
anthropicmemoryThe memory, passed through.
- summary
valueThe updated running summary.
- usage
object - stop reason
value - partial
value - errors
array<value>Error codes when the call fails (success=false): config_error, internal_error, model_not_allowed, budget_exceeded, concurrency_limit_exceeded, rate_limited, transport_error.
- warnings
array<value>Non-fatal notices: cost_unknown.
- error detail
value
compact memory |
memory summary |
condense memory |
trim memory |
A typical wiring for summarize memory: a function trigger starts the flow; create memory feeds the memory pin; the flow out pin feeds debug.

Version history
Introduced in v15.0.0.
Back to
anthropic Return to the main group to view all sub-groups Back to anthropic Return to the group to view all blocks within this group
