Table of Contents

Interface IOrchestrationStrategy

Namespace
JD.AI.Core.Agents.Orchestration
Assembly
JD.AI.Core.dll

Strategy for orchestrating a team of subagents.

public interface IOrchestrationStrategy

Properties

Name

The strategy name (sequential, fan-out, supervisor, debate).

string Name { get; }

Property Value

string

Methods

ExecuteAsync(IReadOnlyList<SubagentConfig>, TeamContext, ISubagentExecutor, AgentSession, Action<SubagentProgress>?, CancellationToken)

Execute the orchestration strategy with the given agents, context, and executor.

Task<TeamResult> ExecuteAsync(IReadOnlyList<SubagentConfig> agents, TeamContext context, ISubagentExecutor executor, AgentSession parentSession, Action<SubagentProgress>? onProgress = null, CancellationToken ct = default)

Parameters

agents IReadOnlyList<SubagentConfig>
context TeamContext
executor ISubagentExecutor
parentSession AgentSession
onProgress Action<SubagentProgress>
ct CancellationToken

Returns

Task<TeamResult>