Skip to content

Repository files navigation

Hermes Agent — Quant + Legal + DevOps

Profile Distribution: hermes profile install github.com/lybang972314/hermes-agent --alias hermes

一个量化交易 + 刑辩法律 + 建筑规范 + 系统运维的主动智能体 Hermes Agent 配置。

核心特点

  • 7 步操作反射 — 分类→判断工具→检查→规划→小步执行→验证→报告(见 SOUL.md)
  • 143 个技能 — 涵盖量化交易、法律分析、建筑规范、金融数据、代码审查等
  • 18 项顶级配置 — auxiliary 分任务路由、compression 0.5、memory 16K、fallback_model、session_reset
  • MCP 服务器 — Peekaboo(桌面控制)、AnySearch(搜索)、CN-Financial-Scraper(金融)、OfficeCLI、Graphiti(知识图谱)
  • Pi agent 集成 — 通过 pi_dispatch.sh 实现 Hermes → Pi 编码流水线
  • 声明式陷阱引擎traps.json + process_trap_check.py
  • 安全 — tirith 命令扫描、secrets 红act、guardrails

快速开始

# 安装
hermes profile install github.com/lybang972314/hermes-agent --alias hermes

# 配置 API key
hermes config set DEEPSEEK_API_KEY sk-your-key

# 开始使用
hermes chat

依赖

变量 必需 默认
DEEPSEEK_API_KEY
OPENAI_API_KEY ""
LONGCAT_API_KEY ""

配置文件结构

~/.hermes/
├── SOUL.md                # 代理身份和操作反射
├── config.yaml            # 主配置(秘密已剥离)
├── distribution.yaml      # 分发表单
├── .gitignore             # 排除敏感文件
├── AGENTS.D/              # 协议文档
├── instincts/             # 本能规则
├── rules/                 # 域隔离规则
├── skills/                # 143 个 SKILL.md
├── cron/                  # 定时任务
├── contracts/             # 数据流契约
├── mcp_config.yaml        # MCP 服务器配置
└── mcp_servers/           # MCP 实现

路线图

  • Profile Distribution 基础结构
  • SOUL.md 操作反射
  • 顶级 config.yaml 设置
  • Pi 进化系统 Phase 3(熔断 Fast Loop)
  • Pi 进化系统 Phase 4(pi_evolution.py 慢循环)
  • system_health.py check #10

灵感来源

About

Hermes Agent profile distribution: quant trading + legal + devops. Operating-reflex agent, verification-first.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages