tencentcloud-cls-sdk-hermes
腾讯云 CLS 可观测插件 for Hermes Agent。
自动上报 Trace、Audit、Gateway 事件到腾讯云日志服务(CLS),无需修改 Hermes 核心代码。
功能
- Trace:会话 / 对话轮次 / LLM 调用 / 工具调用
- Audit:LLM 输出 / 工具结果 / 终端命令 / 审批
- Gateway:网关入口消息
- Token 用量(含 cache 命中)与 TTFT
- 值级脱敏(自动隐藏内联密钥)
安装
curl -fsSL https://tencentcloud-cls-sdk-hermes-1254139626.cos.ap-guangzhou.myqcloud.com/tencentcloud-cls-sdk-hermes-install.sh | bash -s -- install \
--endpoint "<your-cls-endpoint>" \
--topic-id "<your-topic-id>" \
--secret-id "<your-secret-id>" \
--secret-key "<your-secret-key>"
卸载
curl -fsSL https://tencentcloud-cls-sdk-hermes-1254139626.cos.ap-guangzhou.myqcloud.com/tencentcloud-cls-sdk-hermes-install.sh | bash -s -- uninstall
环境变量
| 变量 | 必填 | 说明 |
|---|---|---|
HERMES_CLS_ENDPOINT |
✅ | CLS 接入点 |
HERMES_CLS_TOPIC_ID |
✅ | 日志主题 ID |
HERMES_CLS_SECRET_ID |
✅ | 腾讯云 SecretId |
HERMES_CLS_SECRET_KEY |
✅ | 腾讯云 SecretKey |
HERMES_CLS_SERVICE_NAME |
服务名(默认 hermes-agent) | |
HERMES_CLS_ENV |
环境标签(默认 prod) |
License
MIT
Metadata
Release files for tencentcloud-cls-sdk-hermes 1.0.34
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| tencentcloud_cls_sdk_hermes-1.0.34.tar.gz | 29.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tencentcloud_cls_sdk_hermes-1.0.34-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 59.6 kB
Release files / tencentcloud_cls_sdk_hermes-1.0.34.tar.gz
| Download URL | tencentcloud_cls_sdk_hermes-1.0.34.tar.gz |
|---|---|
| Size | 29.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c0656fe0c3a5203697c47a397a1f4eff9df32528a9480fd9b5265c1571597276
|
|
BLAKE2b-256 checksum How to use checksums |
853ab5ba81bacc28c889b78390f7142628c5dbebd42c290eb51fda7251ef5558
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|
Release files / tencentcloud_cls_sdk_hermes-1.0.34-py3-none-any.whl
| Download URL | tencentcloud_cls_sdk_hermes-1.0.34-py3-none-any.whl |
|---|---|
| Size | 30.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
734e1c5263bb9b1d05e135c8f052942862e11adf1d791a2d430fcd7f1b7375e1
|
|
BLAKE2b-256 checksum How to use checksums |
41a003afd9bc41f8658f58469760f0f4daa0bf2b1cb24fa71e7c4365ed7360dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|
Security for tencentcloud-cls-sdk-hermes 1.0.34
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.