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

Context-Kit: Open Source Tool for AI Assistant Configuration
Context-kit is a free tool that generates configuration files and skill documentation for AI coding assistants. It supports Claude Code, Cursor, Windsurf, GitHub Copilot, and Gemini CLI.

AI-Setup CLI Tool Automatically Generates AI Configuration Files for Local LLM Stacks
AI-Setup is a CLI tool that scans codebases and automatically generates AI configuration files like .cursorrules and claude.md. It detects your stack to eliminate manual rule writing for each new project.

KANBAII: A Visual Kanban Board Built with Claude Code for AI-Assisted Development
A developer built KANBAII, a local kanban board tool entirely with Claude Code over two months. It provides visual task management, AI planning, and parallel execution modes for Claude Code workflows.

Hybrid search with RRF improves AI memory system over pure vector search
An open-source AI memory system using PostgreSQL with pgvector found pure vector search insufficient for exact matches, so it added full-text search and merged results using Reciprocal Rank Fusion (RRF) with k=60, plus query enrichment via tokenizer.