langchain LLM应用的胶水框架

2025年09月13日 06:49:46
183
LLM LLM应用 LLM框架
langchain langchain-ai/langchain

把大模型和数据库、API、知识库结合起来的胶水框架!它像“乐高积木”一样,把各种AI组件拼起来,让你轻松开发聊天机器人、问答系统、智能助手,不用从零写代码。

项目大小 475.46 KB
涉及语言 Python 98.60% Jupyter Notebook 0.64% Makefile 0.52% Shell 0.13% XSLT 0.07% HTML 0.02% Dockerfile 0.02% JavaScript 0.00%
许可协议 LICENSE
仓库同步说明
  • • 同步需要仓库写入权限以创建目标仓库
  • • 使用平台账号授权登录后将同步到您平台下的个人仓库
LangChain Logo

PyPI - License
PyPI - Downloads
Open in Dev Containers
Open in Github Codespace
CodSpeed Badge
Twitter

[!NOTE]
Looking for the JS/TS library? Check out LangChain.js.

LangChain 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.

1
pip install -U langchain

To learn more about LangChain, check out
the docs. If you’re looking for more
advanced customization or agent orchestration, check out
LangGraph, our framework for building
controllable agent workflows.

Why use LangChain?

LangChain helps developers build applications powered by LLMs through a standard
inte***ce for models, embeddings, vector stores, and more.

Use LangChain for:

  • 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.
  • 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.

LangChain’s ecosystem

While 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.

To improve your LLM application development, pair LangChain with:

  • 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.
  • LangGraph - 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.
  • LangGraph Platform - Deploy
    and scale agents effortlessly with a purpose-built deployment platform for long-running, stateful workflows. Discover, reuse, configure, and share agents across
    teams — and iterate quickly with visual prototyping in
    LangGraph Studio.

Additional resources

  • Tutorials: Simple walkthroughs with
    guided examples on getting started with LangChain.
  • How-to Guides: Quick, actionable code
    snippets for topics such as tool calling, RAG use cases, and more.
  • Conceptual Guides: Explanations of key
    concepts behind the LangChain framework.
  • LangChain Forum: Connect with the community and share all of your technical questions, ideas, and feedback.
  • API Reference: Detailed reference on
    navigating base packages and integrations for LangChain.
  • Chat LangChain: Ask questions & chat with our documentation.

                

                

免责声明 © 2026 - 虚宝阁

本站部分源码来源于网络,版权归属原开发者,用户仅获得使用权。依据《计算机软件保护条例》第十六条,禁止:

  • 逆向工程破解技术保护措施
  • 未经许可的分发行为
  • 去除源码中的原始版权标识

※ 本站源码仅用于学习和研究,禁止用于商业用途。如有侵权, 请及时联系我们进行处理。

侵权举报请提供: 侵权页面URL | 权属证明模板

响应时效:收到完整材料后48小时内处理

相关推荐

langchainjs: 用语言模型构建模块化AI应用

langchainjs: 用语言模型构建模块化AI应用

帮助你用大型语言模型(如 GPT)构建模块化智能应用。 想做 AI 代理?做会读 PDF 的问答机器人?轻松搞定。 简直是生成式 AI 的乐高积木。

15824 2025-10-01
Claudable:基于 Next.js 框架的网站生成器

Claudable:基于 Next.js 框架的网站生成器

把你用自然语言描述的应用想法,直接变成可以运行的网站代码。Claudable 背后依赖强大的 AI 编程助手,主要是 Claude Code,也支持 Cursor CLI 来理解你的需求并生成代码。你不需要懂复杂的 API 设置、数据库配置或者部署流程:用简单的语言告诉 Claudable 你想要什么应用。

2525 2025-09-15
n8n: AI自动化工作流工具

n8n: AI自动化工作流工具

基于节点的自动化工作流工具,能帮助用户轻松创建和管理复杂的自动化流程,无需编写大量代码。并且内置了AI能力,支持 400+ 应用和服务!

146989 2025-09-26
fastapi: Python web api 框架

fastapi: Python web api 框架

一个基于 Python 3.6+ 版本的异步 WEB 应用框架,使用 Python 类型注解构建 web API 。主要特点有: 高性能:与 Node JS 和 Go 相当。 编码快:将开发功能的速度提高 2~3 倍。 Bug少:减少大约 40% 的由开发人员导致的错误。 直观:强大的编辑器支持,可智能感知和补全代码。 简单:易于学习和使用,减少文档阅读时间。 简短:尽量减少代码重复。 健壮:获得可用于生产的代码,具有自动交互文档。 基于标准:基于 OpenAPI 和 JSON Schema 。

90539 2025-09-16
ant-design-vue-pro

ant-design-vue-pro

👨🏻‍💻👩🏻‍💻 Use Ant Design Vue like a Pro! (vue2)

10932 2025-09-20
refine: 企业级React后台框架

refine: 企业级React后台框架

这是一个专为构建 CRUD(增删改查)应用设计的 Web 框架,只需一行命令即可生成项目骨架,内置登录、列表、详情、编辑页面等功能。业务逻辑与 UI、路由完全解耦,可灵活集成 Ant Design、Material-UI 等设计系统,适用于快速开发管理后台、仪表盘、内部工具和 B2B 应用。

32865 2025-09-13
Seelen-UI: 高度可定制的 Windows 桌面美化工具

Seelen-UI: 高度可定制的 Windows 桌面美化工具

一款免费开源的 Windows 桌面增强工具,专注于高度自定义和效率提升。它采用 Rust 语言开发,结合 Tauri 框架与 Web 技术,支持窗口平铺管理、应用启动器、Dock、任务栏、动态壁纸、插件扩展等功能。

13691 2025-10-04
simple-git Node.js 中简单易用的Git操作神器

simple-git Node.js 中简单易用的Git操作神器

Simple-Git 是一个基于 Node.js 的库,它为开发者提供了一种简单而直观的方式来执行 Git 命令。通过使用 Simple-Git,你可以在 Node.js 应用程序中轻松地执行诸如提交、推送、拉取等操作,而无需手动执行 Git 命令行。

3734 2025-09-13

仓库下载

gitee

GitHub 下载代理

文件信息

文件名
文件大小
文件类型
代理耗时