{"id":13406032,"url":"https://github.com/langchain-ai/langchainjs","last_synced_at":"2026-05-19T01:07:13.726Z","repository":{"id":65939015,"uuid":"598342280","full_name":"langchain-ai/langchainjs","owner":"langchain-ai","description":"The agent engineering platform","archived":false,"fork":false,"pushed_at":"2026-05-16T06:15:27.000Z","size":697921,"stargazers_count":17671,"open_issues_count":363,"forks_count":3170,"subscribers_count":95,"default_branch":"main","last_synced_at":"2026-05-16T06:41:54.952Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://docs.langchain.com/langchain/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/langchain-ai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/contributing/INTEGRATIONS.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2023-02-06T22:50:27.000Z","updated_at":"2026-05-16T06:14:32.000Z","dependencies_parsed_at":"2023-10-14T15:40:33.461Z","dependency_job_id":"bc25d536-1f7d-444c-bf72-b7241253423e","html_url":"https://github.com/langchain-ai/langchainjs","commit_stats":{"total_commits":4393,"total_committers":734,"mean_commits":5.985013623978202,"dds":0.6653767357159117,"last_synced_commit":"f75e99bee43c03996425ee1a72fde2472e1c2020"},"previous_names":["langchain-ai/langchainjs","hwchase17/langchainjs"],"tags_count":1159,"template":false,"template_full_name":null,"purl":"pkg:github/langchain-ai/langchainjs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/langchain-ai%2Flangchainjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/langchain-ai%2Flangchainjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/langchain-ai%2Flangchainjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/langchain-ai%2Flangchainjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/langchain-ai","download_url":"https://codeload.github.com/langchain-ai/langchainjs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/langchain-ai%2Flangchainjs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33197524,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"ssl_error","status_checked_at":"2026-05-18T09:27:28.300Z","response_time":71,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-30T19:02:19.062Z","updated_at":"2026-05-19T01:07:13.718Z","avatar_url":"https://github.com/langchain-ai.png","language":"TypeScript","funding_links":[],"categories":["TypeScript","Projects using `@faker-js/faker`","others","Chatbots \u0026 Virtual Companions","A01_文本生成_文本对话","🛠️ Development Frameworks","Integrations","LangChain框架","Official Resources","Learning","Repos","🚀 Specialized Agents","2. Libraries \u0026 Frameworks","AI Agent Frameworks \u0026 SDKs","⚙️ Backend \u0026 APIs"],"sub_categories":["大语言对话模型及数据","TypeScript / JavaScript","☕️ Java AI Recipes","Repositories","🗣️ Programming Language Agents","JavaScript / TypeScript","Cognitive Architecture Frameworks"],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://www.langchain.com/\"\u003e\n    \u003cpicture\u003e\n      \u003csource media=\"(prefers-color-scheme: light)\" srcset=\".github/images/logo-light.svg\"\u003e\n      \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\".github/images/logo-dark.svg\"\u003e\n      \u003cimg alt=\"LangChain Logo\" src=\".github/images/logo-dark.svg\" width=\"50%\"\u003e\n    \u003c/picture\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003ch3\u003eThe agent engineering platform.\u003c/h3\u003e\n\u003c/div\u003e\n\n![npm](https://img.shields.io/npm/dm/langchain) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Twitter](https://img.shields.io/twitter/url/https/twitter.com/langchain_js.svg?style=social\u0026label=Follow%20%40LangChain)](https://x.com/langchain_js)\n\nLangChain is a framework for building LLM-powered applications. It helps you chain together interoperable components and third-party integrations to simplify AI application development — all while future-proofing decisions as the underlying technology evolves.\n\n\u003e [!TIP]\n\u003e Just getting started? Check out **[Deep Agents](http://docs.langchain.com/oss/javascript/deepagents/)** — a higher-level package built on LangChain for agents that have built-in capabilites for common usage patterns such as planning, subagents, file system usage, and more.\n\n**Documentation**: To learn more about LangChain, check out [the docs](https://docs.langchain.com/oss/javascript/langchain/overview).\n\nIf you're looking for more advanced customization or agent orchestration, check out [LangGraph.js](https://docs.langchain.com/oss/javascript/langgraph/overview) - our framework for building agents and controllable workflows.\n\nFor an equivalent Python library, check out [LangChain](https://github.com/langchain-ai/langchain).\n\nTo help you ship LangChain apps to production faster, check out [LangSmith](https://smith.langchain.com).\n[LangSmith](https://smith.langchain.com) is a unified developer platform for building, testing, and monitoring LLM applications.\n\n## ⚡️ Quick Install\n\nYou can use npm, pnpm, or yarn to install LangChain.js\n\n`npm install -S langchain` or `pnpm install langchain` or `yarn add langchain`\n\n## 🚀 Why use LangChain?\n\nLangChain helps developers build applications powered by LLMs through a standard interface for agents, models, embeddings, vector stores, and more.\n\nUse LangChain for:\n\n- **Real-time data augmentation**. Easily connect LLMs to diverse data sources and external/internal systems, drawing from LangChain’s vast library of integrations with model providers, tools, vector stores, retrievers, and more.\n- **Model interoperability**. Swap models in and out as your engineering team experiments to find the best choice for your application’s needs. As the industry frontier evolves, adapt quickly — LangChain’s abstractions keep you moving without losing momentum.\n- **Rapid prototyping**. Quickly build and iterate on LLM applications with LangChain's modular, component-based architecture. Test different approaches and workflows without rebuilding from scratch, accelerating your development cycle.\n- **Production-ready features**. Deploy reliable applications with built-in support for monitoring, evaluation, and debugging through integrations like LangSmith. Scale with confidence using battle-tested patterns and best practices.\n- **Vibrant community and ecosystem**. Leverage a rich ecosystem of integrations, templates, and community-contributed components. Benefit from continuous improvements and stay up-to-date with the latest AI developments through an active open-source community.\n- **Flexible abstraction layers**. Work at the level of abstraction that suits your needs - from high-level chains for quick starts to low-level components for fine-grained control. LangChain grows with your application's complexity.\n\n## 📦 LangChain's ecosystem\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 LangChain.\n- [LangSmith](https://www.langchain.com/langsmith) - Unified developer platform for building, testing, and monitoring LLM applications. With LangSmith, you can debug poor-performing LLM app runs, evaluate agent trajectories, gain visibility in production, and deploy agents with confidence.\n- [LangSmith Deployment](https://docs.langchain.com/langsmith/deployments) — Deploy and scale agents with a purpose-built platform for long-running, stateful workflows\n- [LangGraph](https://docs.langchain.com/oss/javascript/langgraph/overview) - Build agents that can reliably handle complex tasks with LangGraph, our low-level agent orchestration framework. LangGraph offers customizable architecture, long-term memory, and human-in-the-loop workflows — and is trusted in production by companies like LinkedIn, Uber, Klarna, and GitLab.\n- [Integrations](https://docs.langchain.com/oss/javascript/integrations/providers/overview) — Chat \u0026 embedding models, tools \u0026 toolkits, and more\n\n## 🌐 Supported Environments\n\nLangChain.js is written in TypeScript and can be used in:\n\n- Node.js (ESM and CommonJS) - 20.x, 22.x, 24.x\n- Cloudflare Workers\n- Vercel / Next.js (Browser, Serverless and Edge functions)\n- Supabase Edge Functions\n- Browser\n- Deno\n- Bun\n\n## 📖 Additional Resources\n\n- [Getting started](https://docs.langchain.com/oss/javascript/langchain/overview): Installation, setting up the environment, simple examples\n- [Learn](https://docs.langchain.com/oss/javascript/learn): Learn about the core concepts of LangChain.\n- [LangChain Forum](https://forum.langchain.com): Connect with the community and share all of your technical questions, ideas, and feedback.\n- [Chat LangChain](https://chat.langchain.com): Ask questions \u0026 chat with our documentation.\n\n## 💁 Contributing\n\nAs an open-source project in a rapidly developing field, we are extremely open to contributions, whether it be in the form of a new feature, improved infrastructure, or better documentation.\n\nFor detailed information on how to contribute, see [`CONTRIBUTING.md`](https://github.com/langchain-ai/langchainjs/blob/main/CONTRIBUTING.md).\n\nPlease report any security issues or concerns following our [security guidelines](https://github.com/langchain-ai/.github/blob/main/SECURITY.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flangchain-ai%2Flangchainjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flangchain-ai%2Flangchainjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flangchain-ai%2Flangchainjs/lists"}