All Classes and Interfaces

Class
Description
AbortSignal
Agent
Custom builder with automatic tool validation.
AgentConfiguration
AgentConfigurationExample
AgentHandoffExample
AgentHookEvents
AgentHooks
AgentInputItem
AgentOutputItem
AgentOutputType
AgentsError
AgentsError
Span data for agent execution.
AgentSpanData
AgentToolUseTracker
AgentWithTracingExample
AiSdkModel
ApplyPatchTool
ApprovalRecord
AsyncExecutor
AsyncIterable
AsyncLocalStorage
BaseMCPServerSSE
BaseMCPServerStdio
BaseMCPServerStdioOptions
BaseMCPServerStreamableHttp
BasicTextOutputExample
BatchTraceProcessor
Configuration for BatchTraceProcessor
BrowserEventEmitter
CallToolResponse
Client
CloudflareRealtimeTransportLayer
CompleteResponseStreamEvent
ComputerTool
ConsoleSpanExporter
Simple trace processor that prints to console.
ConversionUtils
Span data for custom user-defined events.
DefaultMCPServerStdioOptions
DefineInputGuardrailArgs
DefineOutputGuardrailArgs
Editor
EventEmitter
EventEmitter
EventEmitterDelegate
EventEmitterEvents
EventMap
FullCommandMCPServerStdioOptions
Span data for function/tool calls.
FunctionTool
Span data for LLM generation calls.
GuardrailExecutionError
GuardrailExecutor
 
 
GuardrailFunctionOutput
Span data for guardrail checks.
Handoff
Span data for agent handoffs.
HostedTool
Example demonstrating how to use OpenAI hosted tools.
InitializeResponse
InitializeResult
InputGuardrail
InputGuardrailDefinition
InputGuardrailFunctionArgs
InputGuardrailMetadata
InputGuardrailResult
InputGuardrailTripwireTriggered
InvalidToolInputError
JsonObjectSchema
JsonRpcNotification
JsonRpcRequest
JsonRpcResponse
 
Logger
MaxTurnsExceededError
MCPServer
MCPServerSSE
MCPServerSSE
MCPServerSSEOptions
MCPServerStdio
MCPServerStdio
MCPServerStreamableHttp
MCPServerStreamableHttp
MCPServerStreamableHttpOptions
MCPTool
MCPToolFilterContext
MCPToolFilterStatic
MemorySession - In-memory session storage
MemorySessionExample
Model
ModelBehaviorError
ModelBehaviorError
ModelProvider
ModelRequest
ModelResponse
ModelSettings
ModelSettingsText
MultiTracingProcessor
MultiTurnExecutionExample
NextStep
NodeMCPServerSSE
NodeMCPServerStdio
NodeMCPServerStreamableHttp
No-op span that does nothing.
No-op trace that does nothing.
No-op trace processor that does nothing.
Exception thrown when a method is not yet implemented.
OpenAI
OpenAIChatCompletionsModel
OpenAIProvider
OpenAIRealtimeWebSocket
OpenAIResponsesCompactionAwareSession
OpenAIResponsesModel
OpenAITraceExporter
Exception indicating a retriable error
Retry configuration
OpenAITracingExporter
OutputGuardrail
OutputGuardrailDefinition
OutputGuardrailFunctionArgs
OutputGuardrailMetadata
OutputGuardrailResult
OutputGuardrailTripwireTriggered
 
Partial
ProcessedResponse
ReadableStream
ReadableStreamAsyncIterator
ReadableStreamImpl
RealtimeSessionConfig
RealtimeTransportLayer
RealWorldRunContextExample demonstrates how RunContext would be used in a production e-commerce application with: - Custom context containing user auth, database connections, and services - Tools that access the context to perform operations - Safety mechanisms using tool approval for sensitive operations - Usage tracking for cost monitoring
RequestUsage
ResolvedAgentOutput
ResponseParser
RunAgentUpdatedStreamEvent
RunConfig
RunContext manages execution state for agent runs.
RunContextExample demonstrates the three primary use cases of RunContext: 1.
RunHandoffCallItem
RunHandoffOutputItem
RunHookEvents
RunHooks
RunItem
RunItemBase
RunItemStreamEvent
RunItemUtils
RunMessageInputItem
RunMessageOutputItem
Runner
Input parameters for handoff tool calls.
RunRawModelStreamEvent
RunReasoningItem
RunResult
RunResultBase
RunResultData
RunState
RunStreamEvent
RunToolApprovalItem
RunToolCallItem
RunToolCallOutputItem
SerializationUtils
ServerConversationTracker
Session
SessionMessage
Shell
ShellAction
ShellResult
ShellTool
SingleStepResult
Span
Represents a timed operation within a trace.
SpanData
Base interface for all span data types.
Error information captured in spans.
Constant span type identifiers.
SQLiteSession - Database-backed session storage
SQLiteSessionExample
StreamedRunResult
StreamEvent
StreamingExample
StructuredOutputExample
Data class for weather information.
SystemError
TextDeltaStreamEvent
TextOutput
Timeout
TimeoutError
Timer
Tool
ToolCallError
ToolCallError
ToolExecutionUtils
ToolGuardrailBase
ToolGuardrailBehavior
ToolGuardrailFunctionOutput
ToolGuardrailMetadata
ToolInputGuardrail
ToolInputGuardrailData
ToolInputGuardrailDefinition
ToolInputGuardrailFunctionArgs
ToolInputGuardrailResult
ToolInputGuardrailTripwireTriggered
ToolOutputGuardrail
ToolOutputGuardrailData
ToolOutputGuardrailDefinition
ToolOutputGuardrailFunctionArgs
ToolOutputGuardrailResult
ToolOutputGuardrailTripwireTriggered
ToolUseBehavior
Utility for validating that tools are properly configured for use with OpenAI's function calling framework.
Represents a single end-to-end workflow trace.
TraceContext
TraceContextState
TraceExporter
TraceOptions
Processor for trace and span lifecycle events.
TraceProvider
TracingExample
TracingExporter
TracingProcessor
Utility functions for tracing.
TwilioRealtimeTransportLayer
UnderlyingMCPServerSSE
UnderlyingMCPServerStdio
UnderlyingMCPServerStreamableHttp
UnknownContext
Usage
UserError
WellTypedToolsExample