24 lines
678 B
JSON
24 lines
678 B
JSON
{
|
|
"name": "conductor_agent_basic",
|
|
"version": 1,
|
|
"schemaVersion": 2,
|
|
"description": "Framework-agnostic Conductor Agents recipe: an AGENT task invokes the deployed 'planner' agent to completion and surfaces its text, output, and state.",
|
|
"tasks": [
|
|
{
|
|
"name": "run_agent",
|
|
"taskReferenceName": "run_agent_ref",
|
|
"type": "AGENT",
|
|
"inputParameters": {
|
|
"agentType": "conductor",
|
|
"name": "planner",
|
|
"prompt": "${workflow.input.prompt}"
|
|
}
|
|
}
|
|
],
|
|
"outputParameters": {
|
|
"text": "${run_agent_ref.output.text}",
|
|
"output": "${run_agent_ref.output.output}",
|
|
"state": "${run_agent_ref.output.state}"
|
|
}
|
|
}
|