AgentDef Type
Parsed agent definition loaded from JSON configuration. References tools and sub-agents by name; resolved at build time.
Record fields
| Record Field |
Description
|
Full Usage:
Description
Field type: string
|
Human-readable description of the agent's purpose
|
Full Usage:
IsAsync
Field type: bool
|
When true, selecting this agent runs the turn as a background task (a spawned sub-session conversation) rather than inline; the turn returns a task token.
|
Full Usage:
MaxRounds
Field type: int
|
Maximum orchestration rounds before forcing a response
|
Full Usage:
Model
Field type: string
|
Model identifier (e.g. "llama3", "gpt-4o")
|
Full Usage:
Name
Field type: string
|
Unique name identifying this agent definition
|
|
LLM completion options (temperature, max tokens, etc.)
|
Structured prompt defining the agent's behavior
|
|
|
Where this agent definition came from (populated by the loading source).
|
Full Usage:
Provider
Field type: string
|
LLM provider name (e.g. "ollama", "openai", "anthropic")
|
Full Usage:
SubAgents
Field type: string list
|
Sub-agent names for delegation (resolved from workspace)
|
Full Usage:
Tools
Field type: string list
|
Tool names this agent can invoke (resolved from workspace)
|
Full Usage:
Version
Field type: string option
|
Optional version identifier (e.g. "1.0"). None = unversioned; matches any requested version.
|
Nao