混合自主工程系统

ULTRAGENT v2.0是一个基于MCP(模型上下文协议)的混合自主工程系统,提供24个MCP工具、4层LLM经济、全路由器和代码索引等功能,适用于开发和工程管理。

  • by SrAndres629
  • Python
  • 本地部署
  • 更新于
在 GitHub 查看 SrAndres629/UltraGent-Mcp

使用说明

ULTRAGENT 版本 2.0

🤖 混合自主工程系统

基于MCP(Model Context Protocol)的自治混合工程系统。

✨ 特性

  • 24个MCP工具 分为8个模块
  • 四级法学硕士经济 (战略、编码、速度、侦察)
  • Omni路由器 带断路器和自动故障切换
  • 哨兵 用于文件系统的反应性监测
  • 图书管理员 使用Tree-Sitter和Chromadb进行代码索引
  • 侦察/进化 针对GitHub的黄金标准进行基准测试
  • 机械师 用于在Docker沙箱中安全运行
  • 视觉 用于使用NetworkX显示架构
  • HUD仪表板 统一可观测性

🚀 快速开始

# Clonar repositorio
git clone https://github.com/SrAndres629/UltraGent-Mcp.git
cd UltraGent-Mcp

# Instalar dependencias con uv
uv sync

# Configurar API keys
cp .env.example .env
# Editar .env con tus keys

# Ejecutar servidor MCP
uv run main.py

# O solo el servidor MCP
uv run mcp_server.py

📂 结构

Ultragent/
├── main.py              # Entry point orquestado
├── mcp_server.py        # MCP Server v2.0 (24 tools)
├── sentinel.py          # Filesystem watcher
├── router.py            # 4-tier LLM economy
├── librarian.py         # Code indexer (Tree-sitter + ChromaDB)
├── scout.py             # GitHub API harvester
├── evolution.py         # Fitness Scorecard
├── mechanic.py          # Docker sandbox
├── vision.py            # Dependency graph (NetworkX)
├── hud_manager.py       # Dashboard manager
├── probe.py             # API connectivity diagnostic
└── .ai/
    ├── HUD.md           # Control panel
    ├── memory.md        # Architectural decisions
    └── logs/            # Module logs

🛠️ MCP工具

模块 工具
核心 sync_status, get_memory, get_hud
哨兵 get_sentinel_status, clear_sentinel_signals
路由器 route_task, ask_swarm, get_router_status, get_token_usage
图书管理员 search_code, get_file_skeleton, index_file, get_librarian_status
童子军 search_github_repos, get_scout_status
进化论 benchmark_with_github, get_evolution_status
机械师 test_code_securely, get_mechanic_status
愿景 visualize_architecture, get_vision_status
HUD get_full_status, set_mission_goal, export_session

🔑 需要API密钥

关键 目的 达成目标
GROQ_API_KEY 速度等级 console.groq.com
SILICONFLOW_API_KEY 编码层 硅纤维网
GITHUB_TOKEN 侦察层 GitHub设置
GEMINI_API_KEY 战略层 aistudio.google.com

📝 许可证

MIT许可证