一个用于本地 Markdown/文本资料检索、问答与报表生成的轻量应用。前端使用 Streamlit,Agent 框架使用 CAMEL,并通过 MCP server 支持大响应落盘。
- Python 3.12
- Git
- macOS / Windows(Windows 需 Git Bash 或 WSL)
./scripts/pull.sh
./scripts/install.sh
# 配置 .env 与 models/model_config/base.yaml
./scripts/start.sh.\scripts\pull.cmd
.\scripts\install.cmd
# 配置 .env 与 models/model_config/base.yaml
.\scripts\start.cmd说明:Windows 脚本是对
*.sh的包装,默认调用 Git Bash 的bash。如果使用 WSL,请在 WSL 里直接运行bash scripts/*.sh。
- 环境变量:复制
.env.example为.env后按需修改。 - 模型配置:编辑
models/model_config/base.yaml。
app.py # Streamlit 入口
src/local_file_agent/ # Agent 核心逻辑
config/ # MCP 配置
scripts/ # 启动/安装脚本
models/model_config/ # 模型配置