Jev recipe / implementation steps
AI エージェントワークフローにおける動的タスクルーティング
複数ツールや専門サブエージェントを持つ自律型システムにおいて、後続の実行パイプラインを高速・確実に入替え。
Build this decision in three steps
01ユーザーの要求意図と利用可能なツール群のケイパビリティ一覧を照合用コンテキストにする。
02実行可能な専門エージェントまたは外部 API ツールキーを Choice 選択肢として定義。
03判定信頼度が基準を満たさない場合は、ユーザーへ曖昧さ解消のための追加質問を自動返信。
schema / example
{
"next_agent": {
"type": "choice",
"instructions": "要求を処理する最適な専門エージェントを選択",
"criteria": {
"search": "最新情報やWeb検索が必要な調査クエリ",
"coding": "コードの記述、デバッグ、リファクタリング",
"database": "SQL 実行やデータ集計・分析",
"general": "日常会話や一般的な質問回答"
}
}
} Copy this into the Playground, then replace the state and criteria with your own.