Table of Contents

Enum OrchestrationStreamTokenType

Namespace
LMKit.Agents.Orchestration.Streaming
Assembly
LM-Kit.NET.dll

The type of orchestration streaming token.

public enum OrchestrationStreamTokenType

Fields

Content = 0

Regular content text from an agent.

Thinking = 1

Thinking or reasoning text.

ToolCall = 2

Tool call notification.

ToolResult = 3

Tool result notification.

AgentStarted = 4

An agent has started execution.

AgentCompleted = 5

An agent has completed execution.

Delegation = 6

Delegation from one agent to another.

Status = 7

Status or progress update.

Error = 8

Error message.

OrchestrationStarted = 9

Orchestration has started.

OrchestrationCompleted = 10

Orchestration has completed.

Examples

Filtering an orchestration stream to only the visible content:

using LMKit.Agents.Orchestration.Streaming;

await foreach (var t in orchestrator.StreamAsync("Topic: edge AI")) { if (t.Type == OrchestrationStreamTokenType.Content) { Console.Write(t.Text); } }

Share