Skip to content

v0.2.0 - LangGraph & LangChain Support

Choose a tag to compare

@scream4ik scream4ik released this 26 Nov 19:52
· 38 commits to main since this release

馃殌 What's New

This release transforms MemState from a standalone engine into a fully integrated part of the AI ecosystem.

馃 Native LangGraph Support

You can now use MemState as a persistence layer for LangGraph agents.

  • New MemStateCheckpointer: Replaces the default SqliteSaver.
  • Full State History: Persists not just chat messages, but the entire graph state (variables, tool outputs).
  • Human-in-the-loop ready: Supports put_writes and interrupt_before.
  • Thread Management: Easily clear conversation history with delete_thread.

馃搨 New Examples

We added production-ready demos to the examples/ folder:

  1. LangGraph Persistence: Zero-config demo showing state recovery after a process restart.
  2. Pizza Agent: An advanced stateful agent that separates conversational context from business data (orders).

馃摝 Installation

New optional dependencies group added:

pip install memstate[langgraph]

馃洜 Fixes & Improvements

  • Added put_writes and delete_thread methods to checkpointer.
  • Updated README with architecture diagrams and LangGraph snippets.

Full Changelog: 0.1.0...0.2.0