Jev recipe / implementation steps
Route tasks to the right AI agent with Jev
Choose a specialist or fallback before an agent starts work, using the task and available capabilities as state.
Build this decision in three steps
01Describe the task and available tools without including irrelevant history.
02Ask for the smallest routing Choice that can start the workflow.
03Check confidence and capability before handing control to an agent.
schema / example
{
"agent": {
"type": "choice",
"instructions": "Choose the best agent",
"criteria": {
"research": "Needs web research",
"code": "Needs implementation",
"support": "Needs customer support",
"fallback": "No specialist fits"
}
}
} Copy this into the Playground, then replace the state and criteria with your own.