AI-guided laboratory automation for physics, chemistry, biology, materials science, environmental, and engineering labs. Covers electrical transport, electrochemistry, spectroscopy, thermal, optics, and sensor measurements across 68 instruments from 26 manufacturers.
Lab Harness has 10 tools with reasonable naming (verb-first: scan_, classify_, propose_, validate_, search_, analyze_, generate_, manual_lookup, healthcheck, recall_). Descriptions are present and moderately detailed (avg ~150 chars), meeting the 10-1024 char baseline. However, critical gaps emerge: (1) Input schemas visible in code are incomplete, many lack explicit type definitions or descriptions in the schema itself; (2) Output schemas are undocumented, tools return JSON but the structure is not formally specified; (3) Error handling is minimal, most tools catch exceptions and return generic 'failed' messages without recovery guidance; (4) Parameter descriptions in schemas are sparse (e.g., analyze_data's output_dir has no description in the schema); (5) No tool annotations (readOnlyHint/destructiveHint) despite clear risk levels declared in the spec. The codebase shows good intent (Pydantic models, structured returns) but lacks the rigor expected of production tools. Average per-tool score: 52.
Analyze measurement data with template or AI-generated scripts. Three analysis tiers: 1. Template-based (default): built-in scripts for AHE, MR, IV, RT. 2. AI-generated (use_ai=True): LLM creates custom analysis script. 3. AI-interpreted (interpret=True): LLM explains results with physics insights. If no template exists for the measurement type, automatically falls back to AI.
Classify discovered instruments into measurement roles. Assigns instruments to roles (e.g. source_meter, dmm, gaussmeter) for a given measurement type.
Generate and save a new measurement protocol skill using AI. Creates a markdown skill file with YAML frontmatter describing a step-by-step measurement protocol for the given type. Uses existing skills as examples for style consistency.
Check Lab Harness system status. Returns availability of PyVISA, available measurement templates, LLM configuration, and overall system readiness.
Look up an unknown instrument's programming manual and Python driver. ALWAYS call this BEFORE classifying an unfamiliar instrument or writing SCPI commands from memory. Combines a curated manufacturer documentation index with a live DuckDuckGo search so the AI never has to guess a command sequence for an unknown device.
Output schemas undocumented. Tools return JSON (e.g., analyze_data returns figures, extracted_values, ai_interpretation) but the structure is not formally specified in tool definitions. LLMs cannot reliably extract fields or plan downstream calls.
Missing tool annotations. All tools declare risk levels (READ_ONLY, WRITE) in the spec but do not use MCP readOnlyHint/destructiveHint/idempotentHint annotations in the tool definition. Agents cannot infer safety properties from the schema alone.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 53 | 2026-07-28+ | v2 |
Build a measurement plan from a YAML template, validate it against safety boundaries, and return the plan with any violations or warnings.
Search experiment memory (SQLite + FTS5) for past measurements matching a query. Returns matching experiment records with parameters and notes.
Scan all connected lab instruments via GPIB/USB/serial. Discovers instruments on the VISA bus and returns their identity, resource address, and detected capabilities.
Search scientific literature for measurement protocol references. Queries the paper-pilot MCP server for published protocols, instrument settings, and field/current ranges relevant to the requested measurement type.
Validate a measurement plan against safety boundaries. Returns decision (ALLOW / REQUIRE_CONFIRM / BLOCK) with violations and warnings.
Parameter descriptions incomplete in schemas. analyze_data.output_dir has no description in the Pydantic model; classify_lab_instruments.inventory_json description is vague ('Optional JSON string'). Descriptions should explain format, constraints, and when to use.
Error handling lacks recovery guidance. Most tools catch exceptions and return 'X failed: {e}' without actionable next steps. E.g., 'Classification failed: ...' tells the agent nothing about whether to retry, call a different tool, or ask the user.
No pagination or result limits documented. recall_experiments accepts a limit parameter but no max is enforced or documented. search_literature and analyze_data do not specify result cardinality or truncation behavior, risking context window exhaustion.