
以性能为核心的Hermes Agent分支,包含并排基准测试、Turbo Score、性能仪表盘和代币节省报告。
概览
🌍 语言:🇬🇧英语 |🇧🇷葡萄牙语 |🇪🇸西班牙语 |🇫🇷法语 |🇩🇪德语 |🇮🇹意大利语 |🇯🇵 日本語 |🇰🇷 한국어 |🇨🇳 简体中文 |🇷🇺 Русский |🇵🇱 波兰 |🇮🇳 हिन्दी |🇸🇦 العربية |🇮🇱 עברית |🇮🇩 印尼语 |🇲🇾马来语 Hermes 代理的可执行安装与性能优化技能。它是一个过程,而非可执行分支:它测量活跃的 Hermes 路径,应用最小的兼容变更,测试它,只有在有证据支持时才保留。 目标是位于 ${HERMES_HOME:-$HOME/.hermes} 的活跃捆绑。该技能不得无声修改源检验、丢弃用户状态、破坏提示缓存、添加遥测数据,或声称实际路径未测量到的基准提升。 每次运行都会创建回滚点,记录基线,应用有界变更,运行回归测试,重复基准测试,并报告修改文件、备回状态和回滚指令。
概述(AI 翻译)
🌍 语言: 🇬🇧 英文 | 🇧🇷 葡萄牙人 | 🇪🇸 西班牙语 | 🇫🇷 法语 | 🇩🇪 德语 | 🇮🇹 意大利语 | 🇯🇵 日本語 | 🇰🇷 한국어 | 🇨🇳 简体中文 | 🇷🇺 Русский | 🇵🇱 波兰 | 🇮🇳 हिन्दी | 🇸🇦 العربية | 🇮🇱 עברית | 🇮🇩 印尼语 | 🇲🇾 马来语
Hermes 代理的可执行安装与性能优化技能。它是一个过程,而非可执行分支:它测量活跃的 Hermes 路径,应用最小的兼容变更,测试它,只有在有证据支持时才保留。
1.范围与安全性
目标是${HERMES_HOME:-$HOME/.hermes}的活动捆绑。技能不得无声修改源检出、丢弃用户状态、破坏提示缓存、添加遥测,或声称实际路径未测量的基准增益。
每次运行都会创建回滚点,记录基线,应用有界变更,运行回归测试,重复基准测试,并报告修改文件、备回状态和回滚指令。
2.性能模块
快速 JSON 和类型化合同
使用内部字节优先适配器,顺序如下:
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Hermes Turbo Agent
🌍 Languages: 🇬🇧 English | 🇧🇷 Português | 🇪🇸 Español | 🇫🇷 Français | 🇩🇪 Deutsch | 🇮🇹 Italiano | 🇯🇵 日本語 | 🇰🇷 한국어 | 🇨🇳 简体中文 | 🇷🇺 Русский | 🇵🇱 Polski | 🇮🇳 हिन्दी | 🇸🇦 العربية | 🇮🇱 עברית | 🇮🇩 Bahasa Indonesia | 🇲🇾 Bahasa Melayu
Executable installation and performance-optimization skill for Hermes Agent. It is a procedure, not an executable fork: it measures the active Hermes path, applies the smallest compatible change, tests it, and keeps it only when evidence supports it.
1. Scope and safety
The target is the active bundle at ${HERMES_HOME:-$HOME/.hermes}. The skill must not silently modify a source checkout, discard user state, break prompt caching, add telemetry, or claim a benchmark gain that was not measured on the real path.
Every run creates a rollback point, records a baseline, applies a bounded change, runs regression tests, repeats the benchmark, and reports modified files, fallback status, and rollback instructions.
2. Performance modules
Fast JSON and typed contracts
Use an internal bytes-first adapter with this order:
orjsonfor ordinary JSON dictionaries, lists, tool results, and cache payloads;msgspeconly for stable typedStructcontracts such as fixed envelopes;- Python
jsonas the universal fallback.
The adapter must preserve str/bytes behavior, Unicode, invalid-payload errors, non-serializable values, and compatibility with existing dictionaries. It must never replace flexible parsing with a typed contract without tests.
Native streaming parser
The Simplicio Agent comparison added a PyO3 hermes_fast extension for incremental JSON/tool-call parsing. Hermes Turbo may build it with maturin, but it remains optional and must have a json.JSONDecoder.raw_decode fallback.
The FFI boundary is not free. On the measured macOS Python 3.11 path, small payloads were faster with stdlib; payloads around 1 KiB and larger favored Rust. Use a target-specific size threshold and re-benchmark after changing Python, Rust, or the extension.
Async event loop
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add wesleysimplicio/hermes-turbo-agent