Use Fast Decisions for the Routine Parts of Agent Workflows

UiPath combines fixed steps, Jev decisions, and deeper agents, then uses evaluations to discover faster reranking and email-classification designs.

CVChibi VikramSpeaker · EngineerKBKevin BernsteinSpeaker · Solution Architect
Channel
AI Engineer
Published
Dec 2, 2026
Video
15:43
Read
5 min
Slides
4
Original
English
Open on YouTube
Scroll to read and the video shrinks to the bottom-right corner. Captions follow your reading language.
Reading languageAvailable in 2 languages
You're reading the original English.
SUMMARY

In 30 seconds

Not every automated decision needs a general-purpose language model. UiPath’s Chibi Vikram and Kevin Bernstein combine deterministic steps with fast Jev decisions and reserve deeper agent investigation for cases that need more evidence. In a fraud demonstration, a $48,000 transaction triggers parallel checks, an API investigation, and a proposed human review. Separately, an overnight search over reranking strategies produced a tournament of many fast model calls; another experiment used a larger model to design email categories and Jev to classify incoming messages. The performance figures are the speakers’ reported results for their tests and uses.

  1. 1Keep predictable steps fixed and place model decisions where judgment is neededVikram contrasts deterministic automation with a single agent given an entire task. The proposed flow uses quick bounded decisions and calls deeper reasoning when the workflow requires it.
  2. 2A fraud workflow escalates when the fast decision lacks evidenceIn a $48,000 transaction demonstration, Jev first signals that more information is needed. A second agent queries a bank API, and the speakers say a human would normally review the result before an account is frozen.
  3. 3An overnight search finds a tournament for ranking passagesGiven a reranking evaluation set and Jev APIs, the team ran a 14-hour search. It produced a strategy that compares groups of passages and advances their winners through successive rounds.
  4. 4Many fast model calls can still complete in under a secondVikram reports that the tournament used thousands of Jev calls and achieved a 15-fold speed increase in the team’s live-index tests. Those figures describe their experiment.
  5. 5Use a larger model to develop categories, then classify new emails with JevThe team iteratively revises proposed categories after classifying a mailbox. Once the categories fit, the workflow can route incoming messages without a large-model call for each classification.

Takeaways

  1. Use deterministic code for predictable control flow and reserve model calls for decisions that require judgment.
  2. Escalate cases with insufficient evidence to deeper investigation and retain human review for consequential actions.
  3. Give an automated search an evaluation set and compare alternative arrangements of model calls, not just individual models.
  4. For email routing, use a larger model to develop categories and a fast classifier for repeated decisions once the categories are set.
FULL TEXT

Read the edited text by chapter

Transcript only
01

Choose the right kind of decision for each step

The speakers contrast deterministic automation, fast bounded decisions, and deeper agent reasoning. Their goal is to combine those approaches in one process.

Chibi Vikram and Kevin Bernstein of UiPath argue that not every step in an automated process needs a general-purpose language model. UiPath’s orchestration layer coordinates software agents, robots, and people across processes that can run for days or weeks.

Traditional robotic process automation follows a predetermined sequence of rules. A single agent given a goal and tools can handle open-ended work, but its results vary and need evaluation. The speakers describe a middle approach: keep control flow deterministic where possible and insert explicit model decisions at the points that need judgment.

Vikram places Jev, a fast decision model, between a fixed rule and a more open-ended agent. UiPath has tested it for bounded questions and found it can make decisions quickly and in parallel, although he does not claim it replaces a full language model.

Bernstein describes the division as fast “system one” decisions and deeper “system two” investigation. In UiPath Maestro Flow, a quick model can decide whether a transaction looks suspicious; when the evidence is insufficient, a more deliberate agent can call tools and investigate.

02

A fraud report triggers fast checks and a deeper investigation

A $48,000 demonstration transaction triggers checks over recent activity. When the initial evidence is insufficient, the flow calls an investigating agent and leaves a human review step.

In the demonstration, a bank customer flags an unexpected $48,000 transaction. That report triggers a flow that runs the relevant checks and coordinates the next steps across multiple nodes.

Fraud investigation workflow
SLIDE 1 / 4Fraud investigation workflowThe demo canvas combines fast Jev decisions, deeper agents, and a review path for a reported transaction.

One branch retrieves the 60 most recent card transactions and asks Jev to assess each individually. In the example it flags about four as suspicious, with the individual decisions taking fractions of a second.

In parallel, another branch asks whether the $48,000 transaction has enough evidence to decide if it is fraud. The initial result indicates more information is needed, so the workflow invokes a deeper agent rather than forcing an early conclusion.

The investigating agent calls a bank API and finds that the payee account was created earlier that day on a phone. The workflow asks the fast model again, combines its assessment with the transaction findings, and produces a fraud score of 4.97 on a five-point scale in this demonstration.

Bernstein says a human would normally review the fast and deeper investigation logs before taking action such as freezing an account. He reports that customers replacing some conventional LLM calls with Jev have seen roughly 50 times the speed and 7.1 times lower cost; these are the results he cites for that use.

