agentevals icon indicating copy to clipboard operation
agentevals copied to clipboard

Treat invoke_runner roots as turn anchors

Open krisztianfekete opened this issue 4 weeks ago • 0 comments

Under semconv-genai#571, the root span of ADK and OpenAI Agents Runner.run changes from invoke_workflow to invoke_runner. Today classify() puts that root in the OTHER bucket, so a handoff splits into two turns.

Changes needed:

  • [ ] Classify invoke_runner (or whatever single entrypoint value upstream settles on) as an agentic anchor.
  • [ ] Only count gen_ai.agent.name as an agent in Turn.agents when the operation is invoke_agent, since it now also holds workflow and runner names.
  • [ ] Drop the gen_ai.workflow.name fallback for label.
  • [ ] Update the ADK v2 fixtures and expected results, the kagent contract imports, and docs

Blocked on upstream PR merging.

krisztianfekete avatar Nov 02 '26 14:11 krisztianfekete