850 B
850 B
title, type, tags, sources, last_updated
| title | type | tags | sources | last_updated | |||
|---|---|---|---|---|---|---|---|
| ToolStreaming | concept |
|
2026-04-20 |
Overview
ToolStreaming 是 Hermes Agent 在流式响应模式下,通过 API Server 向客户端实时推送工具执行进度信息的功能。当 Agent 调用工具(终端、文件操作、网页搜索等)时,对应工具的 emoji 和关键参数会作为内联标记在最终回复前插入到流中。
How It Works
- Agent 执行工具时,立即将工具标记(如
`💻 ls -la`)写入响应流 - 工具标记在流中出现早于最终回复
- 用户可见 Agent "正在做什么",提升透明度
Example Output
`💻 ls -la` `🔍 Python 3.12 release` `📁 read_file src/main.py` ...
[最终回复正文]