Table of Contents

Class SubagentConfig

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

Configuration for a subagent to be executed.

public sealed class SubagentConfig
Inheritance
SubagentConfig
Inherited Members

Properties

AdditionalTools

Optional additional tool plugin names to include.

public IReadOnlyList<string>? AdditionalTools { get; init; }

Property Value

IReadOnlyList<string>

MaxTurns

Maximum number of turns for multi-turn execution.

public int MaxTurns { get; init; }

Property Value

int

ModelId

Optional model preference override.

public string? ModelId { get; init; }

Property Value

string

Name

Unique name for this agent within a team.

public required string Name { get; init; }

Property Value

string

Perspective

Perspective label for debate strategy (e.g., "optimist", "skeptic").

public string? Perspective { get; init; }

Property Value

string

Prompt

The prompt/task for this agent.

public required string Prompt { get; init; }

Property Value

string

SystemPrompt

Optional custom system prompt (overrides the default for the type).

public string? SystemPrompt { get; init; }

Property Value

string

Type

The subagent type controlling tool scoping and system prompt.

public SubagentType Type { get; init; }

Property Value

SubagentType