Class AgentSpanData

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

public final class AgentSpanData extends Object implements SpanData
Span data for agent execution.

Captures metadata about an agent's configuration and capabilities during execution, including available tools, handoffs, and output schema.

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

  • Constructor Details

    • AgentSpanData

      public AgentSpanData()
  • 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")