Enable
Session journal is opt-in per agent:What it records
- Timestamp and session ID
- A short summary of the turn (generated by the model)
- Key facts extracted from the conversation
- Token counts for the turn
~/.openclaw/journals/<agent-id>/<date>.jsonl.
Configuration
| Key | Type | Default | Description |
|---|---|---|---|
enabled | boolean | false | Enable journal for this agent |
summarizeEveryN | integer | 5 | Turns between journal writes |
extractFacts | boolean | true | Include LLM-extracted facts per entry |
maxEntries | integer | 1000 | Entries per JSONL file before rotation |
outputDir | string | ~/.openclaw/journals | Directory for journal files |
Limitations
- Entries are written asynchronously — a crash mid-turn may skip an entry
extractFacts: trueadds a small LLM call per summarized turn