Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Log Agent Platform

面向日志、指标与业务数据的智能体工作台最小可运行版。

当前版本已落地:

  • FastAPI 后端 API
  • FastMCP 工具服务
  • 统一领域模型
  • 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_server

API 默认地址: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 /health
  • GET /api/v1/skills
  • GET /api/v1/system/model
  • GET /api/v1/query/indices
  • POST /api/v1/query/latest-data
  • POST /api/v1/query/structured
  • POST /api/v1/analysis/auth-security
  • POST /api/v1/visualization/prepare
  • POST /api/v1/agent/query
  • POST /api/v1/agent/query/stream

说明

  • 新项目不会启动旧 mcp_sever 服务。
  • 旧项目能力只作为迁移参考来源。
  • 若未配置 Elasticsearch,查询接口会返回结构化错误;Skill、Agent、MCP 服务仍可正常启动。
  • 默认智能体模型已接入本地 .env 的配置。
  • 查询结果、分析结果、图表规格会尝试上传到 MinIO 专用桶 log-agent-platform-artifacts

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages