| name | cli-anything-hiagent |
| description | Command-line interface for HiAgent Python SDK - Observe service (API Token, Trace Spans) via CLI |
cli-anything-hiagent
Command-line interface for the HiAgent Python SDK built by Hiagent. This CLI provides programmatic access to HiAgent's Observe service, including API Token management and Trace/Span observability.
Installation
pip install cli-anything-hiagent
Installation from source
uv pip install -e agent-harness
Prerequisites:
- HiAgent Python SDK (
hiagent-api, hiagent-components)
- Volcano Engine credentials (request signing)
VOLC_ACCESSKEY / VOLC_SECRETKEY environment variables, or
~/.volc/.env
Configuration
Set up credentials using environment variables:
export VOLC_ACCESSKEY="..."
export VOLC_SECRETKEY="..."
export HIAGENT_TOP_ENDPOINT="https://open.volcengineapi.com"
Observe Commands
Observe service for API Token management and Trace/Span observability:
cli-anything-hiagent observe token create \
--workspace-id ws-123 \
--custom-app-id app-456
cli-anything-hiagent observe trace list \
--workspace-id ws-123 \
--page-size 10 \
--sort-by StartTime \
--sort-order Desc
cli-anything-hiagent observe trace list \
--workspace-id ws-123 \
--page-size 20 \
--last-id last-doc-id \
--sort-by Latency \
--sort-order Asc