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/adapters/openclaw/
Codex CLILocal proxy + hookscomponents/adapters/codex/
Claude CodeLocal gateway + MCPcomponents/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
Auto-start Proxy✅ (gateway restart)✅ (SessionStart hook)✅ (SessionStart hook)

Choosing a Host

  • OpenClaw: Best integration experience — native plugin slot, in-session commands, gateway-level restart.
  • Codex CLI: Full feature parity via standalone CLI + hooks. Proxy starts on first session.
  • Claude Code: Full feature parity via standalone CLI + gateway + MCP. Gateway starts on first session.

Plugin behavior (stabilizer, reduction, eviction) is identical regardless of host. The only difference is how you interact with TokenPilot — in-session commands vs. standalone CLI.

Test Environment

All host pages include the test environment and last verification date.

HostLast verified
OpenClaw2026-07-16
Codex2026-07-16
Claude Code2026-07-16

Released under the MIT License.