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

Bitcoin’s six signs of predicting $ 140K to the next price

May 15, 2025

ETH PECTRA upgrade: Impact on idiot and roll -up costs

May 15, 2025

Is the XRP price over now?

May 15, 2025
Add A Comment

Comments are closed.

Recent Posts

Bitcoin’s six signs of predicting $ 140K to the next price

May 15, 2025

Ethereum, Solana and other chains Vaneck and Securitize tokenized Treasury Fund

May 15, 2025

ETH PECTRA upgrade: Impact on idiot and roll -up costs

May 15, 2025

NY Federal Reserve taps token assets, not CBDC, to the future of finance.

May 15, 2025

XRP Elliott Wave is a hint when modifying -Why is the support of $ 2.34 important?

May 15, 2025

Is the XRP price over now?

May 15, 2025

Are the courts hinder the encryption?

May 15, 2025

SportsBet.io launched a million USDT prizes to display the Champions League finale

May 15, 2025

Chainalysis CEO provides clues to the recent Paris encryption attack.

May 15, 2025

Stablecoin Trends: Insights in Industry Giant Stripe, Visa and Coin Base

May 15, 2025

NFT Marketplace OpenSea adds support for abstract networks.

May 15, 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

Bitcoin’s six signs of predicting $ 140K to the next price

May 15, 2025

Ethereum, Solana and other chains Vaneck and Securitize tokenized Treasury Fund

May 15, 2025

ETH PECTRA upgrade: Impact on idiot and roll -up costs

May 15, 2025
Most Popular

Genesis asks bankruptcy court for approval to sell $1.4 billion in GBTC stock

February 3, 2024

IOTA Announces USD 100 Million Ecosystem DLT Foundation in UAE

November 30, 2023

Pudgy Penguins’ PENGU token has fallen more than 50% since launch.

December 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.