Skip to content

Host Compatibility

LightMem2 supports three agent hosts. Each host has a different integration style, but the plugin behavior is consistent across all of them.

Supported Hosts

HostIntegrationAdapter Location
OpenClawNative plugin slotcomponents/tokenpilot/adapters/openclaw/
Codex CLILocal proxy + hookscomponents/tokenpilot/adapters/codex/
Claude CodeLocal gateway + MCPcomponents/tokenpilot/adapters/claude-code/

Feature Matrix

FeatureOpenClawCodexClaude Code
Stable Prefix
Context Reduction
Context Eviction
Visual Inspector
Session Reports
In-session Commands✅ (/lightmem2)— (standalone CLI)— (standalone CLI)
Standalone CLI
MCP Recovery Server
mode conservative
mode normal
mode aggressive
Auto-start Proxy✅ (gateway restart)✅ (SessionStart hook)✅ (SessionStart hook)

Released under the MIT License.