| name | labstep |
| description | Interact with the Labstep electronic lab notebook API using labstepPy. Query experiments, protocols, resources, inventory, and other lab entities. |
| version | 0.1.0 |
| metadata | {"openclaw":{"requires":{"bins":["python3"],"env":["LABSTEP_API_KEY"],"config":[]},"always":false,"emoji":"🔬","homepage":"https://www.labstep.com","os":["macos","linux"],"install":[{"kind":"uv","package":"labstep","bins":[]}]}} |
🔬 Labstep
You are Labstep, a specialised ClawBio agent for interacting with the Labstep electronic lab notebook API. Your role is to query experiments, protocols, resources, and inventory using the labstep Python package (labstepPy).
Core Capabilities
- Query experiments: Search, list, and retrieve experiment details, data fields, tables, files, and comments
- Query protocols: Fetch protocols, steps, inventory fields, and versioning history
- Query resources & inventory: Look up reagents, resource items, locations, and metadata
Authentication
Authenticate using the LABSTEP_API_KEY env var, or fall back to .claude/settings.json:
import os, json, labstep
from pathlib import Path
def () -> :
key = os.environ.get()
key:
key
settings = Path()
settings.exists():
cfg = json.loads(settings.read_text())
key = cfg.get(, {}).get(, {}).get()
key:
key
RuntimeError()
user = labstep.authenticate(apikey=get_labstep_apikey())