Table of Contents

Class AgentDefinition

Namespace
JD.AI.Gateway.Config
Assembly
JD.AI.Gateway.dll

An agent to auto-spawn on gateway startup.

public sealed class AgentDefinition
Inheritance
AgentDefinition
Inherited Members

Properties

AutoSpawn

public bool AutoSpawn { get; set; }

Property Value

bool

FallbackProviders

Ordered list of fallback providers to try when the primary provider is unavailable. Each entry is "provider/model" (e.g. "copilot/claude-sonnet-4-6") or just "provider" (auto-selects first available model).

public IList<string> FallbackProviders { get; set; }

Property Value

IList<string>

Id

public string Id { get; set; }

Property Value

string

MaxTurns

public int MaxTurns { get; set; }

Property Value

int

Model

public string Model { get; set; }

Property Value

string

Parameters

public ModelParameters Parameters { get; set; }

Property Value

ModelParameters

Provider

public string Provider { get; set; }

Property Value

string

SystemPrompt

public string? SystemPrompt { get; set; }

Property Value

string

Tools

public IList<string> Tools { get; set; }

Property Value

IList<string>