LangChain Python
Section titled “LangChain Python”LangChain 是一个用于构建基于大语言模型(LLM)的应用程序的框架。它提供了一套标准化的接口来连接模型、工具和代理,帮助你构建可扩展的 AI Agent 系统。
- Models(模型) — 统一的接口访问各种 LLM 和 chat 模型
- Tools(工具) — 让 Agent 能够调用外部 API 和函数
- Agents(代理) — 自主决策和执行任务的 AI 实体
- Memory(记忆) — 短期和长期记忆管理
- Streaming(流式) — 实时流式传输 Agent 的输出
pip install langchain- Get started — 安装、快速开始、更新日志
- Core components — 模型、工具、消息、Agent 等核心组件
- Middleware — 内置和自定义中间件
- Frontend — 生成式 UI、结构化输出、分支聊天等
- Advanced — 长期记忆、MCP、检索增强生成等高级话题
- Multi-agent — 多 Agent 协作、路由、子 Agent
- Agent development — 测试、评估和 UI
- Deploy — 通过 LangSmith 部署和可观测性