Crypto Flexs
  • DIRECTORY
  • CRYPTO
    • ETHEREUM
    • BITCOIN
    • ALTCOIN
  • BLOCKCHAIN
  • EXCHANGE
  • ADOPTION
  • TRADING
  • HACKING
  • SLOT
  • TRADE
Crypto Flexs
  • DIRECTORY
  • CRYPTO
    • ETHEREUM
    • BITCOIN
    • ALTCOIN
  • BLOCKCHAIN
  • EXCHANGE
  • ADOPTION
  • TRADING
  • HACKING
  • SLOT
  • TRADE
Crypto Flexs
Home»ADOPTION NEWS»LangGraph v0.2 enhances user-defined functionality with a new checkpointer library.
ADOPTION NEWS

LangGraph v0.2 enhances user-defined functionality with a new checkpointer library.

By Crypto FlexsAugust 9, 20243 Mins Read
Facebook Twitter Pinterest LinkedIn Tumblr Email
LangGraph v0.2 enhances user-defined functionality with a new checkpointer library.
Share
Facebook Twitter LinkedIn Pinterest Email

Tony Kim
Aug 9, 2024 02:55

LangGraph v0.2 introduces a new checkpointer library with SQLite and Postgres options to improve customization and resilience of LLM applications.





LangChain has announced the stable release of LangGraph v0.2, and has announced an important update by introducing a new checkpointer library. According to the LangChain blog, this library aims to improve the resiliency and functionality of large-scale language model (LLM) applications by simplifying the creation and customization of checkpointers.

Why LangGraph v0.2 was developed

A core feature of LangGraph is its built-in persistence layer implemented via checkpointers. These checkpointers save the state of the graph at each step, enabling features such as session memory, error recovery, human-participation capabilities, and time travel. LangGraph was designed from the beginning to be database-agnostic, allowing users to implement their own checkpointer adapters.

However, there was no clear blueprint for creating custom checkpointers for popular databases like Postgres, Redis, and MongoDB. LangGraph v0.2 bridges this gap by providing a dedicated checkpointer library.

New checkpointer library in LangGraph v0.2

The new release includes a collection of checkpointer libraries that make it easier to create and customize checkpointers.

  • langgraph_checkpoint: Basic interface for checkpoint saver and serialization/deserialization.
  • langgraph_checkpoint_sqlite: A SQLite-based checkpointer suitable for local workflows and experiments.
  • langgraph_checkpoint_postgres: An optimized Postgres checkpointer for production environments, now open sourced for community use.

These implementations can be used interchangeably, allowing users to tailor their applications to their specific needs.

LangGraph Postgres Checkpointer for Production

that langgraph_checkpoint_postgres The implementation serves as a blueprint for creating an optimized production-ready checkpoint. It includes several optimizations, including using Postgres pipeline mode to reduce database roundtrips and storing each channel value separately to minimize storage requirements.

Getting started with LangGraph v0.2

To get started, users can get the necessary checkpointer interfaces and implementations using:

  • from langgraph.checkpoint.base import BaseCheckpointSaver
  • from langgraph.checkpoint.memory import MemorySaver
  • from langgraph.checkpoint.sqlite import SqliteSaver
  • from langgraph.checkpoint.postgres import PostgresSaver

SQLite and Postgres checkpointers require separate installation via: pip install langgraph-checkpoint-sqlite and pip install langgraph-checkpoint-postgresEach LangGraph checkpointing library follows semantic versioning, so any significant changes in the main library will result in a corresponding major version update of the checkpointing library.

Running Agents at Scale with LangGraph Cloud

LangGraph v0.2 also introduces LangGraph Cloud, a runtime environment designed to deploy large-scale agents. LangGraph Cloud manages job queues, servers, and handles concurrent users and large data states, including a powerful Postgres checkpointer. It supports real-world interaction patterns such as double-text, asynchronous background tasks, and cron jobs.

LangGraph Studio, a desktop app for visualizing and debugging agent trajectories, is now available to all LangSmith users. LangGraph Cloud is currently in open beta for Plus and Enterprise plan users.

Additional changes in LangGraph v0.2

The latest version also includes several important changes and deprecations.

Important changes

  • Change name thread_ts and parent_ts to checkpoint_id and parent_checkpoint_id.
  • Because we used a namespace package, re-exporting imports is no longer possible.
  • SQLite checkpointers have been moved to a separate library.

Discontinued

  • eliminate langgraph.prebuilt.chat_agent_executor.create_function_calling_executor.
  • eliminate langgraph.prebuilt.agent_executor.

conclusion

LangChain would like to thank the community for their feedback and support. With LangGraph v0.2, users can expect easier customization and maintenance of checkpointer implementations, paving the way for more resilient and feature-rich LLM applications.

Image source: Shutterstock


Share. Facebook Twitter Pinterest LinkedIn Tumblr Email

Related Posts

KAITO unveils Capital Launchpad, a Web3 crowdfunding platform that will be released later this week.

July 22, 2025

Algorand (Algo) Get momentum in the launch and technical growth.

July 14, 2025

It flashes again in July

July 6, 2025
Add A Comment

Comments are closed.

Recent Posts

Use XRP To Mine BTC And DOGE? CryptoMiningFirm Launches New Cross-chain Cloud Mining Contract To Help Global Users Earn $8,150 A Day

July 23, 2025

MultiBank.io Partners With Fireblocks And Mavryk To Launch $10B Real Estate Tokenization Platform

July 23, 2025

Cango Inc. Announces Completion Of Secondary Acquisition And Appointment Of New Leadership Team

July 23, 2025

RWA And DEXs Thrive Despite Cooling Market Activity

July 23, 2025

Bybit And Cactus Custody Announce Strategic Partnership With Cactus Oasis Integration

July 23, 2025

21Shares submitted ETFs and on major exchange lists ondo price rallies

July 23, 2025

Ethereum Based Meme Coin PEPETO Raises Above $5.5M In Presale

July 22, 2025

MultiBank Group’s $MBG Token TGE Is Live On MexC, Gate.io, Uniswap And Multibank.io.

July 22, 2025

Ark Invest sells coinbase stocks and invests in BitMine.

July 22, 2025

Altcoin benefits of capital rotation

July 22, 2025

KAITO unveils Capital Launchpad, a Web3 crowdfunding platform that will be released later this week.

July 22, 2025

Crypto Flexs is a Professional Cryptocurrency News Platform. Here we will provide you only interesting content, which you will like very much. We’re dedicated to providing you the best of Cryptocurrency. We hope you enjoy our Cryptocurrency News as much as we enjoy offering them to you.

Contact Us : Partner(@)Cryptoflexs.com

Top Insights

Use XRP To Mine BTC And DOGE? CryptoMiningFirm Launches New Cross-chain Cloud Mining Contract To Help Global Users Earn $8,150 A Day

July 23, 2025

MultiBank.io Partners With Fireblocks And Mavryk To Launch $10B Real Estate Tokenization Platform

July 23, 2025

Cango Inc. Announces Completion Of Secondary Acquisition And Appointment Of New Leadership Team

July 23, 2025
Most Popular

Crypto Trader Warns of Slow Crushing Inflows from Solana, Chainlink, Avalanche and One DeFi Altcoin

November 30, 2023

Ethereum ETF surges after US election, approaching net flow

November 13, 2024

Lookonchain Mistake? $2 Billion ETH Sold Again in 2021 — EmberCN

August 8, 2024
  • Home
  • About Us
  • Contact Us
  • Disclaimer
  • Privacy Policy
  • Terms and Conditions
© 2025 Crypto Flexs

Type above and press Enter to search. Press Esc to cancel.