Workflow
Langraph Studio
icon
Search documents
LangGraph Assistants: Building Configurable AI Agents
LangChain· 2025-07-02 14:45
Core Problem & Solution - Traditional agent development suffers from slow iteration cycles due to code modifications for each use case, hindering business teams' experimentation [1] - LangGraph Assistants solve this by separating agent architecture from configuration, enabling code reuse across different use cases and faster experimentation [2] Key Features & Benefits - **Customization:** Allows customization of prompts, models, and tools without altering the underlying code, enabling rapid experimentation [3] - **Deployment:** Facilitates quick deployment of agent variations, allowing developers to push configuration changes without code deployments and business teams to launch assistants rapidly [4] - **Control:** Offers programmatic control for developers to automate assistant lifecycles, manage configurations at scale, and integrate with CI/CD pipelines [5] - **Configuration:** Configuration allows specifying customizable details such as prompts, models, and tools, enabling the same graph to have different capabilities based on runtime configuration [7] - **Versioning:** Provides robust version control and rollbacks, allowing for A/B testing and safe experimentation with configuration changes [44][45][46] LangGraph Studio - LangGraph Studio is a visual agent IDE that allows users to visualize and test agents [14][15] - It enables instant experimentation with different agent configurations, whether debugging locally or pulling production deployments [22] - It simplifies the configuration of complex multi-agent systems by allowing individual nodes to be configured separately [31][32][33][34][35][36] LangGraph Platform - LangGraph Platform is Langchain's enterprise solution for developing, deploying, and managing AI agents [38] - It allows users to create production-ready versions of assistants and access them via API [40][41][42] - It provides a complete REST API specification for creating, managing, and updating assistants programmatically [42][54] SDK & API - LangGraph provides an SDK and API for programmatically creating, using, and managing assistants [47][54] - The SDK allows integration with existing applications and systems, enabling management of the complete lifecycle of agents and assistants from code [54]
Building a multi-modal researcher with Gemini 2.5
LangChain· 2025-07-01 15:01
Gemini Model Capabilities - Gemini 2.5% Pro and Flash models achieved GA (General Availability) on June 17 [11] - Gemini models feature native reasoning, multimodal processing, million-token context window, native tools (including search), and native video understanding [12] - Gemini models support text-to-speech capabilities with multiple speakers [12] Langraph Integration & Researcher Tool - Langraph Studio facilitates the orchestration of the researcher tool, allowing visualization of inputs and outputs of each node [5] - The researcher tool utilizes Gemini's native search tool, video understanding for YouTube URLs, and text-to-speech capabilities to generate reports and podcasts [2][18] - The researcher tool simplifies research by combining web search and video analysis, and offers alternative ingestion methods like podcast generation [4][5] - The researcher tool can be easily customized and integrated into applications via API [9] Performance & Benchmarks - Gemini 2.5% series models demonstrate state-of-the-art performance on various benchmarks, including LM Marine, excelling in tasks like text, webdev, vision, and search [14] - Gemini 2.5% Pro model was rated the best in generating an SVG image of a pelican riding a bicycle, outperforming other models in a benchmark comparison [16][17] Development & Implementation - The deep researcher template using Langraph serves as a foundation, modified to incorporate native video understanding and text-to-speech [18] - Setting up the researcher tool involves cloning the repository, creating an ENV file with a Gemini API key, and running Langraph Studio locally [19] - The code structure includes nodes for search, optional video analysis, report creation, and podcast creation, all reflected visually in Langraph Studio [20]
No Code LangSmith Evaluations
LangChain· 2025-06-18 15:10
LangChain Agent Evaluation - LangChain 降低了 Agent 评估的门槛,使得非开发者也能轻松进行 [1] - Langraph Studio 新增了快速评估 Langraph Agent 的功能 [3] - 用户可以在 Langraph Studio 中选择数据集并启动评估实验 [3][4] - 评估结果可在 Langsmith 中查看,包括模型输出和评估分数 [5] Evaluation Importance and Accessibility - 评估对于构建有效的 Agent 至关重要 [7] - 传统评估对开发者有较高要求,需要掌握 SDK、Piest 和 Evaluate API 等 [7] - LangChain 旨在提供一种无需代码的方式,让任何人都能评估 Langraph Agent [8] - 非技术用户可以基于直觉评估模型选择和提示词等 [9] Configuration and Customization - 用户可以在 Studio 界面中轻松切换 graph 配置,并以此为基础启动评估 [9] - 开发者可以预先设置包含输入主题和参考输出的数据集 [10] - 可以将评估器(Evaluator)绑定到数据集,并自定义评估标准和评分规则 [11][12][13] - 用户可以在 Studio 中修改 graph 配置(如模型、提示词),并启动新的评估实验 [15][16][17] - Studio 提供了无代码配置方式,方便快速迭代 [18]