Skip to main content

Python Agent v2.2.0

September 1, 2026

AI Agent Observability

  • New Added LLM workflow transaction instrumentation.

    • Collects the LLM execution span inside an application transaction as its own transaction.
    Note
  • New Added collection of conversation coordinates (User / Session / Turn).

    • Collects the user ID and session ID automatically from HTTP headers or LLM SDK call arguments.
    • The turn ID is assigned automatically when a transaction starts.
    Note
  • New Added an option to configure the model that performs evaluation.

    Note

    For details, see Evaluation.

  • New Added the llm_prompt_default_version option.

    • Type: String, default: v1
  • New Added active trajectory tracking.

  • New Added active LLM API tracking.

  • New Added automatic instrumentation for the anthropic SDK.

  • New Added automatic instrumentation for langgraph.

  • New Added automatic instrumentation for the hermes-agent gateway.

  • Changed Evaluation span selection now works independently of the global setting and sampling.

  • Fixed Fixed the elapsed time of LLM API steps being collected shorter than the actual value.

  • Fixed Fixed the active gauge being counted lower than the actual value on concurrent LLM calls.

  • Fixed Fixed LLM call counts being lost.

Common

  • New Added the llm_apm_txn_enabled option.

    • Type: Boolean, default: false
    • Enable it to look up LLM transactions from an APM project as well.
  • New Added trace propagation across process boundaries (exec / spawn).

    • Passes transaction link information to child processes so call relationships are connected in multi-process structures.
  • New Added trace context propagation to worker threads (ThreadPoolExecutor).

    • Tasks run through ThreadPoolExecutor.submit are linked to their parent transaction.
  • Fixed Fixed the APM UDP socket being created even when apm_enabled was false.

  • Fixed Fixed instrumentation being lost when a module name set in a pattern option such as hook_method_patterns overlapped an automatic instrumentation target.

  • Fixed Fixed application calls potentially failing when env was passed as a positional argument to subprocess.Popen.

Note

Agent download: whatap-python v2.2.0