AgentChat

AgentChat 是一個基於 LLM 的智慧體交流平台,內建預設 Agent 並支援使用者自訂 Agent。透過多輪對話與任務協作,Agent 可以理解並協助完成複雜任務。專案整合 LangChain、

AgentChat 是什麼?

AgentChat 是一個基於 LLM 的智慧體交流平台,內建預設 Agent 並支援使用者自訂 Agent。透過多輪對話與任務協作,Agent 能理解並協助完成複雜任務。專案整合 LangChain、Function Call、MCP 協議、RAG、Memory、HITL、Skill、Milvus 與 ElasticSearch 等技術,實現高效的知識檢索與工具呼叫,並使用 FastAPI 建構高效能後端服務。

AgentChat 概覽

這是什麼

AgentChat 是一個前後端分離的智能體應用平台。它可以連接模型服務,為智能體綁定工具、Skill、MCP 和知識庫。平台內建預設智能體,並支援使用者自訂智能體。整合了 LangChain、Function Call、MCP 協定、RAG、Memory、HITL、Skill、Milvus 和 ElasticSearch 等技術。

主要功能

  • 靈活會話:在同一會話中切換智能體;根據首條問題非同步生成 2–10 字的話題標題。
  • 智能體:選擇模型、設定提示詞,並組合工具、MCP、Skill 與知識庫。
  • Mars 任務:從探索頁發起任務,檢視工具執行過程與 Markdown 報告。
  • 工具與 MCP:使用內建工具、匯入 OpenAPI,或連接 SSE / Streamable HTTP MCP 服務;支援對話式建立 MCP 與人工確認。
  • Skill:啟動時載入研究報告、資料分析、產品文件、程式碼審查、郵件寫作、知識整理六類技能模板。
  • 知識庫:上傳資料、向量化並綁定到智能體,檢索後重排;可依需求啟用全文檢索。
  • 使用者資源隔離:註冊時獲得獨立的預設智能體、工具、Skill 和 MCP 副本,編輯不會影響其他使用者。

使用情境

  • 從探索頁發起搜尋、研究與報告生成任務,檢視完整的執行過程與結果。
  • 在會話中使用智能體,透過綁定工具、MCP、Skill 和知識庫來協助完成複雜任務。
  • 將資料上傳至知識庫進行檢索與重排,實現高效的資訊存取。
  • 透過資料看板檢視模型呼叫與 Token 用量,並使用請求追蹤與工具耗時日誌。

快速開始

bashgit clone --branch main https://github.com/Shy2593666979/AgentChat.gitcd AgentChat/src/backenduv sync --locked --python 3.12建立本地設定檔:bashcp agentchat/config.simple.yaml agentchat/config.local.simple.yaml編輯 src/backend/agentchat/config.local.simple.yaml,設定您的模型 API Key、base_url 和 model_name。啟動後端:bashexport AGENTCHAT_CONFIG=agentchat/config.local.simple.yamluv run --locked uvicorn agentchat.main:app --host 127.0.0.1 --port 7860在另一個終端機中,啟動前端:bashcd src/frontendnpm cinpm run dev -- --host 127.0.0.1 --port 8090 --strictPort

授權與價格

本專案採用 MIT 授權條款。為開源軟體。

內容整理自該專案公開的 README 與儲存庫資訊。

將此徽章加入你的 README

Featured on YunoDB 徽章樣式與說明

你是這個專案的維護者嗎?展示它已收錄於 YunoDB。

Markdown[![Featured on YunoDB](https://yunodb.com/badge/shy2593666979agentchat.svg)](https://yunodb.com/tools/shy2593666979agentchat?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/shy2593666979agentchat?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/shy2593666979agentchat.svg" alt="Featured on YunoDB" height="20"></a>