← Về thư mục
Upstream Sources
This skill snapshot was verified on 2026-07-23. Opentrons publishes robot
software, the desktop/touchscreen Apps, the Python package, and Protocol API
levels on related but distinct release cycles. Recheck time-sensitive facts
before generating a production protocol.
Verified Baseline
- Stable PyPI package:
opentrons==9.1.1, released
2026-07-13, requiring Python 3.10 or newer. This package targets the current
Flex release line and implements Protocol API 2.29.
- Local OT-2 API 2.28 compatibility simulation uses
opentrons==9.0.0, the
last shared PyPI release that accepts OT-2 protocols at that API level.
- Current robot-software support documented by Opentrons:
- Flex: API 2.15–2.29.
- OT-2: API 2.0–2.28.
- API 2.29 and newer use separate Flex and OT-2 software/App release lines.
opentrons==9.1.1 rejects OT-2 simulation and directs users to the separate
OT-2 App. The target robot's maximum API value and analysis result in the
appropriate App are authoritative for whether a specific protocol can run.
Core Protocol API Documentation
- Python Protocol API home
— current Flex and OT-2 protocol overview and minimal examples.
- Tutorial
— protocol structure, requirements, labware, trash, pipettes, simulation, and
App import.
- Versioning
— supported API ranges, robot-software mapping, and changes by API level.
- ProtocolContext API reference
and InstrumentContext API reference
— exact current class and method signatures and navigation to other classes.
- Protocol examples
— official ready-made Flex and OT-2 examples.
- Adapting from OT-2 to Flex
— robot declaration, deck, trash, pipettes, and module migration.
Pipettes and Liquid Handling
- Loading Pipettes
— current load names, tip compatibility, trash containers, and liquid
presence detection.
- Pipette Characteristics
— channels, movement, and flow behavior.
- Partial Tip Pickup
— nozzle layouts, target-well rules, adapters, deck reach, and collision
warnings.
- Liquid Control
— aspirate, dispense, push out, blowout, touch tip, mix, dynamic mix, and air
gaps.
- Complex Commands
— transfer, distribute, consolidate, order, and parameters.
- Using Liquid Classes
— verified class selection and liquid-class transfer methods.
- Liquid Class Definitions
— verified behavior definitions.
Parameters, Labware, and Deck
- Runtime Parameters
— overview and use cases.
- Defining Runtime Parameters
— exact Boolean, numeric, string, and CSV definitions.
- Labware
— loading, well access, adapters, liquids, and lids.
- Moving Labware
— manual and Gripper moves.
- Deck Slots
— Flex and OT-2 labels, staging area, trash, waste chute, and conflicts.
- Step Grouping
— API 2.29 grouping methods and protocol visualization.
- Opentrons Labware Library
— authoritative standard labware load names and definitions.
Hardware Modules
- Module Setup
— load names, API introduction levels, adapters, and labware.
- Absorbance Plate Reader API
— initialization, lid operations, reading, and output data.
- Flex Stacker API
— storage configuration, retrieve/store, capacity, fill, and empty.
- Heater-Shaker API
— latch, temperature, and shake control.
- Magnetic Block API
— passive Flex separation workflow.
- Magnetic Module API
— powered OT-2 module control.
- Temperature Module API
— blocking and concurrent temperature control.
- Thermocycler API
— lid, block, profiles, ramp rate, and concurrent operations.
- Concurrent Module Actions
— API 2.27+ background tasks and waiting.
Robot and App User Guides
- Flex Instruction Manual
— installation, hardware, touchscreen, App, modules, calibration, and
operations.
- Flex Python API overview
— capabilities available to Flex protocol authors.
- Flex supported modules
— current physical module compatibility.
- OT-2 Instruction Manual
— installation, hardware, App, calibration, and operations.
- OT-2 supported modules
— current physical module compatibility.
- Opentrons App download
— current Flex and OT-2 App installers.
Releases and Source
Separate HTTP API Surface
The Python Protocol API is the preferred surface for protocol files. Direct
robot-server integrations are separate:
- HTTP API specification
— published OpenAPI description.
- A target robot also serves its OpenAPI document on port 31950.
Use the specification served by the target robot when integrating directly.
Do not translate Protocol API methods into guessed HTTP endpoints.
Source Precedence
When sources differ:
- Target robot's maximum API and analysis result in the appropriate App.
- Current official versioning and API reference.
- Current robot/module instruction manual.
- Stable PyPI metadata and tagged GitHub release.
- Example protocols.
Examples can lag the versioning page or show a higher generic API level than a
particular robot currently supports. Apply the target robot's maximum.