面向日志、指标与业务数据的智能体工作台最小可运行版。
当前版本已落地:
FastAPI后端 APIFastMCP工具服务- 统一领域模型
- Skill 目录与加载器
- Router/Query/Analysis/Visualization/Report 五类 Agent 骨架
- 大模型配置接入(OpenAI 兼容网关,配置见
.env.example) - Elasticsearch 查询、认证安全分析、图表数据准备的最小链路
log_agent_platform/
├── backend/
├── frontend/
├── docs/
├── deployment/
├── scripts/
├── tests/
├── .env.example
├── docker-compose.yml
└── README.md
cd /path/to/log_agent_platform
python -m backend.api.http_serverAPI 默认地址:http://127.0.0.1:8084
MCP 服务默认地址:http://127.0.0.1:8090
cd /path/to/log_agent_platform
python -m backend.mcp.server前端工作台:
cd /path/to/log_agent_platform/frontend
npm install
npm run dev前端默认地址:http://127.0.0.1:5175
GET /healthGET /api/v1/skillsGET /api/v1/system/modelGET /api/v1/query/indicesPOST /api/v1/query/latest-dataPOST /api/v1/query/structuredPOST /api/v1/analysis/auth-securityPOST /api/v1/visualization/preparePOST /api/v1/agent/queryPOST /api/v1/agent/query/stream
- 新项目不会启动旧
mcp_sever服务。 - 旧项目能力只作为迁移参考来源。
- 若未配置 Elasticsearch,查询接口会返回结构化错误;Skill、Agent、MCP 服务仍可正常启动。
- 默认智能体模型已接入本地
.env的配置。 - 查询结果、分析结果、图表规格会尝试上传到 MinIO 专用桶
log-agent-platform-artifacts。