- 实现了基于LangChain的MCP Agent,支持连接MCP服务器调用工具 - 添加了环境配置文件(.env),包含LLM模型和API配置信息 - 创建了完整的工具系统,包括BaseTool基类和Bash、Terminate、Add等工具 - 集成了天气查询工具,支持通过中国气象局API获取天气预报信息 - 实现了交互式对话功能,支持多轮工具调用和结果处理 - 添加了详细的CLAUDE.md开发指导文档
18 lines
385 B
TOML
18 lines
385 B
TOML
[project]
|
|
name = "testmcp"
|
|
version = "0.1.0"
|
|
description = "Add your description here"
|
|
readme = "README.md"
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"dashscope>=1.25.12",
|
|
"deepagents>=0.4.3",
|
|
"langchain>=1.2.10",
|
|
"langchain-community>=0.4.1",
|
|
"langchain-openai>=0.3.0",
|
|
"loguru>=0.7.3",
|
|
"mcp[cli]>=1.13.1",
|
|
"openai>=1.102.0",
|
|
"pymysql>=1.1.2",
|
|
]
|