本地开发
本文介绍如何在本地开发和调试 Agent。
快速开始
第一步:获取项目代码
方式一:从 GitHub 模板获取(推荐)
访问 awesome-cloudbase-examples 获取完整的示例项目集合。
# 克隆示例仓库
git clone https://github.com/TencentCloudBase/awesome-cloudbase-examples.git
cd awesome-cloudbase-examples/httpfunctions
# 选择你需要的模板
cd <template-name>
可用模板列表:
| 模板名称 | 语言 | 框架 | 说明 |
|---|---|---|---|
langchain-js | JavaScript | LangChain | LangChain Agent 示例(JS) |
langchain-ts | TypeScript | LangChain | LangChain Agent 示例(TS) |
langgraph-js | JavaScript | LangGraph | LangGraph Agent 示例(JS) |
langgraph-ts | TypeScript | LangGraph | LangGraph Agent 示例(TS) |
langgraph-python | Python | LangGraph | LangGraph Agent 示例(Python) |
crewai-python | Python | CrewAI | CrewAI 多 Agent 协作示例 |
adk-python | Python | ADK | Agent Development Kit 示例 |
adp-js | JavaScript | ADP | Agent Development Platform 示例 |
adp-ts | TypeScript | ADP | Agent Development Platform 示例 |
coze-python | Python | Coze | Coze Agent 示例 |
n8n-js | JavaScript | n8n | n8n Agent 示例 |
n8n-python | Python | n8n | n8n Agent 示例 |
框架接入指南
如需了解如何接入特定框架,请参考: