{"name":"@langchain/langgraph","version":"0.0.20","author":{"name":"LangChain"},"license":"MIT","_id":"@langchain/langgraph@0.0.20","maintainers":[{"name":"davidduong","email":"david@duong.cz"},{"name":"andrewnguonly","email":"andrewnguonly@gmail.com"},{"name":"basproul","email":"braceasproul@gmail.com"},{"name":"jacoblee93","email":"jacoblee93@gmail.com"},{"name":"nfcampos","email":"nuno@boringbits.io"},{"name":"sullivan-sean","email":"ssullivan61198@gmail.com"},{"name":"hwchase17","email":"hw.chase.17@gmail.com"}],"homepage":"https://github.com/langchain-ai/langgraphjs#readme","bugs":{"url":"https://github.com/langchain-ai/langgraphjs/issues"},"dist":{"shasum":"9229af1a79107916910fa65fe185bf66cda7736f","tarball":"http://registry-npm.ywwl.com/@langchain/langgraph/download/@langchain/langgraph-0.0.20.tgz","fileCount":156,"integrity":"sha512-/byqz3WDbIQqaPDmC+Bo2n36LBpD42yj8wR7KiDZvrOIJSlMIoqwZeRkONEp9D7o61ZRaAMwoUJWriG8L9xdFg==","signatures":[{"sig":"MEUCIACEJW6y5Ip/iaPpnQwlaLUq/xb/n/xmVBf6S21p70IhAiEAxZ4XKqa9XepaeGi2X9cwL414qk9PSZx+fvcspZbd4ZA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":476294,"size":92091,"noattachment":false,"key":"/@langchain/langgraph/-/@langchain/langgraph-0.0.20.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"},"./pregel":{"types":{"import":"./pregel.d.ts","default":"./pregel.d.ts","require":"./pregel.d.cts"},"import":"./pregel.js","require":"./pregel.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","./checkpoint/sqlite":{"types":{"import":"./checkpoint/sqlite.d.ts","default":"./checkpoint/sqlite.d.ts","require":"./checkpoint/sqlite.d.cts"},"import":"./checkpoint/sqlite.js","require":"./checkpoint/sqlite.cjs"}},"gitHead":"49728026a2bcc044466e6a48ce593ed702ff4bd5","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 clean && yarn build:esm && yarn build:cjs && yarn build:scripts","clean":"rm -rf dist/ dist-cjs/ src/package.json && NODE_OPTIONS=--max-old-space-size=4096 yarn create-entrypoints -- --pre","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%","build:cjs":"NODE_OPTIONS=--max-old-space-size=4096 echo '{}' > src/package.json && tsc --outDir dist-cjs/ -p tsconfig.cjs.json && yarn move-cjs-to-dist && rm -rf dist-cjs/ src/package.json","build:esm":"NODE_OPTIONS=--max-old-space-size=4096 rm -f src/package.json && tsc --outDir dist/","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","build:watch":"yarn create-entrypoints && tsc --outDir dist/ --watch","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:scripts":"yarn create-entrypoints && yarn check-tree-shaking","move-cjs-to-dist":"yarn lc-build --config ./langchain.config.js --move-cjs-dist","check-tree-shaking":"yarn lc-build --config ./langchain.config.js --tree-shaking","create-entrypoints":"yarn lc-build --config ./langchain.config.js --create-entrypoints"},"_npmUser":{"name":"jacoblee93","email":"jacoblee93@gmail.com"},"repository":{"url":"git+ssh://git@github.com/langchain-ai/langgraphjs.git","type":"git"},"_npmVersion":"10.2.5","description":"LangGraph","directories":{},"_nodeVersion":"20.10.0","dependencies":{"uuid":"^9.0.1","@langchain/core":">0.1.61 <0.3.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","zod":"^3.22.4","dpdm":"^3.12.0","jest":"^29.5.0","dotenv":"^16.3.1","eslint":"^8.33.0","rollup":"^4.5.2","ts-jest":"^29.1.0","prettier":"^2.8.3","@swc/core":"^1.3.90","@swc/jest":"^0.2.29","langchain":"^0.2.1","release-it":"^15.10.1","typescript":"^5.4.5","@types/uuid":"^9","@jest/globals":"^29.5.0","better-sqlite3":"^9.5.0","@langchain/openai":"^0.0.33","@langchain/scripts":"^0.0.13","zod-to-json-schema":"^3.22.4","@langchain/anthropic":"^0.1.21","@langchain/community":"^0.2.2","eslint-plugin-import":"^2.27.5","@tsconfig/recommended":"^1.0.3","@types/better-sqlite3":"^7.6.9","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"},"peerDependencies":{"better-sqlite3":"^9.5.0"},"peerDependenciesMeta":{"better-sqlite3":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/langgraph_0.0.20_1716506282490_0.766531696078937","host":"s3://npm-registry-packages"},"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":1716506282665,"_cnpm_publish_time":1716506282665,"dist-tags":{"alpha":"1.0.0-alpha.1","latest":"1.7.3","next":"1.0.1","rc":"1.4.18-rc.0"}}