Skip to content

Context Eviction

Context eviction provides lifecycle-aware pruning of old context in longer shared-session workflows.

Note: Eviction is currently only available on OpenClaw (not Codex or Claude Code).

Mode Thresholds

ModeEvictionThreshold
ConservativeOffN/A
NormalOffN/A
AggressiveOnLower (evicts sooner)

Controlling Eviction

bash
# Toggle eviction
lightrsi eviction on
lightrsi eviction off

# In OpenClaw
/lightrsi eviction on

Next

Released under the MIT License.