simulatecraft.memory.reflection¶
simulatecraft.memory.reflection
¶
Reflection: periodically distill recent memories into higher-level insights.
The LLM call is injected as a summarizer coroutine so this module stays
dependency-free; brains/llm.py wires a pydantic-ai-backed summarizer in.
ReflectionEngine
¶
Triggers every every_n_records additions to the stream.