Skip to main content

Python Agent v2.0.1

April 8, 2026

AI Agent Observability

  • New Added openai library tracing support

  • New Added LLM-specific Metric and Log support

  • New LLM cost (Pricing) calculation — supports per-model input/output token unit price calculation via genai-prices integration (with built-in fallback on failure)

  • New vLLM compatibility — supports Chat Completions / Completions API hooking and delta.text fallback for openai SDK-compatible vLLM servers

  • New Added whatap-llm-setting-config command to automatically create/update LLM mode configuration files

  • New Added 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

  • New Added FastAPI SSE response streaming tracing support

  • New LLM & APM dual agent mode developed

    • apm_enabled Boolean

      • Starts the agent in APM mode

      • license, whatap.server.host

      Caution

      The 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

      Caution

      The license and server address must be entered using the LLM project key.

Note

Agent download: whatap-python v2.0.1