Crypto Flexs
  • DIRECTORY
  • CRYPTO
    • ETHEREUM
    • BITCOIN
    • ALTCOIN
  • BLOCKCHAIN
  • EXCHANGE
  • ADOPTION
  • TRADING
  • HACKING
  • SLOT
Crypto Flexs
  • DIRECTORY
  • CRYPTO
    • ETHEREUM
    • BITCOIN
    • ALTCOIN
  • BLOCKCHAIN
  • EXCHANGE
  • ADOPTION
  • TRADING
  • HACKING
  • SLOT
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

Data Center security improvement: Role and risk of base board management controller

June 7, 2025

Gala Games unveils a new byte pack in VEXI village.

June 7, 2025

Eigenlayer starts the redistribution function in testnets

June 6, 2025
Add A Comment

Comments are closed.

Recent Posts

Binance Alpha Listing Drive Skating Token Price 33%

June 7, 2025

Data Center security improvement: Role and risk of base board management controller

June 7, 2025

Is the Solana -SOL route that is involved in whale movements still alive for $ 160?

June 7, 2025

Gala Games unveils a new byte pack in VEXI village.

June 7, 2025

XRP price prediction by reducing the volume of RLUSD (RIPPLE USD)

June 7, 2025

ARCA is disappointed with the IPO allocation and dumps the circle sharing.

June 7, 2025

Eigenlayer starts the redistribution function in testnets

June 6, 2025

Musk & Trump SPAT sends trenches from DOGE Price Crumbling, Tesla.

June 6, 2025

Musk & Trump SPAT sends trenches from DOGE Price Crumbling, Tesla.

June 6, 2025

Vortex uses NVIDIA Jetson to innovate medical imaging with CT-similar ultrasound.

June 6, 2025

2025 Best Free Cloud Mining

June 6, 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

Binance Alpha Listing Drive Skating Token Price 33%

June 7, 2025

Data Center security improvement: Role and risk of base board management controller

June 7, 2025

Is the Solana -SOL route that is involved in whale movements still alive for $ 160?

June 7, 2025
Most Popular

Bitcoin Mining Difficulty Hits Lowest Level Since March, Price Surpasses $57,000

July 6, 2024

ETH deposits and withdrawals are now available on zkSync Era!

November 28, 2023

According to Crypto Trader, if this happens, altcoins built on base layer 2 blockchains could soar by as much as 340%

July 18, 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.