{"data":{"slug":"langchain-ai-langchain","name":"langchain","tagline":"The agent engineering platform.","github_url":"https://github.com/langchain-ai/langchain","owner":"langchain-ai","repo":"langchain","owner_avatar_url":"https://avatars.githubusercontent.com/u/126733545?v=4","primary_language":"Python","stars":143615,"forks":23930,"topics":["agents","ai","ai-agents","anthropic","chatgpt","deepagents","enterprise","framework","gemini","generative-ai","langchain","langgraph","llm","multiagent","open-source","openai","pydantic","python","rag","typescript"],"archived":false,"github_pushed_at":"2026-08-07T08:27:07+00:00","maintenance_label":"Very active","stars_delta_30d":2337,"url":"https://www.graphcanon.com/tools/langchain-ai-langchain","markdown_url":"https://www.graphcanon.com/tools/langchain-ai-langchain.md","api_url":"https://www.graphcanon.com/api/graphcanon/tools/langchain-ai-langchain","graph_url":"https://www.graphcanon.com/api/graphcanon/graph?tool=langchain-ai-langchain","description":"The agent engineering platform.","homepage_url":"https://docs.langchain.com/langchain/","license":"MIT","open_issues":463,"watchers":908,"ai_summary":"LangChain is a framework for building agents and LLM-powered applications offering interoperable components and third-party integrations to simplify AI application development.","readme_excerpt":"<div align=\"center\">\n  <a href=\"https://docs.langchain.com/oss/python/langchain/overview\">\n    <picture>\n      <source media=\"(prefers-color-scheme: dark)\" srcset=\".github/images/logo-dark.svg\">\n      <source media=\"(prefers-color-scheme: light)\" srcset=\".github/images/logo-light.svg\">\n      <img alt=\"LangChain Logo\" src=\".github/images/logo-dark.svg\" width=\"50%\">\n    </picture>\n  </a>\n</div>\n\n<div align=\"center\">\n  <h3>The agent engineering platform.</h3>\n</div>\n\n<div align=\"center\">\n  <a href=\"https://opensource.org/licenses/MIT\" target=\"_blank\"><img src=\"https://img.shields.io/pypi/l/langchain\" alt=\"PyPI - License\"></a>\n  <a href=\"https://pypistats.org/packages/langchain\" target=\"_blank\"><img src=\"https://img.shields.io/pepy/dt/langchain\" alt=\"PyPI - Downloads\"></a>\n  <a href=\"https://pypi.org/project/langchain/#history\" target=\"_blank\"><img src=\"https://img.shields.io/pypi/v/langchain?label=%20\" alt=\"Version\"></a>\n  <a href=\"https://x.com/langchain_oss\" target=\"_blank\"><img src=\"https://img.shields.io/twitter/url/https/twitter.com/langchain_oss.svg?style=social&label=Follow%20%40LangChain\" alt=\"Twitter / X\"></a>\n</div>\n\n<br>\n\nLangChain is a framework for building agents and 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> [!TIP]\n> Just getting started? Check out **[Deep Agents](http://docs.langchain.com/oss/python/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## Quickstart\n\n```bash\nuv add langchain\n```\n\n```python\nfrom langchain.chat_models import init_chat_model\n\nmodel = init_chat_model(\"openai:gpt-5.5\")\nresult = model.invoke(\"Hello, world!\")\n```\n\nIf you're looking for more advanced customization or agent orchestration, check out [LangGraph](https://github.com/langchain-ai/langgraph), our framework for building controllable agent workflows.\n\nFor an equivalent JS/TS library, check out [LangChain.js](https://github.com/langchain-ai/langchainjs).\n\n> [!TIP]\n> For developing, debugging, and deploying AI agents and LLM applications, see [LangSmith](https://docs.langchain.com/langsmith/home).\n\n## LangChain ecosystem\n\nWhile the LangChain framework can be used standalone, it also integrates seamlessly with any LangChain product, giving developers a full suite of tools when building LLM applications.\n\n- **[Deep Agents](http://docs.langchain.com/oss/python/deepagents/)** — Build agents that can plan, use subagents, and leverage file systems for complex tasks\n- **[LangGraph](https://docs.langchain.com/oss/python/langgraph/overview)** — Build agents that can reliably handle complex tasks with our low-level agent orchestration framework\n- **[Integrations](https://docs.langchain.com/oss/python/integrations/providers/overview)** — Chat & embedding models, tools & toolkits, and more\n- **[LangSmith](https://www.langchain.com/langsmith)** — Agent evals, observability, and debugging for LLM apps\n- **[LangSmith Deployment](https://docs.langchain.com/langsmith/deployments)** — Deploy and scale agents with a purpose-built platform for long-running, stateful workflows\n\n## Why use LangChain?\n\nLangChain helps developers build applications powered by LLMs through a standard interface for models, embeddings, vector stores, and more.\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** —","github_created_at":"2022-10-17T02:58:36+00:00","created_at":"2026-07-07T15:07:35.78142+00:00","updated_at":"2026-08-07T12:01:03.135392+00:00","categories":[{"slug":"ai-agents","name":"AI Agents","url":"https://www.graphcanon.com/categories/ai-agents","markdown_url":"https://www.graphcanon.com/categories/ai-agents.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/ai-agents"},{"slug":"llm-frameworks","name":"LLM Frameworks","url":"https://www.graphcanon.com/categories/llm-frameworks","markdown_url":"https://www.graphcanon.com/categories/llm-frameworks.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/llm-frameworks"}],"tags":[{"slug":"agents","name":"agents"},{"slug":"ai-agents","name":"ai-agents"},{"slug":"anthropic","name":"anthropic"},{"slug":"chatgpt","name":"chatgpt"},{"slug":"deepagents","name":"deepagents"},{"slug":"enterprise","name":"enterprise"},{"slug":"gemini","name":"gemini"},{"slug":"generative-ai","name":"generative-ai"}],"trust":{"provenance":{"is_fork":false,"github_id":552661142,"owner_type":"Organization","methodology":"github_public_v1","parent_repo":null,"near_duplicate_slugs":[]},"computed_at":"2026-08-07T12:01:02.362Z","maintenance":{"label":"Very active","score":96,"methodology":"github_public_v1","releases_90d":30,"days_since_push":0,"last_release_at":"2026-08-05T19:03:33Z","stars_delta_30d":2337,"open_issues_delta_30d":57},"security_summary":{"status":"no_lockfile","scanner":null,"low_count":0,"high_count":0,"last_scan_at":"2026-07-11T10:38:20.902Z","medium_count":0,"scan_profile":"none","critical_count":0}},"capability_facts":{"scan":{"source":"repo_scan","observed_at":"2026-08-07T12:01:02.842Z"},"languages":{"value":["python"],"source":"github.language","observed_at":"2026-08-07T12:01:02.842Z"},"license_spdx":{"value":"MIT","source":"github.license","observed_at":"2026-08-07T12:01:02.842Z"}},"decision_facts":{"hosting":null,"pricing":{"model":"freemium","summary":"LangChain itself is open-source and free to use. However, it might rely on paid services or premium models from external platforms like OpenAI."},"requirements":null,"constraints":{"pricing_model":"freemium"},"when_to_use":["* When aiming to build complex AI-powered agents or applications requiring high-level capabilities like planning, subagent interaction, and file system operations.","* If you're integrating third-party libraries or services for chat & embedding models within your AI projects without wanting to reinvent the wheel.","* For developers who seek a platform that simplifies orchestration and maintenance of agent workflows through its LangGraph component."],"when_not_to_use":["* When working on smaller, less complex projects where full-scale integration with sophisticated components is not necessary as LangChain's extensive features might introduce unnecessary complexity.","* If you are primarily focused on JavaScript or TypeScript development as the primary focus of LangChain is Python. Although there is a JS/TS equivalent (LangChain.js), it may not offer the same depth","* For projects requiring heavy customization at lower levels, where a more granular control over individual components is required rather than working with an integrated framework."],"source":"enrich:decision_facts","observed_at":"2026-07-11T11:47:26.032Z"},"constraint_facets":{"pricing_model":"freemium"},"decision_summary":[{"label":"Pricing","value":"freemium - LangChain itself is open-source and free to use. However, it might rely on paid services or premium models from external platforms like OpenAI."},{"label":"Adopt for","value":"LangChain is an open-source platform designed specifically for building agents and applications that leverage large language models (LLMs). It provides a standard framework to develop interoperable components and connect"},{"label":"License detail","value":"MIT License, allowing free use for both personal and commercial purposes under its stipulated terms."}]}}