AgentNodeConfig
Settings that control Agent Node. Required fields are instructions, model_provider, model.
Agent system instructions
prompts object[]
Reusable Prompt references. Rendered in list order and joined with '\n\n' as the system prefix; inline instructions is appended as a suffix. Empty = inline instructions only.
variables object
{{var}} bindings for the referenced Prompt
- object
- null
LLM provider name
LLM model name
tools object[]
Available tools
- string
- AgentResourceRef
- AgentToolConfig
- object
actors object[]
- string
- AgentResourceRef
- AgentActorConfig
- object
roles object[]
- string
- AgentResourceRef
- object
outputs object
- object
- null
Maximum iteration count
50max_input_tokens object
Maximum input-token budget for the system prompt and conversation history before each model call. The effective limit cannot exceed the selected model's context_window; null uses the D.Hub default.
- integer
- null
Possible values: >= 1
compaction object
Optional per-agent conversation compaction settings. Omit this field to use D.Hub defaults.
- AgentCompaction
- null
Whether conversation compaction is enabled for the agent.
trueFraction of the input-token budget that triggers compaction.
Possible values: > 0 and < 1
0.8Fraction of the input-token budget targeted after compaction. It must be lower than trigger_ratio.
Possible values: > 0 and < 1
0.5Maximum number of tokens allowed in the generated compaction summary. Minimum: 128. Maximum: 8192.
Possible values: >= 128 and <= 8192
1024options object
- object
- null
reasoning_effort object
Default reasoning effort for this agent. A value supplied with an individual request takes precedence; null uses the selected model's default.
- string
- null
Possible values: [low, medium, high, xhigh]
{
"instructions": "string",
"prompts": [
{
"prompt_id": "string",
"variables": {}
}
],
"model_provider": "string",
"model": "string",
"tools": [
"string",
{
"id": "string",
"name": "string"
},
{
"name": "string",
"description": "",
"type": "python",
"function": {
"source": "string",
"inputs": {},
"outputs": {},
"dependencies": [
"string"
],
"decorators": [
{
"decorator": "string",
"name": "string",
"arguments": {}
}
]
},
"require_browser": false,
"options": {}
},
{}
],
"actors": [
"string",
{
"id": "string",
"name": "string"
},
{
"name": "string",
"description": "",
"function": {
"source": "string",
"inputs": {},
"outputs": {},
"dependencies": [
"string"
],
"decorators": [
{
"decorator": "string",
"name": "string",
"arguments": {}
}
]
},
"confirmation_policy": "confirm",
"options": {}
},
{}
],
"roles": [
"string",
{
"id": "string",
"name": "string"
},
{}
],
"outputs": {},
"max_iterations": 50,
"max_input_tokens": 0,
"compaction": {
"enabled": true,
"trigger_ratio": 0.8,
"target_ratio": 0.5,
"summary_max_tokens": 1024
},
"options": {},
"reasoning_effort": "low"
}