RLM vs code mode: stateless tool-layer sandbox vs stateful inference-layer REPL
dosco · x · 2026-12-01
Both approaches use code to keep bloat out of the context window, but solve different problems. Code mode is a stateless sandbox at the tool layer, replacing huge MCP schemas with search() and execute() so the model filters specs and chains API calls in one shot. RLMs are a stateful REPL at the inference layer: large inputs persist across turns and code can recursively call sub-LLMs (fan-out, map-reduce) to reason over huge data. RLMs scale reasoning and context; the two may end up working together.
More from coding & agent
- Developer: Gemini 4 Neon Now Handles 95% of My Coding in T3 Code — altryne · 2026-12-01
- 12-year-old iPhone 6 now runs Omarchy Linux with Claude, Antigravity and other AI coding tools — viksit · 2026-12-01
- Combining GPT Image 2.6 likeness with a Seedream 5.5 relight pass fixes AI noise and flat lighting — TomLikesRobots · 2026-12-01
- Covera, a YC F26 AI agent for insurance brokers, hits $650K ARR in 4 months — ThePeterMick · 2026-12-01
- Rebuilding agents around a human cognitive layer: code keeps hard floors only — zzunkie · 2026-12-01
- KittenVoice gives Claude Code a lip-syncing local voice, 210MB and fully offline — Daredevil2222-2 · 2026-12-01