Преглед на файлове

Merge pull request #626 from HeteroCat/main

更新第五章图片并且新增 fastgpt 平台内容
Sizhou Chen преди 2 седмици
родител
ревизия
248aa2487a
променени са 29 файла, в които са добавени 1406 реда и са изтрити 615 реда
  1. BIN
      code/chapter5/Chatflow-AI_news-draft-9211.zip
  2. BIN
      code/chapter5/HelloAgent_cozeCase.zip
  3. 229 514
      code/chapter5/HelloAgent_difyCase.yml
  4. 655 0
      code/chapter5/HelloAgent_fastgptCase.json
  5. 265 52
      docs/chapter5/Chapter5-Building-Agents-with-Low-Code-Platforms.md
  6. 257 49
      docs/chapter5/第五章 基于低代码平台的智能体搭建.md
  7. BIN
      docs/images/5-figures/coze-01.png
  8. BIN
      docs/images/5-figures/coze-06.png
  9. BIN
      docs/images/5-figures/coze-09.png
  10. BIN
      docs/images/5-figures/dify-05.png
  11. BIN
      docs/images/5-figures/dify-06.png
  12. BIN
      docs/images/5-figures/dify-12.png
  13. BIN
      docs/images/5-figures/dify-13.png
  14. BIN
      docs/images/5-figures/dify-19.png
  15. BIN
      docs/images/5-figures/dify-22.png
  16. BIN
      docs/images/5-figures/fastgpt-01.png
  17. BIN
      docs/images/5-figures/fastgpt-02.png
  18. BIN
      docs/images/5-figures/fastgpt-03.png
  19. BIN
      docs/images/5-figures/fastgpt-04.png
  20. BIN
      docs/images/5-figures/fastgpt-05.png
  21. BIN
      docs/images/5-figures/fastgpt-06.png
  22. BIN
      docs/images/5-figures/fastgpt-07.png
  23. BIN
      docs/images/5-figures/fastgpt-08.png
  24. BIN
      docs/images/5-figures/fastgpt-09.png
  25. BIN
      docs/images/5-figures/fastgpt-10.png
  26. BIN
      docs/images/5-figures/fastgpt-11.png
  27. BIN
      docs/images/5-figures/fastgpt-12.png
  28. BIN
      docs/images/5-figures/fastgpt-13.png
  29. BIN
      docs/images/5-figures/fastgpt-14.png

BIN
code/chapter5/Chatflow-AI_news-draft-9211.zip


BIN
code/chapter5/HelloAgent_cozeCase.zip


Файловите разлики са ограничени, защото са твърде много
+ 229 - 514
code/chapter5/HelloAgent_difyCase.yml


Файловите разлики са ограничени, защото са твърде много
+ 655 - 0
code/chapter5/HelloAgent_fastgptCase.json


+ 265 - 52
docs/chapter5/Chapter5-Building-Agents-with-Low-Code-Platforms.md

@@ -21,7 +21,7 @@ In short, low-code platforms are not meant to replace code but provide a higher
 
 ### 5.1.2 Choosing a Low-Code Platform
 
-Currently, the low-code platform market for agents and LLM applications presents a flourishing situation, with each platform having its unique positioning and advantages. Which platform to choose often depends on your core needs, technical background, and the ultimate goal of the project. In the subsequent content of this chapter, we will focus on introducing and practicing three representative platforms: Coze, Dify, and n8n. Before that, let's give them a brief introduction.
+Currently, the low-code platform market for agents and LLM applications presents a flourishing situation, with each platform having its unique positioning and advantages. Which platform to choose often depends on your core needs, technical background, and the ultimate goal of the project. In the subsequent content of this chapter, we will focus on introducing and practicing several representative platforms: Coze, Dify, FastGPT, and n8n. Before that, let's give them a brief introduction.
 
 **Coze**
 
@@ -35,9 +35,15 @@ Currently, the low-code platform market for agents and LLM applications presents
 - **Feature Analysis**: It integrates the concepts of backend services and model operations, supporting multiple capabilities such as Agent workflows, RAG Pipeline, data annotation, and fine-tuning. For enterprise-level applications pursuing professionalism, stability, and scalability, Dify provides a solid foundation.
 - **Target Audience**: Developers with some technical background, teams that need to build scalable enterprise-level AI applications.
 
+**FastGPT**
+
+- **Core Positioning**: FastGPT is an open-source, LLM-based knowledge base Q&A platform and Agent building tool<sup>[3]</sup>, focusing on providing easy-to-use RAG (Retrieval-Augmented Generation) solutions and visual workflow orchestration capabilities.
+- **Feature Analysis**: FastGPT's core advantage lies in its extreme optimization for knowledge base Q&A scenarios. It provides a complete RAG pipeline from data import, automatic text chunking, vectorized storage to intelligent retrieval, and supports orchestrating complex conversation flows and Agent workflows through an intuitive visual interface (Flow module). The platform adopts a model-neutral design, flexibly connecting to various mainstream domestic and international large models such as OpenAI, Claude, and Tongyi Qianwen, while providing comprehensive API interfaces and a plugin market for quick integration with existing systems like WeChat Work, DingTalk, and Feishu.
+- **Target Audience**: Developers and small-to-medium enterprise teams who want to quickly build intelligent customer service, internal knowledge assistants, or document Q&A robots based on private knowledge bases, as well as technology enthusiasts interested in RAG who wish to lower the implementation barrier.
+
 **n8n**
 
-- **Core Positioning**: n8n is essentially an open-source workflow automation tool<sup>[3]</sup>, not a pure LLM platform. In recent years, it has actively integrated AI capabilities.
+- **Core Positioning**: n8n is essentially an open-source workflow automation tool<sup>[4]</sup>, not a pure LLM platform. In recent years, it has actively integrated AI capabilities.
 
 - **Feature Analysis**: n8n's strength lies in "connection." It has hundreds of preset nodes that can easily connect various SaaS services, databases, and APIs into complex automated business processes. You can embed LLM nodes in this process, making it part of the entire automation chain. Although it is not as specialized in LLM functionality as the first two, its general automation capability is unique. However, its learning curve is also relatively steep.
 
