Goodbye Slop; Welcome Determinism | David Khourshid at Agent Conf 2026 @CallstackEngineers
Goodbye Slop; Welcome Determinism | David Khourshid at Agent Conf 2026  @CallstackEngineers
Uploaded September 2026 | Updated November 2026, 2 hours ago
Agent rules hidden inside a long prompt become harder to inspect, test, and trust as the context grows. David Khourshid shows how explicit state machines can make agent behavior observable while leaving room for models to handle the work that should remain flexible.

Using an email-drafting agent, David separates deterministic rules from open-ended generation, then compares a prompt-driven workflow with a graph of allowed states and transitions. The graph becomes a durable artifact for tracing behavior, evaluating both states and edges, and letting another agent propose and test improvements to the workflow itself.

In this talk:
- What deterministic behavior means for an agent
- How unstructured delegation creates avoidable failures
- Separating fixed rules from generative work
- Why control flow should not live only inside a prompt
- Modeling an email agent as a state machine
- Evaluating states, transitions, and complete outcomes
- Using traces to let an agent improve its own workflow

Chapters:
00:00 Introduction
01:19 State machines and deterministic behavior
02:11 From infant loops to graphs
03:00 Graphs in agent engineering
03:45 Where agent slop comes from
04:44 Defining determinism
05:17 The email-drafting example
06:12 Control flow inside a mega-prompt
08:07 An explicit state machine
09:05 Live demo: drafting and sending an email
10:35 Modeling replaces confusion
11:42 Inspectable structure and observability
12:21 Evaluating states, outcomes, and edges
13:23 Asking an agent to improve the machine
14:11 Version two of the workflow
15:33 The minimal execution loop
16:24 Create, observe, improve, compare
17:18 Related work
18:00 From guardrails to self-improvement
18:45 Espresso-machine demo
20:20 Closing

David Khourshid is the founder of Stately and the creator of XState.

Agent Conf brought engineers and builders together in Warsaw, Poland, on September 17 and 18, 2026 to explore the agentic way of building software.

See you at another Agent Conf 🎟️ clstk.com/4rrdiXJ
Follow Agent Conf on X to stay up to date 🐦 https://x.com/AgentConf
Check out Callstack content 📚 clstk.com/4hgag3F

#AgentConf #AgenticDevelopment #AIAgents
Goodbye Slop; Welcome Determinism | David Khourshid at Agent Conf 2026The Past, Present & Future of Nitro | Marc Rousavy at React Universe Conf 2025How Cursors Browser Experience Shaped Grok Bot: Nick Miller InterviewReact Native 0.84 and other newsImplementing an Android TurboModule from ScratchNo Token Budget: Agentic Software Factories on Kubernetes | Carl Ross at Agent Conf 2026Building a Video Experience with React Native: Lessons from Early Adoption with  Eugene VerichevDrunk with power from AI coding?Performance Comparisons in Brownfield React Native Projects by Mohit KarekarComposition Is All You Need | Fernando Rojo at React Universe Conf 2025Stability, Platform Expansion, and Brownfield Adoption With Chris Trag & Steven MoyesA Deep Dive into Openclaw and React Native News
Callstack |

Goodbye Slop; Welcome Determinism | David Khourshid at Agent Conf 2026

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER