Break on your flow's nodes and step through your script code from the Flow Builder extension — against real runs on a development environment, not a simulation.
Debug a deployed project the way you debug any application.
KeenAgents ships two debuggers, and you drive both from the Flow Builder extension in your IDE — for example, VS Code. One is for the flow graph (breakpoints on nodes) and one is for your script code (ordinary line breakpoints). During development you deploy your project to a development environment, set breakpoints, and run a conversation; when the run reaches a breakpoint it pauses and control passes to your IDE.
This is a real debugger over real runs, not a replay or a simulator: the values you see are the actual data flowing through the conversation at that moment. The flow debugger stops on the nodes you mark; the script debugger steps through your JavaScript line by line. Together they turn "the answer came out wrong" into a breakpoint you can stop on and read.

A node marked with a breakpoint — the run pauses here when it's about to execute.


The flow debugger paused: the active node glows as the run stops on it — hit continue to step to the next marked node.

The script debugger: ordinary line breakpoints, stepping through your own script code line by line.
Not just scripts — the whole flow, including agent nodes.
Breakpoints cover the whole flow, even though each node runs in its own isolated sandbox — there are two debuggers, one for the node graph and one for your code:
The live state a paused run exposes.
The shape of a debugging session.
Keen Agents 2026
Documentation
Release 15