Smriti: A Git-like system for managing LLM reasoning state to prevent conversation drift

Smriti is an open-source system that addresses the problem of LLM conversation drift in long workflows. Instead of treating interactions as one long chat history, it treats them as reasoning state that can be managed like code in Git.
Core Problem
In long AI workflows, conversations often drift subtly over time through small changes: assumptions shift, side paths get explored, interpretations change, or the model starts reasoning from a slightly off state. This leads to plausible but misaligned responses. The traditional options—trying to steer back or starting over—both have drawbacks.
How Smriti Works
The system provides Git-like operations for reasoning state:
- Save a good state before things drift
- Restore that state later without later drift leaking in
- Branch into different directions from the same point
- Compare two reasoning paths
- Carry state across different models instead of re-explaining everything from scratch
Recent Additions
- Assumptions as first-class part of state
- Checkpoint review to surface contradictions and hidden assumptions
- Artifacts so checkpoints can include actual plans, snippets, or outputs being reasoned about, not just chat summaries
Key Difference
This isn't just saving markdown files or chat transcripts. The system controls what state the model sees next, enabling:
- Clean returns to known good states
- Later turns kept outside the current reasoning path
- Alternative exploration without contaminating the original thread
- Moving forward from structured state rather than one messy transcript
The creator notes this approach becomes more useful as workflows get more agentic, since long-running systems need ways to make reasoning state inspectable, recoverable, and less chaotic over time.
📖 Read the full source: r/ClaudeAI
👀 See Also

Inline Visualizer: Local AI Models Can Now Render Interactive HTML Visualizations
Inline Visualizer is a BSD-3 licensed plugin for Open WebUI that enables any local AI model with tool calling support to render interactive HTML/SVG visualizations directly in chat, with a JavaScript bridge allowing elements to send messages back to the AI.

PRECC Tool Cuts Claude Code API Costs with Pre-Tool-Call Compression
A developer built PRECC, an open source tool that intercepts Claude Code tool calls and compresses payloads using RTK (Redundancy-aware Token Kompression), reducing input tokens by 40-66% with no perceptible latency impact.

pxpipe: Cut Claude Code Token Usage 60% by Rendering Context as Images
pxpipe is a local proxy that renders bulky context (system prompts, tool docs, history) into compact PNGs, cutting input tokens ~10x and costs ~60% on token-dense workloads.

Unlocking Proactivity: A Deep Dive into Clawbot Innovations from the Community
Discover how enthusiasts are enhancing their Clawbot's proactivity through inventive strategies and community-driven insights. A look at discussions and revelations from r/openclaw.