AI Assisted Method Writing

Thanks for sharing your thoughts and for mentioning VerisFlow.

In general, getting exactly what we need from an LLM requires context, and that context largely determines the method VerisFlow generates. For a complete, working method, the context needs to be quite detailed. For a library or submethod, it can be simpler.

I’ve made VerisFlow’s tools available through MCP. A few tools use LLMs for generation, modification, and validation; most are deterministic tools that read instrument data, compare method steps, and run simulations. Together, they create a feedback loop that helps the AI gather additional context, check its work, identify issues, and make corrections.

Advanced AI models can handle much of the orchestration, making the workflow simpler and more effective. I’ve tested these MCP tools with both Claude and ChatGPT. Here are two examples.

You can simply ask: “Read the trace log from the last run, find the related method, and try to fix the errors.” The AI confirms the trace log, method, and intended behavior with you, then patches the method, tests it in simulation, and checks the new trace. It repeats the process as needed until the method is ready for review. A step-level diff shows exactly what changed.

Another test I found particularly interesting: I asked GPT-6.1 Sol to review a method and Opus 5.5 to modify it based on the review comments. Over five rounds, the AI modified, added, or deleted specific steps while leaving 84–100% of the existing steps unchanged in each round, gradually moving toward the target.

Depending on the complexity of the method, the full loop—from generation or patching through self-checks, simulation, and trace analysis—takes anywhere from about ten minutes to several tens of minutes.

3 Likes

The deck layout point stands out to me. A visual editor for where labware physically sits seems genuinely useful, independent of how the method logic gets written. It separates the spatial problem from the procedural one, and that split probably matters more than GUI versus code as a binary. I’d also guess the ‘GUI is easier’ perception is partly a training-data problem: there’s far more Venus documentation and tribal knowledge in circulation than Python examples for these platforms, so beginners get more scaffolding either way. Once Python method libraries mature, that gap may narrow on its own.

I recently came across this Google paper on AI-driven laboratory automation, and it really caught my attention.

The idea of combining AI agents with a semantic digital twin to enable safer, more autonomous laboratory operations is fascinating. I believe this could be a major direction for the future of laboratory automation.

1 Like