
What's new
The Opentrons Flex Python Protocol API reached level 2.27 (2026), adding motor/gripper control, concurrent module actions and transfer start/end locations.
Opentrons makes lab automation affordable and programmable. You write protocols in Python and the robot executes them, bringing software-style reproducibility to the bench.
Example
1from opentrons import protocol_api2requirements = {"robotType": "Flex", "apiLevel": "2.20"}34def run(ctx: protocol_api.ProtocolContext):5 plate = ctx.load_labware("corning_96_wellplate_360ul_flat", "D1")6 tips = ctx.load_labware("opentrons_flex_96_tiprack_200ul", "C1")7 pip = ctx.load_instrument("flex_1channel_1000", "left", tip_racks=[tips])8 pip.transfer(100, plate["A1"], plate["B1"])
Related tools

Open source