03

An overnight search discovers tournament reranking

The team uses existing evaluation sets to test alternative ways to rank retrieved passages. The resulting tournament compares groups and advances winners across rounds.

The team is also testing Jev within UiPath products. One example is reranking: after a retrieval system finds documents, a second step chooses the passages most relevant to a question before supplying them to a language model as context.

Vikram says the team already had evaluation sets for reranking. They gave an automated search process the reference score and access to Jev APIs, then let it try alternative strategies overnight for about 14 hours, retaining changes that improved the score.

Reranking strategies found by search
SLIDE 2 / 4Reranking strategies found by searchThe team compares several arrangements of Jev calls using a reranking evaluation, including a tournament.

He says a single broad comparison scored 0.866 on the team’s reranking evaluation, while repeated experiments produced a tournament strategy scoring 0.889. The lesson, in his view, is that the way a model is arranged and called can change the performance of the overall system.

The tournament divides candidate passages into groups and compares them to select local winners. Winners advance into later rounds, where they compete again until the system finds the most relevant passages. It uses many Jev calls rather than one large ranking decision.

Vikram says the team ran thousands of calls in under a second and saw a 15-fold speed increase in its tests. The slide reports a 0.889 tournament score at 819 ms median versus a 0.901 LLM score at 12.1 seconds, showing the quality–latency trade-off in that evaluation.

Tournament quality and latency
SLIDE 3 / 4Tournament quality and latencyThe comparison shows the tournament’s evaluation score and median latency alongside the LLM baseline.
04

Classify millions of emails without a large-model call for each new message

A language model proposes categories, while Jev classifies messages and helps expose categories that need revision. Once the categories are set, the flow uses the fast model for new mail.

A second application is classifying large support inboxes. Vikram says customers may have millions of emails and need meaningful categories before they can analyze patterns or route work. Previously, creating a fine-tuned classifier for a mailbox could take hours or a day.

Building email categories
SLIDE 4 / 4Building email categoriesThe workflow uses a language model to propose categories and Jev to classify messages before categories are revised.

Their experimental approach first asks a language model to propose categories, such as an initial set of 15. Jev then classifies the mailbox; the team inspects which categories are too full, too sparse, or unused and asks the language model to revise them.

Because the fast model is inexpensive in their setup, they can repeat the classification and category revisions. Different mailboxes need different categories, so the loop aims to fit the taxonomy to the actual messages instead of assuming one fixed list works everywhere.

Once the categories are established, Vikram says a new incoming email can be classified using Jev without calling the larger language model for that step. A Maestro flow can route or notify the appropriate team according to the chosen category.

05

Share patterns and keep experimenting

Vikram encourages builders to test and share new ways of combining the decision model and workflow orchestration.

Vikram describes the team sharing newly discovered patterns as they experiment with Jev. He encourages others to test and exchange strategies, and the speakers invite the audience to try UiPath Maestro Flow.

More from this channel

4 slides27:21EN
AI Engineer· Dec 1, 2026George Fraser: Give AI Agents a Map of Your Business DataGeorge Fraser · FivetranFivetran’s CEO argues that AI agents need the cleaned data and business definitions already maintained by data teams.Natural-language database queriesData quality & curationAI agents+2
4 slides29:13EN
AI Engineer· Dec 1, 2026Mihail Eric: Building Sales Judgment Into AgentsMihail Eric · MonacoMonaco pairs sales data and evolving memory with expert-guided evaluations, then embeds salespeople in the product team to refine its agents.Enterprise AIAgent memoryAgent engineering+2
3 slides29:31EN
AI Engineer· Nov 30, 2026Sydney Runkle: Proactive Agents Must Learn When to Stay QuietSydney Runkle · LangChainAgents that pursue goals can overwhelm their users. Runkle outlines how memory and review interfaces can make their interruptions useful.Personal agentsAgent memoryAgent engineering+2
4 slides27:30EN
AI Engineer· Nov 30, 2026Netflix Learned That Connecting AI Tools Can Make Answers ClashUtkarsh Shrivastava · NetflixUtkarsh Shrivastava explains how evaluations, data owners and user context help an assistant choose among overlapping sources.Enterprise AIAI platform engineeringMCP+2
4 slides26:53EN
AI Engineer· Nov 29, 2026Scott Tolinski: AI Coding Makes It Harder to Stop WorkingScott Tolinski · SyntaxA developer survey and Tolinski’s experience point to longer hours, pressure to produce and fatigue from managing parallel agents.Coding agentsMental HealthWork-Life Balance+1
4 slides26:36EN
AI Engineer· Nov 29, 2026Frank Coyle: Let AI Agents Propose, and Ontologies Set the LimitsFrank Coyle · UC BerkeleyA shared vocabulary and checks around tool calls can give probabilistic AI agents clearer boundaries.Knowledge graphsAgent engineeringSafety & governance