langchain-ai/langgraph

Build resilient agents.

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 33 minutes ago
Added to GitGenius on June 20th, 2024
Created on August 9th, 2023
Open Issues & Pull Requests: 763 (+2)
GitHub issues: Enabled
Number of forks: 6,966
Total Stargazers: 41,251 (+4)
Total Subscribers: 180 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 7.7 hours
Mean response time: 10.1 days
90th percentile: 19.5 days
Tracked items: 1,490

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 92% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Work labelled "question" is answered fastest, typically in about 9 hours, while "enhancement" waits about 4 days. 34% of tracked open issues have had no activity in three months. Only 2% of issues opened in the past year have been closed.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 524
New in 7 days: 28
Closed in 7 days: 0
Avg open age: 106 days
Stale 30+ days: 334
Stale 90+ days: 213

Recent activity

Opened in 7 days: 26
Closed in 7 days: 0
Comments in 7 days: 137
Events in 7 days: 292

Top labels

  • external (537)
  • bug (447)
  • pending (265)
  • internal (52)
  • documentation (36)
  • question (36)
  • enhancement (32)
  • maintainer (22)

Detailed Description

LangGraph is a low-level orchestration framework written in Python for building, managing, and deploying long-running, stateful agents. The repository serves as the foundation for agent development within the LangChain ecosystem, trusted by companies including Klarna, Replit, and Elastic. It provides infrastructure that enables developers to construct resilient agents capable of persisting through failures and maintaining state across extended execution periods.

The framework addresses several critical requirements for production agent systems. Durable execution allows agents to automatically resume from exactly where they left off after failures, ensuring continuity in long-running workflows. Human-in-the-loop capabilities enable seamless incorporation of human oversight by allowing inspection and modification of agent state at any point during execution. The comprehensive memory system supports both short-term working memory for ongoing reasoning and long-term persistent memory across sessions, creating truly stateful agents. Integration with LangSmith provides deep visibility into complex agent behavior through visualization tools that trace execution paths, capture state transitions, and deliver detailed runtime metrics. Production-ready deployment infrastructure is designed specifically to handle the unique challenges of stateful, long-running workflows at scale.

LangGraph integrates within a broader ecosystem of LangChain products. While it can be used standalone, it pairs with Deep Agents for building agents capable of planning and leveraging subagents, with LangChain for composable components and integrations, and with LangSmith for evaluation and observability. The framework is inspired by Pregel and Apache Beam, with its public interface drawing from NetworkX conventions.

The repository demonstrates active maintenance and community engagement.

The framework is classified across multiple domains including graph-based language models, graph-based reasoning, AI frameworks, semantic analysis, information extraction, graph algorithms, knowledge representation, knowledge graphs, information retrieval, and natural language processing. Comprehensive documentation is available through docs.langchain.com, with API reference documentation at reference.langchain.com/python/langgraph. The project includes guides for streaming, memory and persistence, design patterns like branching and subgraphs, and a free structured course through LangChain Academy. The codebase is open source under the MIT license.