Python Agent v2.0.1
April 8, 2026
AI Agent Observability
-
NewAddedopenailibrary tracing support -
NewAdded LLM-specific Metric and Log support -
NewLLM cost (Pricing) calculation — supports per-model input/output token unit price calculation viagenai-pricesintegration (with built-in fallback on failure) -
NewvLLMcompatibility — supports Chat Completions / Completions API hooking and delta.text fallback foropenaiSDK-compatible vLLM servers -
NewAddedwhatap-llm-setting-configcommand to automatically create/update LLM mode configuration files -
NewAdded LLM tracing options-
llm_api_hosts String
Hosts registered with this option are recognized as LLM API paths. Separate multiple hosts with
,.-
Default: none
-
Example:
localhost:8000,api.openai.com:443
-
-
llm_model_pricing String
Manually set the price per 1M tokens for LLM models. Prices registered with this option take first priority when calculating and storing data.
-
Format:
[model name]|[input token]|[output token]|[cache token] -
Example:
gpt-4o|2.50|10.00|1.25,gpt-4o-mini|0.15|0.60|0.075,my-custom-model|1.00|5.00
-
-
Common
-
NewAddedFastAPISSE response streaming tracing support -
NewLLM & APM dual agent mode developed-
apm_enabled Boolean
-
Starts the agent in APM mode
-
license,whatap.server.host
CautionThe license and server address must be entered using the APM project key.
-
-
llm_enabled Boolean
-
Starts the agent in LLM mode
-
llm_license,llm.whatap.server.host
CautionThe license and server address must be entered using the LLM project key.
-
-
Agent download: whatap-python v2.0.1