{"name":"@langchain/langgraph","version":"0.3.6","author":"LangChain","license":"MIT","_id":"@langchain/langgraph@0.3.6","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":"davidduong","email":"david@duong.cz"},{"name":"maddyadams","email":"madelyn.adams1@gmail.com"},{"name":"sam_noyes","email":"sam@langchain.dev"},{"name":"hntrl","email":"hunter@hntrl.io"}],"dist":{"shasum":"dc96d9b86d3686e74472d6f2181ecdbb4446f4a6","tarball":"http://registry-npm.ywwl.com/@langchain/langgraph/download/@langchain/langgraph-0.3.6.tgz","fileCount":319,"integrity":"sha512-TMRUEPb/eC5mS8XdY6gwLGX2druwFDxSWUQDXHHNsbrqhIrL3BPlw+UumjcKBQ8wvhk3gEspg4aHXGq8mAqbRA==","signatures":[{"sig":"MEUCIQCj1g9gV2aESdBLj5QjbOnUqobcha/HQfdLTHH+KG1KKAIgDflg8kHyMiuaYKRIom3s7mE2Mc2cBNi30cp067zpxM8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1732913,"size":288400,"noattachment":false,"key":"/@langchain/langgraph/-/@langchain/langgraph-0.3.6.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"},"./zod":{"types":{"import":"./zod.d.ts","default":"./zod.d.ts","require":"./zod.d.cts"},"import":"./zod.js","require":"./zod.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"},"./zod/schema":{"types":{"import":"./zod/schema.d.ts","default":"./zod/schema.d.ts","require":"./zod/schema.d.cts"},"import":"./zod/schema.js","require":"./zod/schema.cjs"},"./package.json":"./package.json"},"gitHead":"e521f5f35f6452466ea7cc8053626a03197cbf1f","scripts":{"lint":"yarn lint:eslint && yarn lint:dpdm","test":"vitest run","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":"vitest run --mode int","lint:dpdm":"dpdm --exit-code circular:1 --no-warning --no-tree src/*.ts src/**/*.ts","test:watch":"vitest watch","lint:eslint":"NODE_OPTIONS=--max-old-space-size=4096 eslint --cache --ext .ts,.js src/","format:check":"prettier --config .prettierrc --check \"src\"","test:browser":"vitest run --mode browser","build:internal":"yarn clean && yarn lc_build --create-entrypoints --pre --tree-shaking"},"_npmUser":{"name":"davidduong","actor":{"name":"davidduong","type":"user","email":"david@duong.cz"},"email":"david@duong.cz"},"repository":{"url":"git@github.com:langchain-ai/langgraphjs.git","type":"git"},"description":"LangGraph","directories":{},"dependencies":{"zod":"^3.25.32","uuid":"^10.0.0","@langchain/langgraph-sdk":"~0.0.32","@langchain/langgraph-checkpoint":"~0.0.18"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"pg":"^8.13.0","tsx":"^4.19.3","dpdm":"^3.12.0","dotenv":"^16.3.1","eslint":"^8.33.0","rollup":"^4.37.0","vitest":"^3.1.2","cheerio":"1.0.0-rc.12","prettier":"^2.8.3","@swc/core":"^1.3.90","@types/pg":"^8","langchain":"^0.3.13","playwright":"^1.51.0","release-it":"^19.0.2","typescript":"^4.9.5 || ^5.4.5","@types/uuid":"^10","@langchain/core":"^0.3.58","@vitest/browser":"^3.0.8","@langchain/openai":"^0.4.0","@langchain/scripts":">=0.1.3 <0.2.0","zod-to-json-schema":"^3.22.4","@langchain/anthropic":"^0.3.12","@langchain/community":"^0.3.27","@testing-library/dom":"^10.4.0","@xenova/transformers":"^2.17.2","eslint-plugin-import":"^2.29.1","@tsconfig/recommended":"^1.0.3","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","vite-plugin-node-polyfills":"^0.23.0","eslint-plugin-no-instanceof":"^1.0.1","@typescript-eslint/eslint-plugin":"^6.12.0","@langchain/langgraph-checkpoint-sqlite":"0.1.5","@langchain/langgraph-checkpoint-postgres":"0.0.5"},"peerDependencies":{"@langchain/core":">=0.3.58 < 0.4.0","zod-to-json-schema":"^3.x"},"peerDependenciesMeta":{"zod-to-json-schema":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/langgraph_0.3.6_1751374074027_0.057693973710679414","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":1751374074299,"_cnpm_publish_time":1751374074299,"dist-tags":{"alpha":"1.0.0-alpha.1","latest":"1.7.3","next":"1.0.1","rc":"1.4.18-rc.0"}}