@@ -290,7 +296,7 @@ Furthermore, we can click this [experience link](https://www.coze.cn/store/proje
 
   * **Does Not Support MCP:** I think this is the most fatal. Although Coze's plugin market is extremely rich and attractive, not supporting MCP may become a shackle limiting its development. If opened up, it will be another killer feature.
   * **High Complexity of Some Plugin Configurations:** For plugins that require API Keys or other advanced parameters, users may need some technical background to complete correct configuration. Complex workflow orchestration is also not something that can be mastered with zero foundation; it requires some JavaScript or Python basics.
-  * **Unable to import JSON files:** Previously, the app didn't have an export/import function, but the paid version now does. However, the exported/imported file isn't a JSON file like Dify or N8n; it's a ZIP file. This means you can only export from the app and then import the ZIP file. However, you can use a workaround: in the layout interface, press Ctrl+A to select all, then Ctrl+C to copy the layout, and then paste it into another blank workflow or other workflows.
+  * **Unable to directly import JSON files:** Previously, the app didn't have an export/import function, but the paid version now does. However, the exported/imported file isn't a JSON file like Dify or N8n; it's a ZIP file. This means you can only export from the app and then import the ZIP file. However, you can use a workaround: in the layout interface, press Ctrl+A to select all, then Ctrl+C to copy the layout, and then paste it into another blank workflow or other workflows.
 
 
 ## 5.3 Platform Two: Dify
@@ -515,14 +521,16 @@ The effect demonstration is shown in Figure 5.27:
 
 **Multimodal Generation Module**
 
-Image and video generation is another high-frequency application scenario. With the evolution of models like Doubao image generation and Google Imagen, as well as breakthroughs in video generation technologies like Keling, Google Veo 3, and OpenAI Sora 2, the quality of multimodal content generation has reached a practical level.
+Image and video generation is another high-frequency application scenario. With the evolution of models like Jimeng image generation and Google Imagen, as well as breakthroughs in video generation technologies like Keling, Google Veo 3, seedance2.0, and OpenAI Sora 2, the quality of multimodal content generation has reached a practical level.
 
-This case uses the Doubao plugin to implement image and video generation. Configuration steps are as follows:
+This case uses the Jimeng plugin to implement image and video generation. Configuration steps are as follows:
 
-1. Add Doubao image/video generation plugin in the workflow
-2. Configure parameters (such as image ratio 1:1, model selection doubao seedream)
+1. Add Jimeng image/video generation plugin in the workflow
+2. Configure parameters (such as image ratio 1:1, model selection seedream4.5/5.0 and seedance1.5/2.0)
 3. Output the generated file
 
+Here we use Jimeng's plugin to call the latest models, namely seedream5.0 and seedance2.0. The quality of both images and videos has been significantly improved. We also use loops for video task retrieval, and supplement the case demonstration with parameter retrieval and conditional judgment. For details, please refer to the [complete workflow](code/chapter5/HelloAgent_difyCase.yml).
+
 Image generation configuration and effects are shown in Figures 5.28 and 5.29.
 
 <div align="center">
@@ -539,6 +547,8 @@ The video generation effect is shown in Figure 5.30.
 <div align="center">
   <img src="https://raw.githubusercontent.com/datawhalechina/Hello-Agents/main/docs/images/5-figures/dify-06.png" alt="Image description" width="90%"/>
   <p>Figure 5.30 Video Assistant</p>
+
+  <p><a href="https://pub-f5ed2046361c4244878e5984bdb564de.r2.dev/9af7c33d-5c82-4b14-8fb3-a4e426e8ee5a.mp4">Click to watch video demo</a></p>
 </div>
 
 **Data Query and Analysis Module**
@@ -690,11 +700,203 @@ As a leading AI application development platform, Dify demonstrates significant
 - API Compatibility Issues: Dify's API format is not compatible with OpenAI, which may limit integration with certain third-party systems
 
 
-## 5.4 Platform Three: n8n
+## 5.4 Platform Three: FastGPT
+
+### 5.4.1 FastGPT Introduction and Core Features
+
+FastGPT is an open-source, LLM-based knowledge base Q&A platform and Agent building tool. Its core positioning is "Enterprise-grade AI Productivity Engine," focusing on providing easy-to-use RAG (Retrieval-Augmented Generation) solutions and visual workflow orchestration capabilities. Unlike Coze's zero-code experience and Dify's full-stack development capabilities, FastGPT treats knowledge base Q&A as a first-class citizen, deeply optimizing around the complete chain of "data import — intelligent chunking — vector retrieval — dialog generation."
+
+When you visit the FastGPT official website, the first thing you see is its concise and powerful product manifesto — "Enterprise-grade AI Productivity Engine," emphasizing the construction of secure, controllable enterprise-grade AI Agents, as shown in Figure 5.38.
+
+<div align="center">
+  <img src="../images/5-figures/fastgpt-01.png" alt="Image description" width="90%"/>
+  <p>Figure 5.38 FastGPT Official Website Homepage</p>
+</div>
+
+After logging into the platform, you can see its clear workspace layout. The left navigation bar divides core functions into four modules: Dialog Portal, Workspace, Knowledge Base, and Account. Among them, the Agent module is further divided into three types: Workflow, Dialog Agent, and Dialog Agent V2 (Beta), making it convenient for users to choose the appropriate construction mode based on their business scenarios. The main area provides a quick entry point for "Create from Template," with built-in official templates such as Sales Training Master, Document Translation Assistant, and Industry Trend Insight Briefing; below is the user's own Agent list, as shown in Figure 5.39.
+
+<div align="center">
+  <img src="../images/5-figures/fastgpt-02.png" alt="Image description" width="90%"/>
+  <p>Figure 5.39 FastGPT Platform Main Interface</p>
+</div>
+
+In terms of account and plan options, FastGPT provides a free version for individual developers to try. The free version includes 100 credits, 600 knowledge base indexes, 1 team member, 10 Agents, 3 knowledge bases, 30-day conversation record retention, 30 QPM call rate, and the ability to upload 5 files of 50MB each at a time, as shown in Figure 5.40. For small and medium-sized enterprises and teams, the platform also provides paid upgrade plans to meet higher concurrency and storage needs.
+
+<div align="center">
+  <img src="../images/5-figures/fastgpt-03.png" alt="Image description" width="90%"/>
+  <p>Figure 5.40 FastGPT Free Plan and Usage</p>
+</div>
+
+FastGPT's core competitiveness lies in its powerful knowledge base capabilities. The platform supports importing multiple file formats, including common document types such as Word, Markdown, and PDF. As shown in Figure 5.41, in the "test General Knowledge Base," we can upload multiple files such as Introduction to Deep Learning, Getting Started with Machine Learning, and Bidding Document Text. The system automatically chunks and indexes the files, and once the status shows "Ready," they can be retrieved and referenced in conversations.
+
+<div align="center">
+  <img src="../images/5-figures/fastgpt-12.png" alt="Image description" width="90%"/>
+  <p>Figure 5.41 FastGPT Knowledge Base File Management</p>
+</div>
+
+At the file processing level, FastGPT provides fine-grained parameter configuration. As shown in Figure 5.42, users can choose between "Chunk Storage" or "Q&A Pair Extraction" processing methods, set chunking conditions (such as triggering chunking when original text length exceeds 1000 characters), and enable various index enhancement options, including adding titles to indexes, automatically generating supplementary indexes, and automatic image indexing. For documents with extensive mixed text and image content (such as textbooks and research reports), the automatic image indexing feature is particularly important, as it allows the large model to understand and reference visual information in documents when answering.
+
+<div align="center">
+  <img src="../images/5-figures/fastgpt-14.png" alt="Image description" width="90%"/>
+  <p>Figure 5.42 Knowledge Base Data Processing Parameter Settings</p>
+</div>
+
+After uploading, users can view the specific content of file chunks. As shown in Figure 5.43, taking "English Grade 4 Lower Semester Full Electronic Book.pdf" as an example, the platform displays the text preview of each chunk, while the right metadata panel shows key information such as file size (62MB), original text length (37,797 characters), processing mode (chunk storage), and image indexing status. This transparent chunk display facilitates developers in debugging and optimizing the knowledge base.
+
+<div align="center">
+  <img src="../images/5-figures/fastgpt-13.png" alt="Image description" width="90%"/>
+  <p>Figure 5.43 Knowledge Base File Chunk Details and Metadata</p>
+</div>
+
+In addition to the knowledge base, FastGPT also keeps up with ecosystem trends in tool integration. The platform natively supports MCP (Model Context Protocol) tools, and users can uniformly manage various MCP services in the "My Tools" module. As shown in Figure 5.44, under the "ai Finance" folder, we have configured multiple MCP tools including Chinese Trend Aggregation, Real-time Stock MCP, QieMan Fund MCP, Minimax-MCP, and BI Chart Tool. These tools will empower the agent with the ability to call external real-time data and professional services.
+
+<div align="center">
+  <img src="../images/5-figures/fastgpt-04.png" alt="Image description" width="90%"/>
+  <p>Figure 5.44 FastGPT MCP Tool Management</p>
+</div>
+
+### 5.4.2 Building a "Smart Investment Advisor Assistant"
+
+**Case Description:** This case will use the FastGPT platform, combined with knowledge base, MCP tools, and workflow orchestration, to build a professional "Smart Investment Advisor Assistant." This assistant can answer financial investment theory questions, query real-time stock quotes, conduct user risk profile assessments, and generate personalized investment strategy analysis reports. Through this case, you will master FastGPT's core development paradigm: knowledge base construction, MCP tool integration, visual workflow orchestration, and multi-turn dialogue interaction design.
+
+**Step 1: Configure MCP Tools**
+
+One of the core capabilities of the smart investment advisor assistant is obtaining real-time financial data. In FastGPT, we achieve this by connecting MCP tools.
+
+This case requires the following two types of MCP services:
+
+1. **Real-time Stock Quote Query**: Used to obtain individual stock real-time prices, price changes, trading volumes, and other data.
+2. **Financial Data and Chart Generation**: Used to obtain macroeconomic financial data and generate visual charts.
+
+As shown in Figure 5.45, we can find the "Visual Chart MCP Server" in the MCP marketplace of the ModelScope community. This service is developed based on TypeScript, compatible with the MCP protocol, and provides capabilities for generating area charts, bar charts, pie charts, and various other charts, transforming dry data into intuitive visual results.
+
+<div align="center">
+  <img src="../images/5-figures/fastgpt-05.png" alt="Image description" width="90%"/>
+  <p>Figure 5.45 ModelScope Community Visual Chart MCP Server</p>
+</div>
+
+Additionally, as shown in Figure 5.46, the Alibaba Cloud Bailian platform also provides rich official MCP services. In the MCP management page, we can find financial MCP services such as "Today's Investment - Financial..." and "QieMan," as well as tools like real-time stock quote query and Wanxiang - Video Generation. After adding these services to FastGPT's MCP tool library, the agent can call them on demand during conversations.
+
+<div align="center">
+  <img src="../images/5-figures/fastgpt-06.png" alt="Image description" width="90%"/>
+  <p>Figure 5.46 Alibaba Cloud Bailian MCP Management</p>
+</div>
+
+In FastGPT's MCP tool configuration interface, after filling in the corresponding service addresses and authentication information, the tool integration is complete. Each MCP tool can be configured with independent descriptions and call parameters, making it easier for the agent to understand each tool's purpose when making decisions.
+
+**Step 2: Design the Smart Investment Advisor Workflow**
+
+After completing tool configuration, enter the core workflow orchestration phase. FastGPT provides a visual Flow orchestration interface where users can build complex dialogue flows by dragging nodes and connecting edges.
+
+As shown in Figure 5.47, the complete workflow of the "Smart Investment Advisor Assistant" includes multiple processing branches: user intent recognition, knowledge base retrieval, risk questionnaire collection, MCP tool invocation, and report generation. The entire workflow presents a clear modular structure with data flowing orderly between different nodes. This visual orchestration approach allows developers to intuitively understand and debug the agent's decision paths.
+
+<div align="center">
+  <img src="../images/5-figures/fastgpt-07.png" alt="Image description" width="90%"/>
+  <p>Figure 5.47 Smart Investment Advisor Assistant Workflow Orchestration</p>
+</div>
+
+The core logic of the workflow is as follows:
+
+1. **Intent Recognition Node**: First determines the type of user input. If it's a financial concept inquiry, routes to the knowledge base retrieval branch; if it's a stock query, routes to the MCP tool invocation branch; if it's an investment diagnosis, enters the risk questionnaire collection process.
+2. **Investment Knowledge Education Specialist**: Connects to a pre-built financial knowledge base to retrieve relevant investment theories, concept explanations, and case studies.
+3. **Risk Assessment Analyst**: Guides users through a risk assessment questionnaire through form input nodes, including dimensions such as age, investment experience, monthly income level, risk tolerance, and investment goals. The data is then passed to subsequent large model nodes for market environment, fundamental, and news sentiment analysis, integrating user profiles, market data, and news information to call the large model to generate a structured investment strategy analysis report.
+4. **Market News Intelligence Specialist**: Calls real-time stock MCP or chart generation MCP based on user needs to obtain external data.
+5. **General Consultation Specialist**: Responds to simple user inquiries such as "hello," "how are you," etc.
+
+**Step 3: Configure Prompts and Knowledge Base**
+
+In FastGPT, the configuration of the System Prompt is equally crucial. For the smart investment advisor assistant, we need to set a professional financial investment advisor role:
+
+```
+# I. Role Setting (Role)
+You are a professional financial investment advisor with rich experience in risk assessment and portfolio management. Your professional background includes finance, behavioral finance, and investment psychology, enabling you to analyze users' risk tolerance from multiple dimensions. Your tone should be professional, neutral, and easy to understand, avoiding overly complex financial jargon to ensure that ordinary investors can easily understand your analysis.
+
+# II. Background
+Users will provide the following information: age, investment experience, monthly income level, maximum tolerable loss, and investment goals. This information is the foundation for risk assessment. You need to analyze this data based on general financial principles (such as lifecycle theory and risk-return matching principles). The scenario limitation is that you cannot access other personal information about the user (such as total assets, family status), so the analysis should focus on the provided information and avoid excessive speculation.
+
+# III. Task Objectives (Task)
+Based on the user's provided age, investment experience, monthly income level, maximum tolerable loss, and investment goals, conduct a comprehensive risk assessment.
+Output a clear risk level assessment result (e.g., conservative, moderate, aggressive, etc.), and briefly explain the reasoning.
+Ensure the analysis logic is coherent and easy for users to understand and apply.
+
+# IV. Limitation Prompts (Limit)
+Avoid providing specific financial product recommendations (such as specific stock or fund names); only discuss general asset classes.
+Do not make any guaranteed return promises or predictions; emphasize that investment carries risks.
+Avoid using overly technical or specialized language to ensure output is friendly to non-professional investors.
+Do not expand user information based on assumptions or speculation; only analyze using the provided age, investment experience, monthly income, maximum loss tolerance, and investment goals.
+Output must not contain any discriminatory, biased, or strongly subjective statements; maintain objectivity and neutrality.
+
+# V. Output Format Requirements (Example)
+Output should be organized according to the following structure:
+**Risk Level Assessment**: [e.g., Moderate]
+**Assessment Reasoning**: Briefly explain the analysis based on user's age, investment experience, income, loss tolerance, and investment goals.
+**Risk Reminder**: Reiterate investment risks and encourage users to adjust based on their own circumstances.
+```
+
+At the same time, we need to configure a financial knowledge base for the assistant. Upload documents on investment fundamentals, financial statement analysis, and macroeconomic indicator interpretation to the knowledge base, and complete chunking and indexing following the process shown in Figures 5.41~5.43. This way, when users ask conceptual questions like "What's the difference between P/E ratio and P/B ratio," the agent can retrieve accurate definitions and comparative analyses from the knowledge base rather than relying entirely on the large model's pre-training knowledge, thereby effectively reducing hallucination risks.
+
+**Step 4: Testing and Effect Demonstration**
+
+After completing the workflow and prompt configuration, we can test in FastGPT's dialogue interface. As shown in Figure 5.48, the smart investment advisor assistant's opening message clearly introduces its three main features: mastery of financial investment theory, real-time market news and data, and asset allocation recommendations based on risk profile assessment. The interface also provides quick action buttons for users to trigger common tasks with one click.
+
+<div align="center">
+  <img src="../images/5-figures/fastgpt-08.png" alt="Image description" width="50%"/>
+  <p>Figure 5.48 Smart Investment Advisor Assistant Dialogue Interface</p>
+</div>
+
+When the user clicks "Conduct Asset Assessment for Investment Advice," the assistant sequentially unfolds the risk assessment questionnaire, collecting information about the user's age, investment experience, monthly income level, maximum tolerable loss, and investment goals. Based on this information, the assistant generates a complete investment strategy analysis report.
+
+As shown in Figure 5.49, the report contains the following core modules:
+
+- **User Risk Assessment**: Based on questionnaire results, analyzes the user's risk tolerance level (e.g., moderate).
+- **Asset Allocation Ratio Recommendation**: Presents the allocation ratios of major asset classes such as stocks, bonds, and cash in the form of a visual pie chart (e.g., stocks 45%, bonds 40%, cash 15%).
+- **Market Fundamental Analysis**: Provides market judgment based on the current macroeconomic environment and industry trends.
+- **Rebalancing Strategy**: Provides recommendations for periodic portfolio rebalancing, including rebalancing cycle and trigger conditions.
+
+<div align="center">
+  <img src="../images/5-figures/fastgpt-09.png" alt="Image description" width="90%"/>
+  <p>Figure 5.49 Investment Strategy Analysis Report</p>
+</div>
+
+For real-time data query scenarios, as shown in Figure 5.50, when the user asks "Query the current stock price information of Kweichow Moutai," the agent automatically calls the MCP tool (`get_stock_quote_realtime`) to obtain real-time market data. The returned results include title, data source, key highlights (opening price, highest price, intraday price range, trading volume, total market capitalization, circulating market capitalization, etc.), as well as potential impact analysis and suggested actions. This structured, professional output reflects the practical value of Agent tool invocation capabilities.
+
+<div align="center">
+  <img src="../images/5-figures/fastgpt-10.png" alt="Image description" width="50%"/>
+  <p>Figure 5.50 Real-time Stock Quote Query</p>
+</div>
+
+In terms of concept explanation, as shown in Figure 5.51, when the user asks "What's the difference between P/E ratio and P/B ratio," the assistant provides a systematic comparative analysis based on knowledge base and large model understanding: starting from definitions, it explains the calculation methods of P/E Ratio and P/B Ratio in detail; compares them from four dimensions (calculation basis, applicable industries, information reflected, limitations); and finally provides practical application advice on when to focus on P/E ratio versus P/B ratio. This well-structured, logically rigorous output is a typical advantage of RAG-enhanced large models in vertical domain Q&A.
+
+<div align="center">
+  <img src="../images/5-figures/fastgpt-11.png" alt="Image description" width="50%"/>
+  <p>Figure 5.51 P/E Ratio and P/B Ratio Concept Analysis</p>
+</div>
+
+### 5.4.3 Analysis of FastGPT's Advantages and Limitations
+
+Through the above practice of building the "Smart Investment Advisor Assistant," we can form a comprehensive understanding of the FastGPT platform.
+
+**Advantages:**
+
+- **Ultimate Knowledge Base Experience**: FastGPT's core advantage lies in its deep refinement of the RAG pipeline. From file upload, intelligent chunking, index enhancement, image recognition to retrieval recall, each link provides fine-grained configuration options and a transparent debugging interface. For scenarios that require building Q&A systems based on private knowledge bases (such as enterprise knowledge assistants, intelligent customer service, and professional domain consulting), FastGPT provides an excellent out-of-the-box experience.
+- **Native MCP Support**: Unlike Coze, FastGPT natively supports the MCP protocol, enabling seamless integration with a large number of MCP services from ecosystems such as ModelScope and Alibaba Cloud Bailian. This means the agent's tool extensibility is no longer limited to the platform's built-in plugin library; developers can freely integrate any third-party tool that complies with MCP standards.
+- **Model-Neutral Design**: FastGPT supports flexible integration with various mainstream domestic and international large models such as OpenAI, Claude, Tongyi Qianwen, and DeepSeek. Users can freely switch underlying models based on business needs and cost considerations, avoiding the risk of being tied to a single model provider.
+- **Visual Workflow Orchestration**: The Flow module provides an intuitive node-based orchestration interface where complex multi-branch logic (such as intent recognition, questionnaire collection, and report generation in this case) can be quickly built through drag-and-drop, lowering the barrier for non-developers.
+
+**Limitations:**
+
+- **Relatively Weak Template Ecosystem**: Compared to Coze's rich plugin store and Dify's Marketplace with over 8,000 plugins, FastGPT's official templates and built-in tools are relatively limited in number. Although the MCP protocol partially compensates for this shortcoming, finding and configuring suitable MCP services still presents a certain threshold for non-technical users.
+- **Tight Free Version Quotas**: The free version only provides 100 credits and a 30 QPM call rate, which depletes quickly for developers who need frequent testing and iteration. The limitations on knowledge base index count and team member count also make it difficult for the free version to support even moderately scaled team collaboration.
+- **Community and Documentation Still Maturing**: As a relatively young open-source project, FastGPT's community activity and English documentation completeness still lag behind mature platforms like Dify and n8n. When encountering edge cases, you may need to dive into the source code or seek help from the community.
+
+Overall, FastGPT is a highly competitive platform in the knowledge base Q&A domain. If your core need is to build an intelligent Q&A system based on private documents and you want fine-grained control over the entire RAG pipeline, FastGPT is a choice worth trying. For scenarios requiring a strong plugin ecosystem or complex business process automation, you can complement it with Dify or n8n.
+
+
+## 5.5 Platform Four: n8n
 
 As we introduced earlier, n8n's core identity is a general workflow automation platform, not a pure LLM application building tool. Understanding this is key to mastering n8n. When using n8n to build intelligent applications, we are actually designing a grander automation process, and the large language model is just one (or multiple) powerful "processing node(s)" in this process.
 
-### 5.4.1 n8n's Nodes and Workflows
+### 5.5.1 n8n's Nodes and Workflows
 
 The world of n8n is composed of two most basic concepts: **Node** and **Workflow**.
 
@@ -706,15 +908,15 @@ The world of n8n is composed of two most basic concepts: **Node** and **Workflow
 
 The real power of n8n lies in its strong "connection" capability. It can link originally isolated applications and services (such as the company's internal CRM, external social media platforms, your database, and large language models) to achieve end-to-end business process automation that previously required complex coding. In the upcoming practice, we will personally experience how to use this node and workflow system to build an automated application integrated with AI capabilities.
 
-### 5.4.2 Building an Intelligent Email Assistant
+### 5.5.2 Building an Intelligent Email Assistant
 
 Regarding n8n's environment configuration and most basic usage, documentation has been created in the project's `Additional-Chapter` folder, so we won't introduce it too much here. In the previous section, we learned about the basic concepts of n8n. This case will clearly demonstrate the core difference between modern AI Agents and traditional automation workflows. Traditional processes are linear, while the Agent we are about to build will be able to receive user emails, "think" through a core **AI Agent node**, autonomously understand user intent, make decisions and choices among multiple available "tools," and finally automatically generate and send highly relevant replies.
 
-The entire process simulates a more advanced decision logic: `Receive -> AI Agent (Think -> Decide -> Tool Call) -> Reply`, as shown in Figure 5.38.
+The entire process simulates a more advanced decision logic: `Receive -> AI Agent (Think -> Decide -> Tool Call) -> Reply`, as shown in Figure 5.52.
 
 <div align="center">
   <img src="https://raw.githubusercontent.com/datawhalechina/Hello-Agents/main/docs/images/5-figures/n8n-01.png" alt="Image description" width="90%"/>
-  <p>Figure 5.38 Integrated Intelligent Email Agent Architecture Diagram</p>
+  <p>Figure 5.52 Integrated Intelligent Email Agent Architecture Diagram</p>
 </div>
 
 Unlike the traditional method of splitting tools into multiple sub-workflows, n8n's `AI Agent` node allows us to integrate components such as large language models (LLM), memory, and tools in a unified interface, greatly simplifying the construction process.
@@ -724,7 +926,7 @@ The entire construction process is divided into two core steps:
 1. **Prepare Agent's "Memory"**: Create an independent process to load a private knowledge base for the Agent.
 2. **Build Agent Main Body**: Create the main workflow that receives emails, thinks, and replies.
 
-### 5.4.3 Building Agent's Private Knowledge Base
+### 5.5.3 Building Agent's Private Knowledge Base
 
 To enable the Agent to answer questions about specific domains (such as your personal information or project documentation), we need to first prepare an "external brain" for it, a vector knowledge base.
 
@@ -739,7 +941,7 @@ First, we use the `Code` node to store our raw knowledge text. This is a simple
 
 <div align="center">
   <img src="https://raw.githubusercontent.com/datawhalechina/Hello-Agents/main/docs/images/5-figures/n8n-02.png" alt="Screenshot of knowledge base JSON text filled in Code node" width="90%"/>
-  <p>Figure 5.39 Defining Knowledge Source in Code Node</p>
+  <p>Figure 5.53 Defining Knowledge Source in Code Node</p>
 </div>
 
 ```javascript
@@ -768,12 +970,12 @@ Computers cannot directly understand text and need to convert it into vectors. W
 
 <div align="center">
   <img src="https://raw.githubusercontent.com/datawhalechina/Hello-Agents/main/docs/images/5-figures/n8n-03.png" alt="" width="90%"/>
-  <p>Figure 5.40 Vectorizing Data in Code</p>
+  <p>Figure 5.54 Vectorizing Data in Code</p>
 </div>
 
 **(3) Store in Vector Storage**
 
-Finally, we store the vectorized knowledge in an in-memory database, as shown in Figure 5.41.
+Finally, we store the vectorized knowledge in an in-memory database, as shown in Figure 5.55.
 
 - **Node**: `Simple Vector Store`
 - **Configuration**:
@@ -782,41 +984,41 @@ Finally, we store the vectorized knowledge in an in-memory database, as shown in
 
 <div align="center">
   <img src="https://raw.githubusercontent.com/datawhalechina/Hello-Agents/main/docs/images/5-figures/n8n-04.png" alt="" width="90%"/>
-  <p>Figure 5.41 Storing Data from Code into Vector Storage</p>
+  <p>Figure 5.55 Storing Data from Code into Vector Storage</p>
 </div>
 
-After completing the configuration, **manually execute this process once**. After success, your private knowledge is loaded into n8n's memory, as shown in Figure 5.42.
+After completing the configuration, **manually execute this process once**. After success, your private knowledge is loaded into n8n's memory, as shown in Figure 5.56.
 
 <div align="center">
   <img src="https://raw.githubusercontent.com/datawhalechina/Hello-Agents/main/docs/images/5-figures/n8n-05.png" alt="" width="90%"/>
-  <p>Figure 5.42 Complete Knowledge Base Loading Workflow</p>
+  <p>Figure 5.56 Complete Knowledge Base Loading Workflow</p>
 </div>
 
-### 5.4.4 Creating Agent Main Workflow
+### 5.5.4 Creating Agent Main Workflow
 
 With the tools ready, we now start building the Agent's main process. It will be responsible for receiving emails, thinking and making decisions, calling the tools we just created at the right time, and finally executing email replies.
 
 (1) Configure Gmail Trigger
 
-Create a new workflow named `Agent: Customer Support`. Use the `Gmail` node as a trigger, set its **Event** to `Message Received`, and configure your email account. This way, whenever a new email enters the inbox, the workflow will be automatically triggered, as shown in Figure 5.43.
+Create a new workflow named `Agent: Customer Support`. Use the `Gmail` node as a trigger, set its **Event** to `Message Received`, and configure your email account. This way, whenever a new email enters the inbox, the workflow will be automatically triggered, as shown in Figure 5.57.
 
 <div align="center">
   <img src="https://raw.githubusercontent.com/datawhalechina/Hello-Agents/main/docs/images/5-figures/n8n-06.png" alt="" width="90%"/>
-  <p>Figure 5.43 Creating Gmail Node</p>
+  <p>Figure 5.57 Creating Gmail Node</p>
 </div>
 
-The configuration process can refer to [n8n official documentation](https://docs.n8n.io/integrations/builtin/credentials/google/oauth-single-service/?utm_source=n8n_app&utm_medium=credential_settings&utm_campaign=create_new_credentials_modal#enable-apis). Gmail's API is configured [here](https://console.cloud.google.com/apis/library/gmail.googleapis.com?project=apt-entropy-471905-b9). You need to create credentials, select Web application type, and finally get the required client ID and client secret. You also need to add the OAuth Redirect URL given by n8n to the authorized redirect URIs. At the same time, you also need to add your own email address in Add users in [Audience](https://console.cloud.google.com/auth/audience?project=apt-entropy-471905-b9). The final configured page is shown in Figure 5.44.
+The configuration process can refer to [n8n official documentation](https://docs.n8n.io/integrations/builtin/credentials/google/oauth-single-service/?utm_source=n8n_app&utm_medium=credential_settings&utm_campaign=create_new_credentials_modal#enable-apis). Gmail's API is configured [here](https://console.cloud.google.com/apis/library/gmail.googleapis.com?project=apt-entropy-471905-b9). You need to create credentials, select Web application type, and finally get the required client ID and client secret. You also need to add the OAuth Redirect URL given by n8n to the authorized redirect URIs. At the same time, you also need to add your own email address in Add users in [Audience](https://console.cloud.google.com/auth/audience?project=apt-entropy-471905-b9). The final configured page is shown in Figure 5.58.
 
 <div align="center">
   <img src="https://raw.githubusercontent.com/datawhalechina/Hello-Agents/main/docs/images/5-figures/n8n-07.png" alt="" width="90%"/>
-  <p>Figure 5.44 Gmail Account Successfully Loaded</p>
+  <p>Figure 5.58 Gmail Account Successfully Loaded</p>
 </div>
 
-Now we can click `Fetch Test Event` to get emails, as shown in Figure 5.45!
+Now we can click `Fetch Test Event` to get emails, as shown in Figure 5.59!
 
 <div align="center">
   <img src="https://raw.githubusercontent.com/datawhalechina/Hello-Agents/main/docs/images/5-figures/n8n-08.png" alt="" width="90%"/>
-  <p>Figure 5.45 Getting Real-time Emails</p>
+  <p>Figure 5.59 Getting Real-time Emails</p>
 </div>
 
 (2) Configure AI Agent Node
@@ -831,16 +1033,16 @@ This is the brain of the entire workflow. Drag an `AI Agent` node from the node
 
 <div align="center">
   <img src="https://raw.githubusercontent.com/datawhalechina/Hello-Agents/main/docs/images/5-figures/n8n-09.png" alt="" width="90%"/>
-  <p>Figure 5.46 AI Agent Node Settings</p>
+  <p>Figure 5.60 AI Agent Node Settings</p>
 </div>
 
 This is the first step of Agent "thinking." Add a `Gemini` node (or other LLM node), set the mode to `Chat`. Our goal is to have it analyze email content and judge user intent. Prompt design is crucial; a clear instruction can make the LLM complete the task more accurately. We pass the email body and subject (`{{ $json.snippet }}{{ $json.Subject }}`) as variables into the Prompt. If you don't have an API, you can go to [Google AI Studio](https://aistudio.google.com/prompts/new_chat) and click Get API key to create an available one.
 
-For the AI Agent node, we mainly need to fill in the `User Message` and `System Message` sections, as shown in Figure 5.47.
+For the AI Agent node, we mainly need to fill in the `User Message` and `System Message` sections, as shown in Figure 5.61.
 
 <div align="center">
   <img src="https://raw.githubusercontent.com/datawhalechina/Hello-Agents/main/docs/images/5-figures/n8n-10.png" alt="" width="90%"/>
-  <p>Figure 5.47 AI Agent Node Details</p>
+  <p>Figure 5.61 AI Agent Node Details</p>
 </div>
 
 Here is the Prompt used in our case:
@@ -904,11 +1106,11 @@ For the `Simple Vector Store` tool, we need to perform key configurations to ens
 - **Memory Key**: Must fill in the **exact same** Key as in the first part, i.e., `my_private_knowledge`.
 - **Embeddings**: Must use the **exact same** `Embeddings Google Gemini` model as in the first part.
 
-Only when the `Memory Key` and `Embeddings` model are completely consistent can the Agent use the correct "key" and "language" to access the knowledge base, as shown in Figure 5.48.
+Only when the `Memory Key` and `Embeddings` model are completely consistent can the Agent use the correct "key" and "language" to access the knowledge base, as shown in Figure 5.62.
 
 <div align="center">
   <img src="https://raw.githubusercontent.com/datawhalechina/Hello-Agents/main/docs/images/5-figures/n8n-11.png" alt="" width="90%"/>
-  <p>Figure 5.48 Simple Vector Store Tool Configuration</p>
+  <p>Figure 5.62 Simple Vector Store Tool Configuration</p>
 </div>
 
 The Description parameter is the description definition of the tool when the AI Agent calls it. Here is the corresponding Prompt:
@@ -923,7 +1125,7 @@ For Memory, the only thing to note is that here we use the thread name of each m
 
 (4) Send Final Reply
 
-The last step is execution. Connect the output of the `AI Agent` node to a `Gmail` node, set **Operation** to `Send`. Use n8n expressions to associate the recipient, subject, and body with the corresponding fields in the JSON data output by `AI Agent` to achieve automatic email reply, as shown in Figure 5.49.
+The last step is execution. Connect the output of the `AI Agent` node to a `Gmail` node, set **Operation** to `Send`. Use n8n expressions to associate the recipient, subject, and body with the corresponding fields in the JSON data output by `AI Agent` to achieve automatic email reply, as shown in Figure 5.63.
 
 - **To**: `{{ $('Gmail').item.json.From }}` (or sender field in other triggers)
 - **Subject**: `Re:  {{ $('Gmail').item.json.Subject }}`
@@ -931,24 +1133,24 @@ The last step is execution. Connect the output of the `AI Agent` node to a `Gmai
 
 <div align="center">
   <img src="https://raw.githubusercontent.com/datawhalechina/Hello-Agents/main/docs/images/5-figures/n8n-12.png" alt="" width="90%"/>
-  <p>Figure 5.49 Final Reply Tool Diagram</p>
+  <p>Figure 5.63 Final Reply Tool Diagram</p>
 </div>
 
-And when the sending is successful, you can also receive real return email information in your personal mailbox, as shown in Figure 5.50.
+And when the sending is successful, you can also receive real return email information in your personal mailbox, as shown in Figure 5.64.
 
 <div align="center">
   <img src="https://raw.githubusercontent.com/datawhalechina/Hello-Agents/main/docs/images/5-figures/n8n-13.png" alt="" width="90%"/>
-  <p>Figure 5.50 Personal Mailbox Return Email Format</p>
+  <p>Figure 5.64 Personal Mailbox Return Email Format</p>
 </div>
 
 At this point, an integrated intelligent customer service based on the `AI Agent` node is completed. You can send a test email to verify its work results. This architecture has extremely strong extensibility. In the future, you can directly add more tools (such as calendars, databases, CRM, etc.) to the `AI Agent` node. You only need to teach the Agent how to use them in the Prompt to continuously empower your Agent with more powerful capabilities.
 
-### 5.4.5 Analysis of n8n's Advantages and Limitations
+### 5.5.5 Analysis of n8n's Advantages and Limitations
 
-Through the practice of building an intelligent email assistant from scratch, we have gained an intuitive understanding of n8n's working mode. As a powerful low-code automation platform, n8n performs excellently in empowering Agent application development, but it is not omnipotent. As shown in Table 5.1, we will objectively analyze its advantages and potential limitations.
+Through the practice of building an intelligent email assistant from scratch, we have gained an intuitive understanding of n8n's working mode. As a powerful low-code automation platform, n8n performs excellently in empowering Agent application development, but it is not omnipotent. As shown in Table 5.2, we will objectively analyze its advantages and potential limitations.
 
 <div align="center">
-  <p>Table 5.1 Summary of n8n Platform's Advantages and Limitations</p>
+  <p>Table 5.2 Summary of n8n Platform's Advantages and Limitations</p>
   <img src="https://raw.githubusercontent.com/datawhalechina/Hello-Agents/main/docs/images/5-figures/n8n-14.png" alt="" width="90%"/>
 </div>
 
@@ -968,24 +1170,27 @@ In addition, in terms of **deployment and operation** and team collaboration, n8
 
 Finally, regarding **performance**, n8n can fully meet the vast majority of enterprise automation and medium-to-low frequency Agent tasks. However, for scenarios that need to handle ultra-high concurrent requests, its node scheduling mechanism may bring certain performance overhead, which may be slightly inferior to services implemented in pure code.
 
-## 5.5 Chapter Summary
+## 5.6 Chapter Summary
 
 This chapter systematically introduces the concepts, methods, and practices of building agent applications based on low-code platforms, marking our important transition from "hand-written code" to "platform-based development."
 
 In the first section, we elaborated on the background and value of the rise of low-code platforms. Compared with the purely code-implemented agents in Chapter 4, low-code platforms significantly lower the technical threshold, improve development efficiency, and provide a better visual debugging experience through graphical and modular approaches. This "higher level of abstraction" allows developers to focus their energy on business logic and prompt engineering rather than underlying implementation details.
 
-Subsequently, we deeply practiced three distinctive representative platforms:
+Subsequently, we deeply practiced four distinctive representative platforms:
 
 **Coze** stands out with its zero-code friendly experience and rich plugin ecosystem. Through the "Daily AI Brief" case, we experienced how to quickly integrate multi-source information through drag-and-drop configuration and publish to multiple mainstream platforms with one click. Coze is particularly suitable for non-technical background users and scenarios that need to quickly verify ideas, but its limitations of not supporting MCP and inability to export standardized configuration files are also worth noting.
 
 **Dify**, as an open-source enterprise-level platform, demonstrates full-stack development capabilities. The "Super Agent Personal Assistant" case covers multiple modules such as daily Q&A, copywriting optimization, multimodal generation, data analysis, and MCP tool integration, fully demonstrating Dify's powerful orchestration capabilities in complex business scenarios. Its rich plugin market (8000+), flexible deployment methods, and enterprise-level security features make it an ideal choice for professional developers and enterprise teams. However, the relatively steep learning curve and performance challenges in high-concurrency scenarios also need to be weighed.
 
+**FastGPT** stands out with its ultimate RAG knowledge base experience, becoming a strong competitor in vertical domain Q&A scenarios. Through the "Smart Investment Advisor Assistant" case, we experienced the complete development paradigm from knowledge base construction, MCP tool integration to visual workflow orchestration. FastGPT's fine-grained control over file chunking, index enhancement, and image recognition gives it unique advantages in enterprise knowledge assistants and intelligent customer service scenarios. However, its relatively weak template ecosystem and limited free version quotas also constrain its performance in more complex business scenarios.
+
 **n8n** opens up another path with its unique "connection" capability. Through the "Intelligent Email Assistant" case, we saw how to seamlessly embed AI capabilities into complex business automation processes. n8n's AI Agent node highly integrates models, memory, and tools, and combined with its hundreds of preset nodes, can achieve highly customized automation solutions. Its support for private deployment is particularly important for enterprises that value data security. However, the non-persistence of built-in storage and the immaturity of version control require additional engineering processing in production environments.
 
-Through the comparative practice of the three platforms, we can draw the following selection suggestions:
+Through the comparative practice of four platforms, we can draw the following selection suggestions:
 - **Rapid prototype validation, non-technical users**: Prioritize Coze
-- **Enterprise-level applications, complex business logic**: Prioritize Dify
-- **Deep business integration, automation processes**: Prioritize n8n
+- **Enterprise-level applications, complex business logic, multimodal generation**: Prioritize Dify
+- **Q&A systems based on private knowledge bases, intelligent customer service**: Prioritize FastGPT
+- **Deep business integration, general automation processes**: Prioritize n8n
 
 It is worth emphasizing that low-code platforms are not meant to replace code development but provide a complementary choice. In actual projects, we can flexibly switch according to the needs of different stages: use low-code platforms to quickly verify ideas, use code to achieve fine-grained control; use platforms to handle standardized processes, use code to handle special logic. This "hybrid development" mindset is the best practice for agent engineering.
 
@@ -994,9 +1199,9 @@ In the next chapter, we will further explore more underlying agent frameworks to
 
 ## Exercises
 
-1. This chapter introduces three distinctive low-code platforms: `Coze`, `Dify`, and `n8n`. Please analyze:
+1. This chapter introduces four distinctive low-code platforms: `Coze`, `Dify`, `FastGPT`, and `n8n`. Please analyze:
 
-   - What are the differences in core positioning and design philosophy among these three platforms? What pain points in agent development do they respectively solve?
+   - What are the differences in core positioning and design philosophy among these four platforms? What pain points in agent development do they respectively solve?
    - Low-code platforms and pure code development each have their advantages and disadvantages. In addition, there is also a "hybrid development" mode where some functions are implemented using platforms and some using code. Think about which scenarios each of the three development modes is suitable for? Please give examples.
 
 2. In the `Coze` case in Section 5.2, we built a "Daily AI Brief" agent. Please extend your thinking based on this case:
@@ -1013,7 +1218,13 @@ In the next chapter, we will further explore more underlying agent frameworks to
    - The data query module needs to provide the large model with clear table structure information. If the database has 50 tables, each with 20 fields, directly putting all `DDL` statements into the prompt will cause the context to be too long. Please design a smarter solution to solve this problem.
    - `Dify` supports both local deployment and cloud deployment modes. Please compare the differences between these two modes in terms of data security, cost, performance, and maintenance difficulty, and explain the applicable scenarios for each.
 
-4. In the `n8n` case in Section 5.4, we built an "Intelligent Email Assistant." Please think about the following questions:
+4. In the `FastGPT` case in Section 5.4, we built a "Smart Investment Advisor Assistant." Please analyze in depth:
+
+   - FastGPT's core advantage is its deep optimization of the RAG pipeline. Please compare FastGPT's knowledge base processing (file chunking, index enhancement, image recognition) with Dify's knowledge base functionality. What are the differences in design philosophy and applicable scenarios between the two?
+   - The case uses MCP tools to obtain real-time stock data and generate visual charts. If FastGPT did not natively support MCP, how would you achieve the same functionality? Please propose an alternative solution.
+   - The free version of FastGPT has only 100 credits and 30 QPM. For a startup team that needs to serve 1000 users, how would you design a solution that balances cost and performance?
+
+5. In the `n8n` case in Section 5.5, we built an "Intelligent Email Assistant." Please think about the following questions:
 
    > **Tip**: This is a hands-on practice question, actual operation is recommended
 
@@ -1021,18 +1232,18 @@ In the next chapter, we will further explore more underlying agent frameworks to
    - The current email assistant can only handle text emails. If the email sent by the user contains attachments (such as `PDF` documents, images), how would you extend this workflow to enable the agent to understand attachment content and make corresponding replies?
    - The core advantage of `n8n` lies in its "connection" capability. Please design a more complex automation scenario: when a customer places an order on an e-commerce platform, automatically trigger a series of operations (send confirmation email, update inventory database, notify logistics system, record customer information in `CRM`). Please draw the node connection diagram of the workflow and explain key configurations.
 
-5. Prompt engineering is equally crucial in low-code platforms. This chapter shows multiple platform prompt design cases. Please analyze:
+6. Prompt engineering is equally crucial in low-code platforms. This chapter shows multiple platform prompt design cases. Please analyze:
 
-   - Compare the prompt designs in Section 5.2.2 (`Coze`), Section 5.3.2 (`Dify`), and Section 5.4.4 (`n8n`). What are the differences in structure, style, and focus? Are these differences related to platform characteristics?
+   - Compare the prompt designs in Section 5.2.2 (`Coze`), Section 5.3.2 (`Dify`), Section 5.4.2 (`FastGPT`), and Section 5.5.4 (`n8n`). What are the differences in structure, style, and focus? Are these differences related to platform characteristics?
    - In `Dify`'s "Copywriting Optimization Module," the prompt requires output "exceeding 500 words." Is this hard requirement on output length reasonable? In what situations should output length be limited, and in what situations should the model be allowed to freely express?
 
-6. Tools and plugins are the core capability extension methods of low-code platforms. Please think:
+7. Tools and plugins are the core capability extension methods of low-code platforms. Please think:
 
-   - `Coze` has a rich plugin store, `Dify` has a plugin market of 8000+, and `n8n` has hundreds of preset nodes. If none of these three platforms have a specific tool you need (such as "connecting to the company's internal system `API`"), how would you solve it?
+   - `Coze` has a rich plugin store, `Dify` has a plugin market of 8000+, `FastGPT` natively supports the MCP protocol, and `n8n` has hundreds of preset nodes. If none of these four platforms have a specific tool you need (such as "connecting to the company's internal system `API`"), how would you solve it?
    - In Section 5.3.2, we used the `MCP` protocol to integrate services such as Amap and dietary recommendations. Please research and explain: What are the differences between the `MCP` protocol and traditional `RESTful API` and `Tool Calling`? Why is `MCP` called the "new standard" for agent tool invocation?
    - Suppose you want to develop a custom plugin for `Dify` to enable it to call your company's internal knowledge base system. Please consult `Dify`'s plugin development documentation and outline the development process and key technical points.
 
-7. Platform selection is one of the key decisions for the success of agent products. Suppose you are the technical leader of a startup company, and the company plans to develop the following three AI applications. Please select the most suitable platform for each application (`Coze`, `Dify`, `n8n`, or pure code development) and explain in detail:
+8. Platform selection is one of the key decisions for the success of agent products. Suppose you are the technical leader of a startup company, and the company plans to develop the following three AI applications. Please select the most suitable platform for each application (`Coze`, `Dify`, `FastGPT`, `n8n`, or pure code development) and explain in detail:
 
    **Application A**: A "AI Writing Assistant" mini-program for C-end users, needs to be launched quickly to verify market demand, with a limited budget, and the team has only 1 front-end engineer and 1 product manager.
 
@@ -1057,5 +1268,7 @@ In the next chapter, we will further explore more underlying agent frameworks to
 
 [2] Dify - Open-source LLM application development platform. https://dify.ai/
 
-[3] n8n - Workflow automation tool. https://n8n.io/
+[3] FastGPT - Open-source knowledge base Q&A platform and Agent building tool. https://fastgpt.io/en/
+
+[4] n8n - Workflow automation tool. https://n8n.io/
 

+ 257 - 49
docs/chapter5/第五章 基于低代码平台的智能体搭建.md

@@ -21,7 +21,7 @@
 
 ### 5.1.2 低代码平台的选择
 
-当前,智能体与 LLM 应用的低代码平台市场呈现出百花齐放的态势,每个平台都有其独特的定位和优势。选择哪个平台,往往取决于你的核心需求、技术背景以及项目的最终目标。在本章的后续内容中,我们将重点介绍并实操三个各具代表性的平台:Coze、Dify和 n8n。在此之前,我们先对它们进行一个概要性的介绍。
+当前,智能体与 LLM 应用的低代码平台市场呈现出百花齐放的态势,每个平台都有其独特的定位和优势。选择哪个平台,往往取决于你的核心需求、技术背景以及项目的最终目标。在本章的后续内容中,我们将重点介绍并实操几个各具代表性的平台:Coze、Dify、FastGPT和 n8n。在此之前,我们先对它们进行一个概要性的介绍。
 
 <strong>Coze</strong>
 
@@ -35,9 +35,15 @@
 - <strong>特点分析</strong>:它融合了后端服务和模型运营的理念,支持 Agent 工作流、RAG Pipeline、数据标注与微调等多种能力。对于追求专业、稳定、可扩展的企业级应用而言,Dify 提供了坚实的基础。
 - <strong>适用人群</strong>:有一定技术背景的开发者、需要构建可扩展的企业级 AI 应用的团队。
 
+<strong>FastGPT</strong>
+
+- <strong>核心定位</strong>:FastGPT 是一个开源的、基于 LLM 大语言模型的知识库问答平台与 Agent 构建工具<sup>[3]</sup>,专注于提供简单易用的 RAG(检索增强生成)解决方案和可视化工作流编排能力。
+- <strong>特点分析</strong>:FastGPT 最核心的优势在于其对知识库问答场景的极致优化。它提供了从数据导入、自动文本分块、向量化存储到智能检索的完整 RAG 链路,并支持通过直观的可视化界面(Flow 模块)编排复杂的对话流程和 Agent 工作流。平台采用模型中立设计,可灵活对接 OpenAI、Claude、通义千问等多种国内外主流大模型,同时提供了完善的 API 接口和插件市场,便于与企业微信、钉钉、飞书等现有系统快速集成。
+- <strong>适用人群</strong>:希望基于私有知识库快速搭建智能客服、企业内部知识助手、文档问答机器人的开发者和中小企业团队,以及对 RAG 技术感兴趣但希望降低实现门槛的技术爱好者。
+
 <strong>n8n</strong>
 
-- <strong>核心定位</strong>:n8n 本质上是一个开源工作流自动化工具<sup>[3]</sup>,而非纯粹的 LLM 平台。近年来,它积极集成了 AI 能力。
+- <strong>核心定位</strong>:n8n 本质上是一个开源工作流自动化工具<sup>[4]</sup>,而非纯粹的 LLM 平台。近年来,它积极集成了 AI 能力。
 
 - <strong>特点分析</strong>:n8n 的强项在于“连接”。它拥有数百个预置的节点,可以轻松地将各类 SaaS 服务、数据库、API 连接成复杂的自动化业务流程。你可以在这个流程中嵌入 LLM 节点,使其成为整个自动化链路中的一环。虽然在 LLM 功能的专一度上不如前两者,但其通用自动化能力是独一无二的。不过,其学习曲线也相对陡峭。
 
@@ -290,7 +296,7 @@ Arxiv插件配置
 
   * <strong>不支持MCP:</strong> 我觉得这是最致命的,尽管扣子的插件市场极其丰富,也极其有吸引力。但是不支持mcp可能会成为限制其发展的枷锁,如果放开那将是又一杀手锏。
   * <strong>部分插件配置的复杂度高:</strong> 对于需要 API Key 或其他高级参数的插件,用户可能需要具备一定的技术背景才能完成正确的配置。复杂的工作流编排也不仅仅是零基础就可以掌握的,需要一定的js或者python的基础。
-  * <strong>无法导入编排json文件:</strong> 之前扣子是没有导出导入功能的,但是现在付费版是可以导出导入的,但是导出导入的不是像dify,n8n一样的json文件,而是一个zip。也就是说你只能在扣子导出然后扣子导入这个zip。不过你取巧的话也可以选择复制编排,在编排界面ctrl+a选中全部ctrl+c复制编排,然后到另一个空白的工作流或者其他工作流粘贴编排。
+  * <strong>无法直接导入编排json文件:</strong> 之前扣子是没有导出导入功能的,但是现在付费版是可以导出导入的,但是导出导入的不是像dify,n8n一样的json文件,而是一个zip。也就是说你只能在扣子导出然后扣子导入这个zip。不过你取巧的话也可以选择复制编排,在编排界面ctrl+a选中全部ctrl+c复制编排,然后到另一个空白的工作流或者其他工作流粘贴编排。
 
 
 ## 5.3 平台二:Dify
@@ -516,14 +522,16 @@ Dify 为插件开发者提供了强大的开发支持,包括远程调试功能
 
 <strong>多模态生成模块</strong>
 
-图片和视频生成是另一个高频应用场景。随着豆包生图、Google Imagen 等模型的进化,以及可灵、Google Veo 3、OpenAI Sora 2 等视频生成技术的突破,多模态内容生成的质量已达到实用水平。
+图片和视频生成是另一个高频应用场景。随着豆包生图、Google Imagen 等模型的进化,以及可灵、Google Veo 3、seedance2.0 等视频生成技术的突破,多模态内容生成的质量已达到实用水平。
 
-本案例使用豆包插件实现图片和视频生成。配置步骤如下:
+本案例使用即梦插件实现图片和视频生成。配置步骤如下:
 
-1. 在工作流中添加豆包生图/生视频插件
-2. 配置参数(如图片比例1:1,模型选择 doubao seedream
+1. 在工作流中添加即梦生图/生视频插件
+2. 配置参数(如图片比例1:1,模型选择 seedream4.5/5.0 和seedance1.5/2.0
 3. 将生成的 file 文件输出
 
+这里我们使用即梦的插件进行最新的模型调用,即 seedream5.0 和 seedance2.0。图片和视频的质量都得到了显著提升。同时在这里我们使用了循环进行视频任务的获取,同时补充了参数获取和条件判断的案例演示,具体内容可参考[完整工作流](code/chapter5/HelloAgent_difyCase.yml)进行查看。
+
 生图配置和效果如图5.28和图5.29所示。
 
 <div align="center">
@@ -540,6 +548,8 @@ Dify 为插件开发者提供了强大的开发支持,包括远程调试功能
 <div align="center">
   <img src="https://raw.githubusercontent.com/datawhalechina/Hello-Agents/main/docs/images/5-figures/dify-06.png" alt="图片描述" width="50%"/>
   <p>图 5.30 视频助手</p>
+
+  <p><a href="https://pub-f5ed2046361c4244878e5984bdb564de.r2.dev/9af7c33d-5c82-4b14-8fb3-a4e426e8ee5a.mp4">点击观看视频演示</a></p>
 </div>
 
 <strong>数据查询与分析模块</strong>
@@ -693,11 +703,204 @@ Dify 作为一款领先的 AI 应用开发平台,在多个方面展现出显
 
 
 
-## 5.4 平台三:n8n
+## 5.4 平台三:FastGPT
+
+### 5.4.1 FastGPT 介绍与核心功能
+
+FastGPT 是一个开源的、基于大语言模型的知识库问答平台与 Agent 构建工具,其核心定位是"企业级 AI 生产力引擎",专注于提供简单易用的 RAG(检索增强生成)解决方案和可视化工作流编排能力。与 Coze 的零代码体验和 Dify 的全栈开发能力不同,FastGPT 将知识库问答作为第一等公民,围绕"数据导入—智能分块—向量检索—对话生成"这一完整链路进行了深度优化。
+
+进入 FastGPT 官网,首先映入眼帘的是其简洁有力的产品宣言——"企业级 AI 生产力引擎",强调构建安全、可控的企业级 AI Agent,如图5.38所示。
+
+<div align="center">
+  <img src="../images/5-figures/fastgpt-01.png" alt="图片描述" width="90%"/>
+  <p>图 5.38 FastGPT 官网首页</p>
+</div>
+
+登录平台后,可以看到其清晰的工作台布局。左侧导航栏将核心功能划分为 对话门户、工作台、知识库和账号四大模块。其中 Agent 模块又细分为工作流、对话 Agent 和对话 Agent V2(Beta) 三种类型,方便用户根据业务场景选择合适的构建模式。主区域则提供了"从模板新建"的快捷入口,内置了销售陪练大师、文档翻译助手、行业趋势洞察简报等官方模板;下方是用户自己创建的 Agent 列表,如图5.39所示。
+
+<div align="center">
+  <img src="../images/5-figures/fastgpt-02.png" alt="图片描述" width="90%"/>
+  <p>图 5.39 FastGPT 平台主界面</p>
+</div>
+
+在账号与套餐方面,FastGPT 提供了免费版供个人开发者体验。免费版包含 100 积分、600 条知识库索引、1 个团队成员、10 个 Agent、3 个知识库、30 天对话记录保留、30 QPM 的调用速率,以及单次可上传 5 个 50MB 文件的权限,如图5.40所示。对于中小企业和团队,平台也提供了付费升级方案以满足更高的并发和存储需求。
+
+<div align="center">
+  <img src="../images/5-figures/fastgpt-03.png" alt="图片描述" width="90%"/>
+  <p>图 5.40 FastGPT 免费版套餐与用量</p>
+</div>
+
+FastGPT 最核心的竞争力在于其强大的知识库能力。平台支持多种文件格式的导入,包括 Word、Markdown、PDF 等常见文档类型。如图5.41所示,在"test 通用知识库"中,我们可以上传深度学习简介、机器学习入门、招标文件正文等多个文件,系统会自动对文件进行分块处理并建立索引,状态显示为"已就绪"后即可在对话中被检索引用。
+
+<div align="center">
+  <img src="../images/5-figures/fastgpt-12.png" alt="图片描述" width="90%"/>
+  <p>图 5.41 FastGPT 知识库文件管理</p>
+</div>
+
+在文件处理层面,FastGPT 提供了精细化的参数配置。如图5.42所示,用户可以选择"分块存储"或"问答对提取"两种处理方式,设置分块条件(如原文长度大于 1000 字符时触发分块),并开启多种索引增强选项,包括将标题加入索引、自动生成补充索引以及图片自动索引等。对于包含大量图文混排内容的文档(如教材、研报),图片自动索引功能尤为重要,它能让大模型在回答时理解并引用文档中的视觉信息。
+
+<div align="center">
+  <img src="../images/5-figures/fastgpt-14.png" alt="图片描述" width="90%"/>
+  <p>图 5.42 知识库数据处理参数设置</p>
+</div>
+
+上传完成后,用户可以查看文件被分块后的具体内容。如图5.43所示,以"英语四年级下册全册电子书.pdf"为例,平台展示了每个分块的文本预览,同时右侧元数据面板显示了文件大小(62MB)、原文长度(37797 字符)、处理模式(分块存储)、图片索引状态等关键信息。这种透明化的分块展示,方便开发者进行知识库的调试与优化。
+
+<div align="center">
+  <img src="../images/5-figures/fastgpt-13.png" alt="图片描述" width="90%"/>
+  <p>图 5.43 知识库文件分块详情与元数据</p>
+</div>
+
+除了知识库,FastGPT 在工具集成方面也紧跟生态趋势。平台原生支持 MCP(Model Context Protocol)工具,用户可以在"我的工具"模块中统一管理各类 MCP 服务。如图5.44所示,在"ai 金融"文件夹下,我们已经配置了中文趋势聚合、实时股票 MCP、且慢基金 MCP、Minimax-MCP、BI 画图工具等多个 MCP 工具,这些工具将赋予智能体调用外部实时数据和专业服务的能力。
+
+<div align="center">
+  <img src="../images/5-figures/fastgpt-04.png" alt="图片描述" width="90%"/>
+  <p>图 5.44 FastGPT MCP 工具管理</p>
+</div>
+
+### 5.4.2 构建"智能投顾助手"
+
+**案例说明:** 本案例将基于 FastGPT 平台,结合知识库、MCP 工具和工作流编排,构建一个专业的"智能投顾助手"。该助手能够回答金融投资理论问题、查询实时股票行情、进行用户风险画像评估,并生成个性化的投资策略分析报告。通过本案例,你将掌握 FastGPT 的核心开发范式:知识库构建、MCP 工具接入、可视化工作流编排和多轮对话交互设计。
+
+**步骤一:配置 MCP 工具**
+
+智能投顾助手的核心能力之一是获取实时金融数据。在 FastGPT 中,我们通过接入 MCP 工具来实现这一功能。
+
+本案例需要以下两类 MCP 服务:
+
+1. **实时股票行情查询**:用于获取个股的实时价格、涨跌幅、成交量等数据。
+2. **金融数据与图表生成**:用于获取宏观金融数据以及生成可视化图表。
+
+如图5.45所示,我们可以在魔搭社区(ModelScope)的 MCP 市场中找到"可视化图表 MCP Server"。该服务基于 TypeScript 开发,兼容 MCP 协议,提供了生成面积图、柱状图、饼图等多种图表的能力,能够将枯燥的数据转化为直观的可视化结果。
+
+<div align="center">
+  <img src="../images/5-figures/fastgpt-05.png" alt="图片描述" width="90%"/>
+  <p>图 5.45 魔搭社区可视化图表 MCP Server</p>
+</div>
+
+另外,如图5.46所示,阿里云百炼平台也提供了丰富的官方 MCP 服务。在 MCP 管理页面中,我们可以找到"今日投资-金融实..."和"且慢"等金融类 MCP 服务,以及股票实时行情查询、万相-视频生成等工具。将这些服务添加到 FastGPT 的 MCP 工具库后,智能体便能在对话中按需调用它们。
+
+<div align="center">
+  <img src="../images/5-figures/fastgpt-06.png" alt="图片描述" width="90%"/>
+  <p>图 5.46 阿里云百炼 MCP 管理</p>
+</div>
+
+在 FastGPT 的 MCP 工具配置界面中,填写相应的服务地址、认证信息后,即可完成工具的接入。每个 MCP 工具都可以设置独立的描述和调用参数,便于智能体在决策时理解各工具的用途。
+
+**步骤二:设计智能投顾工作流**
+
+完成工具配置后,进入核心的工作流编排环节。FastGPT 提供了可视化的 Flow 编排界面,用户可以通过拖拽节点、连接边线的方式构建复杂的对话流程。
+
+如图5.47所示,"智能投顾助手"的完整工作流包含了多个处理分支:用户意图识别、知识库检索、风险问卷收集、MCP 工具调用、报告生成等。整个工作流呈现出清晰的模块化结构,数据在不同节点间有序流转。这种可视化的编排方式,让开发者能够直观地理解和调试智能体的决策路径。
+
+<div align="center">
+  <img src="../images/5-figures/fastgpt-07.png" alt="图片描述" width="90%"/>
+  <p>图 5.47 智能投顾助手工作流编排</p>
+</div>
+
+工作流的核心逻辑如下:
+
+1. **意图识别节点**:首先判断用户的输入类型。如果是金融概念咨询,走知识库检索分支;如果是股票查询,走 MCP 工具调用分支;如果是投资诊断,则进入风险问卷收集流程。
+2. **投资知识教育专员**:连接到预先构建的金融知识库,检索相关的投资理论、概念解释和案例分析。
+3. **风险评估分析师**:通过表单输入节点引导用户完成风险评估问卷,包括年龄、投资经验、月收入水平、风险承受能力和投资目标等维度,然后将数据传递给后续大模型节点进行市场环境、基本面、新闻情绪分析,整合用户画像、市场数据和新闻信息,调用大模型生成结构化的投资策略分析报告。
+4. **市场新闻情报专员**:根据用户需求调用实时股票 MCP 或图表生成 MCP,获取外部数据。
+5. **通用咨询专员**:根据用户咨询问题回复一下简单的内容,比如"你好"、"你好吗"等。
+
+**步骤三:配置提示词与知识库**
+
+在 FastGPT 中,提示词(System Prompt)的配置同样至关重要。针对智能投顾助手,我们需要为其设定专业的金融投资顾问角色:
+
+```
+# 一、 角色人设(Role)
+你是一位专业的金融投资顾问,具有丰富的风险评估和投资组合管理经验。你的专业背景包括金融学、行为金融学和投资心理学,能够从多维度分析用户的风险承受能力。你的口吻风格应专业、中立且易于理解,避免使用过于复杂的金融术语,确保普通投资者也能轻松理解你的分析。
+
+# 二、 背景(背景)
+用户将提供以下信息:年龄、投资经验、月收入水平、能承受的最大亏损、投资目标。这些信息是进行风险评估的基础,你需要基于这些数据,结合一般金融原则(如生命周期理论、风险收益匹配原则)进行分析。场景限制在于,你无法获取用户的其他个人信息(如资产总额、家庭状况),因此分析应聚焦于提供的信息,避免过度推测。
+
+# 三、 任务目标(Task)
+根据用户提供的年龄、投资经验、月收入水平、能承受的最大亏损、投资目标,进行综合风险评估。
+输出一个清晰的风险等级评估结果(例如:保守型、稳健型、积极型等),并简要解释理由。
+确保分析逻辑连贯,易于用户理解和应用。
+
+# 四、 限制提示(Limit)
+避免提供具体的金融产品推荐(如特定股票或基金名称),仅讨论一般性资产类别。
+不得做出任何保证收益的承诺或预测,强调投资有风险。
+避免使用过于技术性或专业化的语言,确保输出内容对非专业投资者友好。
+不基于假设或推测扩展用户信息,仅使用提供的年龄、投资经验、月收入、最大亏损承受能力和投资目标进行分析。
+输出中不得包含任何歧视性、偏见性或主观性强的表述,保持客观中立。
+
+# 五、 输出格式要求(Example)
+输出应按照以下结构组织:
+**风险等级评估**:[例如:稳健型]
+**评估理由**:简要解释基于用户年龄、投资经验、收入、亏损承受能力和投资目标的分析。
+**风险提示**:重申投资风险,鼓励用户根据自身情况调整。
+```
+
+同时,我们需要为助手配置金融知识库。将投资学基础、财务报表分析、宏观经济指标解读等文档上传至知识库,按照图5.41~图5.43所示的流程完成分块和索引。这样,当用户询问"市盈率和市净率有什么区别"这类概念性问题时,智能体能够从知识库中检索到准确的定义和对比分析,而不是完全依赖大模型的预训练知识,从而有效降低幻觉风险。
+
+**步骤四:测试与效果展示**
+
+完成工作流和提示词配置后,我们可以在 FastGPT 的对话界面中进行测试。如图5.48所示,智能投顾助手的开场白清晰地介绍了自身的三大功能特色:精通金融投资理论、提供实时市场新闻及数据、根据风险画像评估提供资产配置建议。界面下方还提供了快捷操作按钮,方便用户一键触发常见任务。
+
+<div align="center">
+  <img src="../images/5-figures/fastgpt-08.png" alt="图片描述" width="50%"/>
+  <p>图 5.48 智能投顾助手对话界面</p>
+</div>
+
+当用户点击"进行资产评估获取投资意见"后,助手会依次展开风险评估问卷,收集用户的年龄、投资经验、月收入水平、能承受的最大亏损以及投资目标等信息。基于这些信息,助手会生成一份完整的投资策略分析报告。
+
+如图5.49所示,报告包含以下几个核心模块:
+
+- **用户风险评估**:基于问卷结果,分析用户的风险承受能力等级(如稳健型)。
+- **资产配置比例建议**:以可视化饼图的形式展示股票、债券、现金等大类资产的配置比例(例如股票 45%、债券 40%、现金 15%)。
+- **市场基本面分析**:结合当前宏观经济环境和行业趋势,给出市场判断。
+- **再平衡策略**:提供定期调仓的建议方案,包括调仓周期和触发条件。
+
+<div align="center">
+  <img src="../images/5-figures/fastgpt-09.png" alt="图片描述" width="90%"/>
+  <p>图 5.49 投资策略分析报告</p>
+</div>
+
+对于实时数据查询场景,如图5.50所示,当用户询问"查询现在贵州茅台的股价信息"时,智能体会自动调用 MCP 工具(`get_stock_quote_realtime`)获取实时行情数据。返回结果包含标题、数据来源、关键要点(开盘价、最高价、日内价格区间、成交量、总市值、流通市值等),以及潜在影响分析和建议行动。这种结构化、专业化的输出,体现了 Agent 工具调用能力的实际价值。
+
+<div align="center">
+  <img src="../images/5-figures/fastgpt-10.png" alt="图片描述" width="50%"/>
+  <p>图 5.50 实时股票行情查询</p>
+</div>
+
+在概念解释方面,如图5.51所示,当用户询问"市盈率和市净率有什么区别"时,助手基于知识库和大模型的理解,给出了系统性的对比分析:从定义出发,详细解释了市盈率(P/E Ratio)和市净率(P/B Ratio)的计算方式;从四个维度(计算基础、适用行业、反映信息、局限性)进行对比;最后给出实际应用建议,说明何时应重点关注市盈率、何时应关注市净率。这种层次分明、逻辑严谨的输出,正是 RAG 增强后的大模型在垂直领域问答中的典型优势。
+
+<div align="center">
+  <img src="../images/5-figures/fastgpt-11.png" alt="图片描述" width="50%"/>
+  <p>图 5.51 市盈率与市净率概念解析</p>
+</div>
+
+### 5.4.3 FastGPT 的优势与局限性分析
+
+通过上述"智能投顾助手"的构建实践,我们可以对 FastGPT 平台形成一个较为全面的认识。
+
+**优势:**
+
+- **极致的知识库体验**:FastGPT 最核心的优势在于其对 RAG 链路的深度打磨。从文件上传、智能分块、索引增强、图片识别到检索召回,每一个环节都提供了精细化的配置选项和透明化的调试界面。对于需要基于私有知识库构建问答系统的场景(如企业知识助手、智能客服、专业领域咨询),FastGPT 提供了开箱即用的优秀体验。
+- **原生 MCP 支持**:与 Coze 不同,FastGPT 原生支持 MCP 协议,能够无缝对接魔搭社区、阿里云百炼等生态中的大量 MCP 服务。这使得智能体的工具扩展能力不再受限于平台内置的插件库,开发者可以自由接入任何符合 MCP 标准的第三方工具。
+- **模型中立设计**:FastGPT 支持灵活对接 OpenAI、Claude、通义千问、DeepSeek 等多种国内外主流大模型,用户可以根据业务需求和成本考量自由切换底层模型,避免了被单一模型供应商绑定的风险。
+- **可视化工作流编排**:Flow 模块提供了直观的节点式编排界面,复杂的多分支逻辑(如本案例中的意图识别、问卷收集、报告生成)可以通过拖拽方式快速构建,降低了非开发者的上手门槛。
+
+**局限性:**
+
+- **模板生态相对薄弱**:相比 Coze 丰富的插件商店和 Dify 超过 8000 个插件的 Marketplace,FastGPT 的官方模板和预置工具数量相对有限。虽然 MCP 协议在一定程度上弥补了这一短板,但对于非技术用户而言,寻找和配置合适的 MCP 服务仍存在一定门槛。
+- **免费版额度较为紧张**:免费版仅提供 100 积分和 30 QPM 的调用速率,对于需要频繁测试和迭代的开发者来说,额度消耗较快。知识库索引数量和团队成员数量的限制,也使得免费版难以支撑稍具规模的团队协作。
+- **社区与文档仍在完善中**:作为一个相对年轻的开源项目,FastGPT 的社区活跃度和英文文档完善度与 Dify、n8n 等成熟平台相比还有一定差距。遇到边缘问题时,可能需要深入源码或社区求助。
+
+
+总体而言,FastGPT 是一款在知识库问答领域极具竞争力的平台。如果你的核心需求是构建基于私有文档的智能问答系统,并且希望获得对 RAG 全流程的精细控制能力,FastGPT 是一个非常值得尝试的选择。而对于需要极强插件生态或复杂业务流程自动化的场景,则可以结合 Dify 或 n8n 进行互补。
+
+
+## 5.5 平台四:n8n
 
 正如我们之前所介绍的,n8n 的核心身份是一个通用的工作流自动化平台,而非一个纯粹的 LLM 应用构建工具。理解这一点,是掌握 n8n 的关键。在使用 n8n 构建智能应用时,我们实际上是在设计一个更宏大的自动化流程,而大语言模型只是这个流程中的一个(或多个)强大的“处理节点”。
 
-### 5.4.1 n8n 的节点与工作流
+### 5.5.1 n8n 的节点与工作流
 
 n8n 的世界由两个最基本的概念构成:<strong>节点 (Node)</strong> 和 <strong>工作流 (Workflow)</strong>。
 
@@ -709,15 +912,15 @@ n8n 的世界由两个最基本的概念构成:<strong>节点 (Node)</strong>
 
 n8n 的真正威力在于其强大的“连接”能力。它可以将原本孤立的应用程序和服务(如企业内部的 CRM、外部的社交媒体平台、你的数据库以及大语言模型)串联起来,实现过去需要复杂编码才能完成的端到端业务流程自动化。在接下来的实战中,我们将亲手体验如何利用这套节点和工作流系统,构建一个集成了 AI 能力的自动化应用。
 
-### 5.4.2 搭建智能邮件助手
+### 5.5.2 搭建智能邮件助手
 
 关于n8n的环境配置和最基础的使用,在项目的`Additional-Chapter`文件夹下制作了文档,这里就不过多介绍。在上一节中,我们了解了 n8n 的基本概念。这个案例将清晰地展示现代 AI Agent 与传统自动化工作流的核心区别。传统流程是线性的,而我们即将构建的 Agent 将能够接收用户邮件,通过一个核心的 <strong>AI Agent 节点</strong> 进行“思考”,自主理解用户意图,并在多个可用“工具”中进行决策和选择,最终自动生成并发送高度相关的回复。
 
-整个过程模拟了一个更高级的决策逻辑:`接收 -> AI Agent (思考 -> 决策 -> 工具调用) -> 回复`,如图5.38所示。
+整个过程模拟了一个更高级的决策逻辑:`接收 -> AI Agent (思考 -> 决策 -> 工具调用) -> 回复`,如图5.52所示。
 
 <div align="center">
   <img src="https://raw.githubusercontent.com/datawhalechina/Hello-Agents/main/docs/images/5-figures/n8n-01.png" alt="图片描述" width="90%"/>
-  <p>图 5.38 一体化智能邮件 Agent 架构示意图</p>
+  <p>图 5.52 一体化智能邮件 Agent 架构示意图</p>
 </div>
 
 与将工具拆分为多个子工作流的传统方法不同,n8n 的 `AI Agent` 节点允许我们将组件,例如大语言模型(LLM)、记忆(Memory)、工具(Tools)都整合在一个统一的界面中,极大地简化了构建过程。
@@ -727,7 +930,7 @@ n8n 的真正威力在于其强大的“连接”能力。它可以将原本孤
 1. <strong>准备 Agent 的“记忆”</strong>:创建一个独立的流程,为 Agent 加载私有知识库。
 2. <strong>构建 Agent 主体</strong>:创建接收邮件、思考并回复的主工作流。
 
-### 5.4.3 构建 Agent 的私有知识库
+### 5.5.3 构建 Agent 的私有知识库
 
 为了让 Agent 能够回答关于特定领域(比如您的个人信息或项目文档)的问题,我们需要先为它准备一个“外部大脑”,一个向量知识库。
 
@@ -742,7 +945,7 @@ n8n 的真正威力在于其强大的“连接”能力。它可以将原本孤
 
 <div align="center">
   <img src="https://raw.githubusercontent.com/datawhalechina/Hello-Agents/main/docs/images/5-figures/n8n-02.png" alt="Code 节点中填写了知识库 JSON 文本的截图" width="90%"/>
-  <p>图 5.39 在 Code 节点中定义知识源</p>
+  <p>图 5.53 在 Code 节点中定义知识源</p>
 </div>
 
 ```javascript
@@ -771,12 +974,12 @@ return [
 
 <div align="center">
   <img src="https://raw.githubusercontent.com/datawhalechina/Hello-Agents/main/docs/images/5-figures/n8n-03.png" alt="" width="90%"/>
-  <p>图 5.40 对 Code 中数据进行向量化</p>
+  <p>图 5.54 对 Code 中数据进行向量化</p>
 </div>
 
 <strong>(3) 存入向量存储</strong>
 
-最后,我们将向量化的知识存入内存数据库中,如图5.41所示。
+最后,我们将向量化的知识存入内存数据库中,如图5.55所示。
 
 - <strong>节点</strong>:`Simple Vector Store`
 - <strong>配置</strong>:
@@ -785,41 +988,41 @@ return [
 
 <div align="center">
   <img src="https://raw.githubusercontent.com/datawhalechina/Hello-Agents/main/docs/images/5-figures/n8n-04.png" alt="" width="90%"/>
-  <p>图 5.41 对 Code 中数据存入向量存储</p>
+  <p>图 5.55 对 Code 中数据存入向量存储</p>
 </div>
 
-完成配置后,<strong>手动执行一次</strong>这个流程。成功后,您的私有知识就加载到 n8n 的内存中了,如图5.42所示。
+完成配置后,<strong>手动执行一次</strong>这个流程。成功后,您的私有知识就加载到 n8n 的内存中了,如图5.56所示。
 
 <div align="center">
   <img src="https://raw.githubusercontent.com/datawhalechina/Hello-Agents/main/docs/images/5-figures/n8n-05.png" alt="" width="90%"/>
-  <p>图 5.42 完整的知识库加载工作流</p>
+  <p>图 5.56 完整的知识库加载工作流</p>
 </div>
 
-### 5.4.4 创建 Agent 主工作流
+### 5.5.4 创建 Agent 主工作流
 
 有了工具,我们现在开始构建 Agent 的主要流程。它将负责接收邮件、进行思考和决策,并在合适的时机调用我们刚刚创建的工具,最终执行邮件的回复。
 
 (1)配置 Gmail 触发器
 
-新建一个工作流,命名为 `Agent: Customer Support`。使用 `Gmail` 节点作为触发器,将其 <strong>Event</strong> 设置为 `Message Received`,并配置好你的邮箱账号。这样,每当有新邮件进入收件箱时,该工作流就会被自动触发,如图5.43所示。
+新建一个工作流,命名为 `Agent: Customer Support`。使用 `Gmail` 节点作为触发器,将其 <strong>Event</strong> 设置为 `Message Received`,并配置好你的邮箱账号。这样,每当有新邮件进入收件箱时,该工作流就会被自动触发,如图5.57所示。
 
 <div align="center">
   <img src="https://raw.githubusercontent.com/datawhalechina/Hello-Agents/main/docs/images/5-figures/n8n-06.png" alt="" width="90%"/>
-  <p>图 5.43 新建Gmail节点图</p>
+  <p>图 5.57 新建Gmail节点图</p>
 </div>
 
-配置过程可参考[n8n官方文档](https://docs.n8n.io/integrations/builtin/credentials/google/oauth-single-service/?utm_source=n8n_app&utm_medium=credential_settings&utm_campaign=create_new_credentials_modal#enable-apis)。Gmail的api在这里[配置](https://console.cloud.google.com/apis/library/gmail.googleapis.com?project=apt-entropy-471905-b9),需要创建凭证,选择Web 应用类型,最后即得到所需的客户端ID和客户端密钥。并且需要在已获授权的重定向 URI 将n8n刚给的OAuth Redirect URL给添加上。同时,还需要在[目标对象](https://console.cloud.google.com/auth/audience?project=apt-entropy-471905-b9)的Add users加上自己的邮箱地址。最终配置完成的页面如图5.44所示。
+配置过程可参考[n8n官方文档](https://docs.n8n.io/integrations/builtin/credentials/google/oauth-single-service/?utm_source=n8n_app&utm_medium=credential_settings&utm_campaign=create_new_credentials_modal#enable-apis)。Gmail的api在这里[配置](https://console.cloud.google.com/apis/library/gmail.googleapis.com?project=apt-entropy-471905-b9),需要创建凭证,选择Web 应用类型,最后即得到所需的客户端ID和客户端密钥。并且需要在已获授权的重定向 URI 将n8n刚给的OAuth Redirect URL给添加上。同时,还需要在[目标对象](https://console.cloud.google.com/auth/audience?project=apt-entropy-471905-b9)的Add users加上自己的邮箱地址。最终配置完成的页面如图5.58所示。
 
 <div align="center">
   <img src="https://raw.githubusercontent.com/datawhalechina/Hello-Agents/main/docs/images/5-figures/n8n-07.png" alt="" width="90%"/>
-  <p>图 5.44 Gmail账号加载成功图</p>
+  <p>图 5.58 Gmail账号加载成功图</p>
 </div>
 
-现在我们可以点击`Fetch Test Event`获取邮件了,如图5.45所示!
+现在我们可以点击`Fetch Test Event`获取邮件了,如图5.59所示!
 
 <div align="center">
   <img src="https://raw.githubusercontent.com/datawhalechina/Hello-Agents/main/docs/images/5-figures/n8n-08.png" alt="" width="90%"/>
-  <p>图 5.45 获取实时邮件图</p>
+  <p>图 5.59 获取实时邮件图</p>
 </div>
 
 (2)配置 AI Agent 节点
@@ -834,16 +1037,16 @@ return [
 
 <div align="center">
   <img src="https://raw.githubusercontent.com/datawhalechina/Hello-Agents/main/docs/images/5-figures/n8n-09.png" alt="" width="90%"/>
-  <p>图 5.46 AI Agent节点设置图</p>
+  <p>图 5.60 AI Agent节点设置图</p>
 </div>
 
 这是 Agent “思考”的第一步。添加一个 `Gemini` 节点(或其他 LLM 节点),模式设置为 `Chat`。我们的目标是让它分析邮件内容,判断用户意图。Prompt 的设计至关重要,一个清晰的指令能让 LLM 更准确地完成任务。我们将邮件正文和主题(`{{ $json.snippet }}{{ $json.Subject }}`)作为变量传入 Prompt 中,没有API可以到[Google AI Studio](https://aistudio.google.com/prompts/new_chat)点击Get API key创建一个可用的。
 
-其中,对于AI Agent节点,我们需要填的主要是`User Message`和`System Message`部分,如图5.47所示。
+其中,对于AI Agent节点,我们需要填的主要是`User Message`和`System Message`部分,如图5.61所示。
 
 <div align="center">
   <img src="https://raw.githubusercontent.com/datawhalechina/Hello-Agents/main/docs/images/5-figures/n8n-10.png" alt="" width="90%"/>
-  <p>图 5.47 AI Agent 节点详解图</p>
+  <p>图 5.61 AI Agent 节点详解图</p>
 </div>
 
 在这里给出我们案例所使用的Prompt:
@@ -907,11 +1110,11 @@ return [
 - <strong>Memory Key</strong>: 必须填写与第一部分<strong>完全相同</strong>的 Key,即 `my_private_knowledge`。
 - <strong>Embeddings</strong>: 必须使用与第一部分<strong>完全相同</strong>的 `Embeddings Google Gemini` 模型。
 
-只有 `Memory Key` 和 `Embeddings` 模型完全一致,Agent 才能用正确的“钥匙”和“语言”来访问知识库,如图5.48所示。
+只有 `Memory Key` 和 `Embeddings` 模型完全一致,Agent 才能用正确的“钥匙”和“语言”来访问知识库,如图5.62所示。
 
 <div align="center">
   <img src="https://raw.githubusercontent.com/datawhalechina/Hello-Agents/main/docs/images/5-figures/n8n-11.png" alt="" width="90%"/>
-  <p>图 5.48 Simple Vector Store工具配置</p>
+  <p>图 5.62 Simple Vector Store工具配置</p>
 </div>
 
 Description参数即AI Agent调用该工具时,对该工具的描述定义,在这里也给出对应的Prompt:
@@ -926,7 +1129,7 @@ Description参数即AI Agent调用该工具时,对该工具的描述定义,
 
 (4) 发送最终回复
 
-最后一步是执行。将 `AI Agent` 节点的输出连接到一个 `Gmail` 节点,<strong>Operation</strong> 设为 `Send`。使用 n8n 表达式,将收件人、主题和正文分别关联到 `AI Agent` 输出的 JSON 数据中的相应字段,即可实现邮件的自动回复,如图5.49所示。
+最后一步是执行。将 `AI Agent` 节点的输出连接到一个 `Gmail` 节点,<strong>Operation</strong> 设为 `Send`。使用 n8n 表达式,将收件人、主题和正文分别关联到 `AI Agent` 输出的 JSON 数据中的相应字段,即可实现邮件的自动回复,如图5.63所示。
 
 - <strong>To</strong>: `{{ $('Gmail').item.json.From }}` (或其他触发器中的发件人字段)
 - <strong>Subject</strong>: `Re:  {{ $('Gmail').item.json.Subject }}`
@@ -934,24 +1137,24 @@ Description参数即AI Agent调用该工具时,对该工具的描述定义,
 
 <div align="center">
   <img src="https://raw.githubusercontent.com/datawhalechina/Hello-Agents/main/docs/images/5-figures/n8n-12.png" alt="" width="90%"/>
-  <p>图 5.49 最终回复工具图示</p>
+  <p>图 5.63 最终回复工具图示</p>
 </div>
 
-并且发送成功的同时,也能在个人邮箱收到真实的返回邮件信息,如图5.50所示。
+并且发送成功的同时,也能在个人邮箱收到真实的返回邮件信息,如图5.64所示。
 
 <div align="center">
   <img src="https://raw.githubusercontent.com/datawhalechina/Hello-Agents/main/docs/images/5-figures/n8n-13.png" alt="" width="90%"/>
-  <p>图 5.50 个人邮箱返回邮件格式</p>
+  <p>图 5.64 个人邮箱返回邮件格式</p>
 </div>
 
 至此,一个基于 `AI Agent` 节点的一体化智能客服就构建完成了,你可以发送一封测试邮件来检验它的工作成果。这个架构的扩展性极强。未来,您可以直接向 `AI Agent` 节点添加更多的工具(如日历、数据库、CRM 等),只需在 Prompt 中教会 Agent 如何使用它们,就能不断赋予您的 Agent 更强大的能力。
 
-### 5.4.5 n8n 的优势与局限性分析
+### 5.5.5 n8n 的优势与局限性分析
 
 通过前面从零到一构建智能邮件助手的实践,我们已经对 n8n 的工作模式有了直观的感受。作为一个强大的低代码自动化平台,n8n 在赋能 Agent 应用开发方面表现出色,但它也并非万能。如表5.1所示,我们将客观地分析其优势与潜在的局限性。
 
 <div align="center">
-  <p>表 5.1 n8n 平台的优势与局限性总结</p>
+  <p>表 5.2 n8n 平台的优势与局限性总结</p>
   <img src="https://raw.githubusercontent.com/datawhalechina/Hello-Agents/main/docs/images/5-figures/n8n-14.png" alt="" width="90%"/>
 </div>
 
@@ -971,24 +1174,27 @@ Description参数即AI Agent调用该工具时,对该工具的描述定义,
 
 最后是关于<strong>性能</strong>,n8n 完全能满足绝大多数企业自动化和中低频次的 Agent 任务。但对于需要处理超高并发请求的场景,其节点调度机制可能会带来一定的性能开销,相比于纯代码实现的服务可能稍逊一筹。
 
-## 5.5 本章小结
+## 5.6 本章小结
 
 本章系统介绍了基于低代码平台构建智能体应用的理念、方法与实践,标志着我们从"手写代码"向"平台化开发"的重要转变。
 
 在第一节中,我们阐述了低代码平台兴起的背景与价值。相比于第四章中纯代码实现的智能体,低代码平台通过图形化、模块化的方式,显著降低了技术门槛、提升了开发效率,并提供了更优的可视化调试体验。这种"更高层次的抽象"让开发者能够将精力聚焦于业务逻辑和提示工程,而非底层实现细节。
 
-随后,我们深入实践了个各具特色的代表性平台:
+随后,我们深入实践了个各具特色的代表性平台:
 
 **Coze** 以其零代码的友好体验和丰富的插件生态脱颖而出。通过"每日AI简报"案例,我们体验了如何通过拖拽式配置快速整合多源信息,并一键发布到多个主流平台。Coze 特别适合非技术背景用户和需要快速验证创意的场景,但其不支持 MCP 和无法导出标准化配置文件的局限性也值得注意。
 
 **Dify** 作为开源的企业级平台,展现了全栈式开发能力。"超级智能体个人助手"案例涵盖了日常问答、文案优化、多模态生成、数据分析和 MCP 工具集成等多个模块,充分展示了 Dify 在复杂业务场景下的强大编排能力。其丰富的插件市场(8000+)、灵活的部署方式和企业级安全特性,使其成为专业开发者和企业团队的理想选择。然而,相对陡峭的学习曲线和在高并发场景下的性能挑战也需要权衡。
 
+**FastGPT** 则凭借其极致的 RAG 知识库体验,成为垂直领域问答场景的有力竞争者。通过"智能投顾助手"案例,我们体验了从知识库构建、MCP 工具接入到可视化工作流编排的完整开发范式。FastGPT 对文件分块、索引增强、图片识别等细节的精细化控制,使其在企业知识助手、智能客服等场景中具有独特优势。但其模板生态相对薄弱、免费版额度有限,也限制了其在更复杂业务场景中的发挥。
+
 **n8n** 则以其独特的"连接"能力开辟了另一条路径。通过"智能邮件助手"案例,我们看到了如何将 AI 能力无缝嵌入到复杂的业务自动化流程中。n8n 的 AI Agent 节点将模型、记忆和工具高度整合,配合其数百个预置节点,能够实现高度定制化的自动化方案。其支持私有化部署的特性对注重数据安全的企业尤为重要。但内置存储的非持久性和版本控制的不成熟,在生产环境中需要额外的工程化处理。
 
-通过个平台的对比实践,我们可以得出以下选型建议:
+通过个平台的对比实践,我们可以得出以下选型建议:
 - **快速原型验证、非技术用户**: 优先选择 Coze
-- **企业级应用、复杂业务逻辑**: 优先选择 Dify
-- **深度业务集成、自动化流程**: 优先选择 n8n
+- **企业级应用、复杂业务逻辑、多模态生成**: 优先选择 Dify
+- **基于私有知识库的问答系统、智能客服**: 优先选择 FastGPT
+- **深度业务集成、通用自动化流程**: 优先选择 n8n
 
 值得强调的是,低代码平台并非要取代代码开发,而是提供了一种互补的选择。在实际项目中,我们完全可以根据不同阶段的需求灵活切换:用低代码平台快速验证想法,用代码实现精细化控制;用平台处理标准化流程,用代码处理特殊逻辑。这种"混合开发"的思维,才是智能体工程化的最佳实践。
 
@@ -997,9 +1203,9 @@ Description参数即AI Agent调用该工具时,对该工具的描述定义,
 
 ## 习题
 
-1. 本章介绍了个各具特色的低代码平台:`Coze`、`Dify` 和 `n8n`。请分析:
+1. 本章介绍了个各具特色的低代码平台:`Coze`、`Dify`、`FastGPT` 和 `n8n`。请分析:
 
-   - 这个平台在核心定位和设计理念上有什么区别?它们分别解决了智能体开发中的哪些痛点?
+   - 这个平台在核心定位和设计理念上有什么区别?它们分别解决了智能体开发中的哪些痛点?
    - 低代码平台与纯代码开发各有优劣,此外,也有部分功能用平台实现,部分功能用代码实现的"混合开发"模式。思考三种开发模式分别适合哪些场景?请举例说明。
    
 2. 在5.2节的 `Coze` 案例中,我们构建了一个"每日AI简报"智能体。请基于此案例进行扩展思考:
@@ -1016,7 +1222,7 @@ Description参数即AI Agent调用该工具时,对该工具的描述定义,
    - 数据查询模块需要为大模型提供清晰的表结构信息。如果数据库有50张表、每张表有20个字段,直接将所有 `DDL` 语句放入提示词会导致上下文过长。请设计一个更智能的方案来解决这个问题。
    - `Dify` 支持本地部署和云端部署两种模式。请对比这两种模式在数据安全、成本、性能、维护难度等方面的差异,并说明各自适用的场景。
 
-4. 在5.4节的 `n8n` 案例中,我们构建了一个"智能邮件助手"。请思考以下问题:
+4. 在5.5节的 `n8n` 案例中,我们构建了一个"智能邮件助手"。请思考以下问题:
 
    > <strong>提示</strong>:这是一道动手实践题,建议实际操作
 
@@ -1026,16 +1232,16 @@ Description参数即AI Agent调用该工具时,对该工具的描述定义,
 
 5. 提示词工程在低代码平台中同样至关重要。本章展示了多个平台的提示词设计案例。请分析:
 
-   - 对比5.2.2节(`Coze`)、5.3.2节(`Dify`)和5.4.4节(`n8n`)中的提示词设计,它们在结构、风格和侧重点上有什么不同?这些差异是否与平台特性相关?
+   - 对比5.2.2节(`Coze`)、5.3.2节(`Dify`)和5.5.4节(`n8n`)中的提示词设计,它们在结构、风格和侧重点上有什么不同?这些差异是否与平台特性相关?
    - 在 `Dify` 的"文案优化模块"中,提示词要求输出"超过500字"。这种对输出长度的硬性要求是否合理?在什么情况下应该限制输出长度,什么情况下应该让模型自由发挥?
    
 6. 工具和插件是低代码平台的核心能力扩展方式。请思考:
 
-   - `Coze` 拥有丰富的插件商店,`Dify` 拥有8000+的插件市场,`n8n` 拥有数百个预置节点。如果这三个平台都没有你需要的某个特定工具(如"连接公司内部系统的 `API`"),你会如何解决?
+   - `Coze` 拥有丰富的插件商店,`Dify` 拥有8000+的插件市场,`FastGPT` 原生支持 MCP 协议,`n8n` 拥有数百个预置节点。如果这三个平台都没有你需要的某个特定工具(如"连接公司内部系统的 `API`"),你会如何解决?
    - 在5.3.2节中,我们使用了 `MCP` 协议集成了高德地图、饮食推荐等服务。请调研并说明:`MCP` 协议与传统的 `RESTful API` 以及 `Tool Calling` 有哪些区别?为什么说 `MCP` 是智能体工具调用的"新标准"?
    - 假设你要为 `Dify` 开发一个自定义插件,使其能够调用你公司的内部知识库系统。请查阅 `Dify` 的插件开发文档,概述开发流程和关键技术点。
 
-7. 平台选型是智能体产品成功的关键决策之一。假设你是一家初创公司的技术负责人,公司计划开发以下三个AI应用,请为每个应用选择最合适的平台(`Coze`、`Dify`、`n8n` 或纯代码开发),并详细说明理由:
+7. 平台选型是智能体产品成功的关键决策之一。假设你是一家初创公司的技术负责人,公司计划开发以下三个AI应用,请为每个应用选择最合适的平台(`Coze`、`Dify`、`FastGPT`、`n8n` 或纯代码开发),并详细说明理由:
 
    <strong>应用A</strong>:面向C端用户的"AI写作助手"小程序,需要快速上线验证市场需求,预算有限,团队中只有1名前端工程师和1名产品经理。
 
@@ -1060,4 +1266,6 @@ Description参数即AI Agent调用该工具时,对该工具的描述定义,
 
 [2] Dify - 开源的 LLM 应用开发平台. https://dify.ai/
 
-[3] n8n - 工作流自动化工具. https://n8n.io/
+[3] FastGPT - 开源的知识库问答平台与 Agent 构建工具. https://fastgpt.io/en/
+
+[4] n8n - 工作流自动化工具. https://n8n.io/

BIN
docs/images/5-figures/coze-01.png


BIN
docs/images/5-figures/coze-06.png


BIN
docs/images/5-figures/coze-09.png


BIN
docs/images/5-figures/dify-05.png


BIN
docs/images/5-figures/dify-06.png


BIN
docs/images/5-figures/dify-12.png


BIN
docs/images/5-figures/dify-13.png


BIN
docs/images/5-figures/dify-19.png


BIN
docs/images/5-figures/dify-22.png


BIN
docs/images/5-figures/fastgpt-01.png


BIN
docs/images/5-figures/fastgpt-02.png


BIN
docs/images/5-figures/fastgpt-03.png


BIN
docs/images/5-figures/fastgpt-04.png


BIN
docs/images/5-figures/fastgpt-05.png


BIN
docs/images/5-figures/fastgpt-06.png


BIN
docs/images/5-figures/fastgpt-07.png


BIN
docs/images/5-figures/fastgpt-08.png


BIN
docs/images/5-figures/fastgpt-09.png


BIN
docs/images/5-figures/fastgpt-10.png


BIN
docs/images/5-figures/fastgpt-11.png


BIN
docs/images/5-figures/fastgpt-12.png


BIN
docs/images/5-figures/fastgpt-13.png


BIN
docs/images/5-figures/fastgpt-14.png


Някои файлове не бяха показани, защото твърде много файлове са промени