{"name":"@langchain/langgraph","version":"0.2.54","author":{"name":"LangChain"},"license":"MIT","_id":"@langchain/langgraph@0.2.54","maintainers":[{"name":"hwchase17","email":"hw.chase.17@gmail.com"},{"name":"jacoblee93","email":"jacoblee93@gmail.com"},{"name":"basproul","email":"braceasproul@gmail.com"},{"name":"eric_langchain","email":"eric@langchain.dev"},{"name":"andrewnguonly","email":"andrewnguonly@gmail.com"},{"name":"nfcampos","email":"nuno@boringbits.io"},{"name":"vbarda","email":"vadym@langchain.dev"},{"name":"davidduong","email":"david@duong.cz"},{"name":"maddyadams","email":"madelyn.adams1@gmail.com"},{"name":"sam_noyes","email":"sam@langchain.dev"},{"name":"benjamincburns","email":"benjamin.c.burns@gmail.com"}],"homepage":"https://github.com/langchain-ai/langgraphjs#readme","bugs":{"url":"https://github.com/langchain-ai/langgraphjs/issues"},"dist":{"shasum":"f57a9b471808c122ee5ae4506ed05cc75f1578bd","tarball":"http://registry-npm.ywwl.com/@langchain/langgraph/download/@langchain/langgraph-0.2.54.tgz","fileCount":243,"integrity":"sha512-+P2rU0Qz6bBCNPXOSV8WeUpLRTvhu8fQuzMYR2MqWsbbfmZrfmLxqtVWPHkmr5khx/txxFy1vOBAy+KwZ94mrg==","signatures":[{"sig":"MEUCIDbtS1woEt6QHw/MzWaoJgZD1Kj3uNRmZu1sMiMnlHqAAiEA9VhJY0gZuc0TaTdRVoy2kKWFQ3A1lHoMuw+g95982F4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1155113,"size":242257,"noattachment":false,"key":"/@langchain/langgraph/-/@langchain/langgraph-0.2.54.tgz"},"main":"./index.js","type":"module","types":"./index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":{"import":"./index.d.ts","default":"./index.d.ts","require":"./index.d.cts"},"import":"./index.js","require":"./index.cjs"},"./web":{"types":{"import":"./web.d.ts","default":"./web.d.ts","require":"./web.d.cts"},"import":"./web.js","require":"./web.cjs"},"./pregel":{"types":{"import":"./pregel.d.ts","default":"./pregel.d.ts","require":"./pregel.d.cts"},"import":"./pregel.js","require":"./pregel.cjs"},"./remote":{"types":{"import":"./remote.d.ts","default":"./remote.d.ts","require":"./remote.d.cts"},"import":"./remote.js","require":"./remote.cjs"},"./prebuilt":{"types":{"import":"./prebuilt.d.ts","default":"./prebuilt.d.ts","require":"./prebuilt.d.cts"},"import":"./prebuilt.js","require":"./prebuilt.cjs"},"./package.json":"./package.json"},"gitHead":"389a69c352fa5134262d125c346538b72ded50f4","scripts":{"lint":"yarn lint:eslint && yarn lint:dpdm","test":"NODE_OPTIONS=--experimental-vm-modules jest --testPathIgnorePatterns=\\.int\\.test.ts --testTimeout 30000 --maxWorkers=50%","build":"yarn turbo:command build:internal --filter=@langchain/langgraph","clean":"rm -rf dist/ dist-cjs/ .turbo/","format":"prettier --config .prettierrc --write \"src\"","prepack":"yarn build","lint:fix":"yarn lint:eslint --fix && yarn lint:dpdm","test:int":"NODE_OPTIONS=--experimental-vm-modules jest --testPathPattern=\\.int\\.test.ts --testTimeout 100000 --maxWorkers=50%","lint:dpdm":"dpdm --exit-code circular:1 --no-warning --no-tree src/*.ts src/**/*.ts","test:watch":"NODE_OPTIONS=--experimental-vm-modules jest --watch --testPathIgnorePatterns=\\.int\\.test.ts","lint:eslint":"NODE_OPTIONS=--max-old-space-size=4096 eslint --cache --ext .ts,.js src/","test:single":"NODE_OPTIONS=--experimental-vm-modules yarn run jest --config jest.config.cjs --testTimeout 100000","format:check":"prettier --config .prettierrc --check \"src\"","build:internal":"yarn clean && yarn lc_build --create-entrypoints --pre --tree-shaking"},"_npmUser":{"name":"benjamincburns","email":"benjamin.c.burns@gmail.com"},"repository":{"url":"git+ssh://git@github.com/langchain-ai/langgraphjs.git","type":"git"},"_npmVersion":"10.9.2","description":"LangGraph","directories":{},"_nodeVersion":"22.13.1","dependencies":{"zod":"^3.23.8","uuid":"^10.0.0","@langchain/langgraph-sdk":"~0.0.32","@langchain/langgraph-checkpoint":"~0.0.16"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"pg":"^8.13.0","tsx":"^4.7.0","dpdm":"^3.12.0","jest":"^29.5.0","dotenv":"^16.3.1","eslint":"^8.33.0","rollup":"^4.34.7","cheerio":"1.0.0-rc.12","ts-jest":"^29.1.0","prettier":"^2.8.3","@swc/core":"^1.3.90","@swc/jest":"^0.2.29","@types/pg":"^8","langchain":"^0.3.13","release-it":"^17.6.0","typescript":"^4.9.5 || ^5.4.5","@types/uuid":"^10","@jest/globals":"^29.5.0","@langchain/core":"^0.3.40","@langchain/openai":"^0.4.0","@langchain/scripts":">=0.1.3 <0.2.0","eslint-plugin-jest":"^28.8.0","zod-to-json-schema":"^3.22.4","@langchain/anthropic":"^0.3.12","@langchain/community":"^0.3.27","@xenova/transformers":"^2.17.2","eslint-plugin-import":"^2.29.1","@tsconfig/recommended":"^1.0.3","jest-environment-node":"^29.6.4","eslint-config-prettier":"^8.6.0","eslint-plugin-prettier":"^4.2.1","@typescript-eslint/parser":"^6.12.0","eslint-config-airbnb-base":"^15.0.0","eslint-plugin-no-instanceof":"^1.0.1","@typescript-eslint/eslint-plugin":"^6.12.0","@langchain/langgraph-checkpoint-sqlite":"workspace:*","@langchain/langgraph-checkpoint-postgres":"workspace:*"},"peerDependencies":{"@langchain/core":">=0.2.36 <0.3.0 || >=0.3.40 < 0.4.0"},"_npmOperationalInternal":{"tmp":"tmp/langgraph_0.2.54_1741252697598_0.46815826066410726","host":"s3://npm-registry-packages-npm-production"},"readme":"<div align=\"center\">\n  <a href=\"https://www.langchain.com/langgraph\">\n    <picture>\n      <source media=\"(prefers-color-scheme: dark)\" srcset=\"https://raw.githubusercontent.com/langchain-ai/langgraphjs/HEAD/.github/images/logo-dark.svg\">\n      <source media=\"(prefers-color-scheme: light)\" srcset=\"https://raw.githubusercontent.com/langchain-ai/langgraphjs/HEAD/.github/images/logo-light.svg\">\n      <img alt=\"LangGraph Logo\" src=\"https://raw.githubusercontent.com/langchain-ai/langgraphjs/HEAD/.github/images/logo-dark.svg\" width=\"50%\">\n    </picture>\n  </a>\n</div>\n\n<div align=\"center\">\n  <h3>Low-level orchestration framework for building stateful agents.</h3>\n</div>\n\n<div align=\"center\">\n  <a href=\"https://docs.langchain.com/oss/javascript/langgraph/overview\" target=\"_blank\"><img src=\"https://img.shields.io/badge/docs-latest-blue\" alt=\"Docs\"></a>\n  <a href=\"https://www.npmjs.com/package/@langchain/langgraph\" target=\"_blank\"><img src=\"https://img.shields.io/npm/v/@langchain/langgraph?logo=npm\" alt=\"Version\"></a>\n  <a href=\"https://www.npmjs.com/package/@langchain/langgraph\" target=\"_blank\"><img src=\"https://img.shields.io/npm/dm/@langchain/langgraph\" alt=\"npm - Downloads\"></a>\n  <a href=\"https://github.com/langchain-ai/langgraphjs/issues\" target=\"_blank\"><img src=\"https://img.shields.io/github/issues-raw/langchain-ai/langgraphjs\" alt=\"Open Issues\"></a>\n</div>\n\nLangGraph — used by Replit, Uber, LinkedIn, GitLab and more — is a low-level orchestration framework for building controllable agents. While langchain provides integrations and composable components to streamline LLM application development, the LangGraph library enables agent orchestration — offering customizable architectures, long-term memory, and human-in-the-loop to reliably handle complex tasks.\n\n```bash\nnpm install @langchain/langgraph @langchain/core\n```\n\n> [!TIP]\n> If you're looking to quickly build agents, check out **[Deep Agents](https://docs.langchain.com/oss/javascript/deepagents/overview)** — a higher-level package built on LangGraph for agents that can plan, use subagents, and leverage file systems for complex tasks.\n\nFor an equivalent Python library, check out [LangGraph](https://github.com/langchain-ai/langgraph) and the [Python docs](https://docs.langchain.com/oss/python/langgraph/overview).\n\n## Why use LangGraph?\n\nLangGraph provides low-level supporting infrastructure for *any* long-running, stateful workflow or agent:\n\n- **[Durable execution](https://docs.langchain.com/oss/javascript/langgraph/durable-execution)** — Build agents that persist through failures and can run for extended periods, automatically resuming from exactly where they left off.\n- **[Human-in-the-loop](https://docs.langchain.com/oss/javascript/langgraph/interrupts)** — Seamlessly incorporate human oversight by inspecting and modifying agent state at any point during execution.\n- **[Comprehensive memory](https://docs.langchain.com/oss/javascript/langgraph/memory)** — Create truly stateful agents with both short-term working memory for ongoing reasoning and long-term persistent memory across sessions.\n- **[Debugging with LangSmith](https://www.langchain.com/langsmith)** — Gain deep visibility into complex agent behavior with visualization tools that trace execution paths, capture state transitions, and provide detailed runtime metrics.\n- **[Production-ready deployment](https://docs.langchain.com/langsmith/deployments)** — Deploy sophisticated agent systems confidently with scalable infrastructure designed to handle the unique challenges of stateful, long-running workflows.\n\n> [!TIP]\n> For developing, debugging, and deploying AI agents and LLM applications, see [LangSmith](https://docs.langchain.com/langsmith/home).\n\n## LangGraph’s ecosystem\n\nWhile LangGraph can be used standalone, it also integrates seamlessly with any LangChain product, giving developers a full suite of tools for building agents. To improve your LLM application development, pair LangGraph with:\n\n- [Deep Agents (JS)](https://docs.langchain.com/oss/javascript/deepagents/overview) — Build agents that can plan, use subagents, and leverage file systems for complex tasks. A higher-level package built on top of LangGraph.\n- [LangChain](https://docs.langchain.com/oss/javascript/langchain/overview) – Provides integrations and composable components to streamline LLM application development.\n- [LangSmith](http://www.langchain.com/langsmith) — Helpful for agent evals and observability. Debug poor-performing LLM app runs, evaluate agent trajectories, gain visibility in production, and improve performance over time.\n\n## Additional resources\n\n- [LangChain Forum](https://forum.langchain.com/): Connect with the community and share all of your technical questions, ideas, and feedback.\n- [LangChain Academy](https://academy.langchain.com/courses/intro-to-langgraph): Learn the basics of LangGraph in our free, structured course.\n- [Streaming Cookbook](https://github.com/langchain-ai/streaming-cookbook): Documentation and examples around LangGraphs's streaming capabilities.\n- [API Reference](https://reference.langchain.com/javascript/langchain-langgraph): Detailed reference on core classes, methods, how to use the graph and checkpointing APIs, and higher-level prebuilt components.\n- [Built with LangGraph](https://www.langchain.com/built-with-langgraph): Hear how industry leaders use LangGraph to ship powerful, production-ready AI applications.\n\n## Acknowledgements\n\nLangGraph is inspired by [Pregel](https://research.google/pubs/pub37252/) and [Apache Beam](https://beam.apache.org/). The public interface draws inspiration from [NetworkX](https://networkx.org/documentation/latest/). LangGraph is built by LangChain Inc, the creators of LangChain, but can be used without LangChain.\n","publish_time":1741252697846,"_cnpm_publish_time":1741252697846,"dist-tags":{"alpha":"1.0.0-alpha.1","latest":"1.7.3","next":"1.0.1","rc":"1.4.18-rc.0"}}