Sustainability work involves expert judgments, such as estimating emissions for a bottle of wine or allocating emissions across industrial co-products. In a 2020 study, six experts given the same data about a bottle of wine produced estimates that varied by as much as 50%. Dumit argues that checking an answer alone cannot establish that the method behind it was sound.
Respect The Process
Speaker
Andrew Dumit, an AI engineer at Watershed, explains how his team uses coding agents to edit product supply-chain graphs while keeping those edits traceable and reviewable.
Each product supply-chain graph can contain thousands of nodes with detailed material and processing information. An early React agent used specialized tools to explore and edit one graph, but struggled with consistency and context. Across dozens or hundreds of graphs, it could miss work, consume context, and hallucinate schema details.
Coding agents could loop across graphs, summarize node data with scripts, create visualizations, and handle requests beyond the original design. But unconstrained code sometimes used Python instead of the requested TypeScript or edited graph data directly without leaving lineage. The agent could also claim changes were complete when they were not, and its code was difficult for non-coders to review.
Watershed lets the agent freely write code, while requiring graph edits to pass through a typed TypeScript SDK with defined edit primitives. A deterministic executor lints the code, checks for conflicts, runs it, validates output artifacts, and creates a structured review of the changes. This makes edits traceable and replayable, and gives users a way to inspect the work without reading code.
Watershed's internal evaluation results for complex graph edits improved from about 43% to 92% through prompt and skill changes, examples, better tools, and a plan-and-execute workflow. Dumit says the harness still matters when the agent's answer or the ground truth is uncertain: it can validate the process and present results in a form non-coders can review.
Takeaways
- When experts can reasonably disagree, validate the method as well as the result.
- Give coding agents well-scoped primitives for interacting with external systems.
- Keep final execution under harness control so claimed changes can be checked.
- Turn agent actions into structured artifacts that non-coders can review.
- Use evaluations to guide improvements to prompts, examples, tools, and workflows.
Mentioned in this talk
Search inside this talk
What was claimed 5
- works atAndrew Dumit works at
Watershed Technology Inc.
AI Engineer“I work on AI engineering at Watershed”
YouTube Verified2 sources· Talk, Web· archived
- featureSDK: Provides graph editing primitives and constrains edits to expected typed objects.
“all the edit primitives it needs to make changes to graphs”
YouTube Unverified1 source· Talk
- featureDeterministic execution: Lints agent code, detects conflicts, validates output artifacts, and enables traceable, replayable graph edits.
“The real guarantee comes from the final script we orchestrate”
YouTube Unverified1 source· Talk
- featureagent harness: Produces structured review artifacts so users can inspect agent edits without reading code.
“create a well-structured review artifact that makes it easy to review what the agent did”
YouTube Unverified1 source· Talk
- metriccoding agents: Internal evaluation outcomes for complex edits improved from about 43% to 92%.
“improved outcomes from about 43% to 92% on our internal evals”
YouTube Unverified1 source· Talk













