Class HandoffSpanData

java.lang.Object
ai.acolite.agentsdk.core.tracing.HandoffSpanData
All Implemented Interfaces:
SpanData

public final class HandoffSpanData extends Object implements SpanData
Span data for agent handoffs.

Captures agent-to-agent transitions during multi-agent conversations, including the source agent, destination agent, and handoff reason.

Ported from TypeScript OpenAI Agents SDK Source: tracing/spans.ts

  • Constructor Details

    • HandoffSpanData

      public HandoffSpanData()
  • Method Details

    • getType

      public String getType()
      Description copied from interface: SpanData
      Get the span type identifier. Used for serialization and type discrimination.
      Specified by:
      getType in interface SpanData
      Returns:
      Span type (e.g., "agent", "generation", "function")