# Autocomplete for Actions: System One from the UI to the DB

Scott Roberts, Workday | AI Engineer CODE 2026 | 12:27

Source: https://www.youtube.com/watch?v=5hhlNHRVxB4
Channel: AI Engineer (https://www.youtube.com/@aiDotEngineer). Summarised by AIE Talks.
Page: https://aietalks.com/talks/autocomplete-for-actions-system-one-from-the-ui-to-the-db
Published: 2026-11-28
Tags: latency, search, structured-outputs, workflows

## TL;DR
- Jev can classify a user's intent as they type and select an action card before a full LLM workflow is needed.
- Workday uses Jev to turn short requests such as checking pay, booking time off, and finding a person into progressively filled interfaces.
- Jev can run as a database function in DuckDB, scoring every resume against a natural-language condition without embeddings or a vector database.

## Summary
Scott Roberts describes Workday's experiments with Jev as a fast, inexpensive System One model for HR and finance tasks. He separates quick requests, such as checking pay or booking time off, from deeper work such as searching a large set of resumes. For quick requests, Jev predicts intent while the user types and selects an action card. The card's owning team then defines the questions needed to complete the task. Roberts also shows Jev inside DuckDB, where a SQL function scores resumes against a natural-language query. This removes the embedding, vector database, retrieval, and reranking steps from the demonstrated pipeline. The examples are demos with synthetic data and are not in production. Roberts reports 96% accuracy in an initial seven-card evaluation, with a chat fallback when no card matches, and shows a query over 117 records completing in 2.3 seconds.

## Key ideas
### Agent loops waste expensive intelligence on simple decisions
[00:59](https://www.youtube.com/watch?v=5hhlNHRVxB4&t=59s)
Roberts describes an agentic loop that receives a request, decides what to do, runs tools, judges the result, and repeats. Each step can require an LLM call. He argues that this applies slow, expensive System Two reasoning to decisions that often need a quick classification. LLMs can also be the wrong tool for the job. Workday wants a model that is fast, smart, easy to use, general, and very cheap for these decisions.

### Jev reduces many decisions to conditional classification
[02:10](https://www.youtube.com/watch?v=5hhlNHRVxB4&t=130s)
Roberts explains a Jev-like model as a conditional: if something happens, something else should happen. Its primitives include probabilities, categories, and a scoring mechanism that sorts by probability. He compares this with conventional classifiers, which require a golden dataset, training, and repeated iteration as new data arrives. In Workday's experiments, Jev worked directly on new questions without that setup. He gives a simple example with a fish: the answer changes when the context changes from a fish in a bowl to a fish on a plate.

### Action autocomplete predicts the task instead of only the words
[04:40](https://www.youtube.com/watch?v=5hhlNHRVxB4&t=280s)
Ordinary autocomplete predicts the question or the next block of code, but it does not help finish the task. Workday's demo moves from predicting what a user wants to say to predicting what the user wants to do. A request for time off produces an interface for the relevant dates. A pay request opens a payslip interface. A meeting request progressively fills in the date, time, and boss. A request to find someone opens that person's contact options.

### Intent prediction and card completion are separate responsibilities
[07:18](https://www.youtube.com/watch?v=5hhlNHRVxB4&t=438s)
Because Jev is fast and cheap, Workday can run it at a type-ahead cadence while the user is entering words. Jev first selects the action card that matches the intent. The team responsible for that domain defines the questions that progressively fill the card. Workday evaluates cards before merging them so that they do not collide with existing cards. In an initial experiment with seven cards and a chat fallback, Roberts reports 96% accuracy.

### Jev can replace a retrieval pipeline for resume filtering
[08:33](https://www.youtube.com/watch?v=5hhlNHRVxB4&t=513s)
For recruiter search, Roberts contrasts the older pipeline of embeddings, a vector database, retrieval, and reranking with a direct database function. Workday can store resumes in a database, query them in natural language, and iterate over each record to calculate how well it matches the requested criteria. The demo uses DuckDB and orders results by a Jev-generated probability score. It does not require training or embedding the resumes.

### Database scoring handles lexical traps with semantic conditions
[10:37](https://www.youtube.com/watch?v=5hhlNHRVxB4&t=637s)
Roberts tests the resume query with an adversarial condition: whether a person is qualified to do plumbing. Many synthetic machine-learning resumes contain the word 'pipeline', which could produce misleading results in a lexical search because pipelines can refer to data or AI. Jev assigns very low probabilities to the matching resumes, allowing them to be filtered out. The demonstrated query scores 117 records in 2.3 seconds with almost no query cost.

## Notable quotes
- "We want something that is fast, smart, easy to use, it's generalized and it's very, very cheap." (01:42)
- "What we want to do is move from just predicting the word or the next block of code and actually help you finish the task." (05:18)
- "The first step is getting people in the front door, getting the right card up, and then the second one is making sure that you fill in that card to help them accomplish the tasks that they're after." (07:57)
- "What I can do is just do a function on my database." (09:38)
- "We went over 117 records. We had 2.3 seconds of wall time and spent almost nothing on this query to just iterate over everything." (11:20)

## Tools & references mentioned
- Workday
- Jev
- Sana
- DuckDB
- Quinn reranker

## Who should watch
- You are building an agentic workflow and want to remove LLM calls from simple intent decisions.
- Your product needs to turn typed requests into action-specific interfaces before a user waits for a full agent response.
- You are evaluating semantic filtering over database records and want to compare direct scoring with embeddings and vector search.

## Related talks

- [Stop Paying LLM Prices for Yes-or-No Answers](https://aietalks.com/talks/stop-paying-llm-prices-for-yes-or-no-answers) (Chinmay Goyal, Glean, 16:05)
- [12-Factor Agents: Patterns of Reliable LLM Applications](https://aietalks.com/talks/12-factor-agents-patterns-of-reliable-llm-applications) (Dex Horthy, HumanLayer, 17:06)
- [Building a Chess Coach](https://aietalks.com/talks/building-a-chess-coach) (Anant Dole & Asbjørn Steinskog, Take Take Take, 18:22)
- [BotDojo Launch: Enhancing AI Assistants with Evaluations and Synthetic Data](https://aietalks.com/talks/botdojo-launch-enhancing-ai-assistants-with-evaluations-and-synthetic-data) (Paul Henry, BotDojo, 05:47)
- [AI Engineering at Jane Street](https://aietalks.com/talks/ai-engineering-at-jane-street) (John Crepezzi, Jane Street, 16:57)
