← All projects

Case study · Open-source Claude Code plugin

fieldloop: A Research Team in Claude Code

Takes any sensor project from datasheet to field-verified firmware, run by Claude agents.

fieldloop is an open-source Claude Code plugin and playbook for sensor research loops, released in 2026. You bring your system (sensor, controller, data link, phone or PC), the pattern you want to detect and your datasheets. A team of Claude agents builds the logging firmware, labelling app, dashboard and a bit-exact emulator of your detector, searches the data for the pattern, validates it on held-out groups, ships it over the air and checks the device against the emulator on every field alarm.

Org
Open source
Year
2026
Status
Live
Channels
CH1CH3CH4
FIG. 01 · Concept drawing

The problem

Turning a new sensor into a detector you can trust needs logging firmware, a labelling app, a dashboard, an emulator and OTA updates. The tooling is the easy part. The hard part is the discipline: features the chip can really compute, validation on groups the search never saw, and proof that the device matches the emulator on every field alarm.

What I built

  • A Claude Code plugin: 10 agent roles, 15 skills and 6 feedback loops, from hardware research to field verification
  • A playbook of 38 rules, each with the reason it exists
  • Hooks that keep a human gate on flashing boards and publishing releases
  • Project templates and three fictional worked examples: pump dry-run, glass-break audio, cold-chain door seals

How it works

Diagrams from the fieldloop README. They show the fictional PumpGuard example, not real data.

  1. The fieldloop loop: spec, hardware research and capture system are set up once; then data protocol, dashboard, label and align, emulator, pattern search, validate, deploy, field verify and iterate run as a loop

    FIG. 02

    The loop

    Spec, hardware research and the capture system are set up once. Then the loop runs: data protocol, dashboard, label and align, emulator, pattern search, validate, deploy, field verify and iterate. Misses and false alarms feed back in.

  2. Starting a fieldloop project in Claude Code: the setup skill asks for the sensor, controller, data path, target pattern, false-alarm budget and grouping unit, then scaffolds the project

    FIG. 03

    Getting started

    Install the plugin, drop your datasheets into docs/hardware/datasheets/ and run /fieldloop:fieldloop. Claude asks for the sensor, controller, data path, target pattern, false-alarm budget and grouping unit, then scaffolds the project and proposes a stage plan with the human gates marked.

  3. Four pump-current traces drop at the same moment; a drop threshold fires on all four, but only the dry-running pump settles on a flat plateau afterwards, so the aftermath becomes the detector

    FIG. 04

    Find the pattern the hardware can actually run

    The search only uses features the target can compute, in its own number format. And the obvious feature is often not the one that separates: here a current drop fires on all four pumps, but only the dry-running one settles on a flat plateau, so the aftermath becomes the detector.

  4. Device alarms and emulator alarms are matched one to one; an emulator-only alarm halts the campaign until the cause, a comparison-operator assumption, is fixed and every past session is re-verified

    FIG. 05

    Trust the emulator only while it agrees with the chip

    Every field recording is replayed through a bit-exact emulator. If the device and the emulator disagree on even one alarm, field sessions stop until the cause is understood, the emulator is fixed and every past session is re-verified. Nobody tunes around it.

  5. The fieldloop agent team: loop-lead in the centre with hardware, firmware, app, dashboard, emulator and reviewer roles; on the right the field loop runs from you to the field-analyst, pattern-researcher, validator and back to you as a release

    FIG. 06

    Claude as a team, with you holding the irreversible steps

    The pattern-researcher proposes and the validator scores; they are never the same agent. The field-analyst feeds hard negatives back in. You record, label, flash, approve releases and open the holdout, and the hooks enforce it.

Stack

Claude Code · Subagents · Skills · Hooks · Bit-exact emulator · OTA

Install

/plugin marketplace add kaifsakes/fieldloop
/plugin install fieldloop@fieldloop

Results

  • Open source: Apache-2.0 code, CC BY 4.0 docs (2026)
  • Works with any sensor, controller, link, app or data format

The method comes from a real project. Several Claude Code sessions, working as a firmware engineer, an app engineer, a dashboard and emulator engineer, a pattern researcher and a reviewer, took a new sensor platform to an on-chip detector running in field trials in weeks, not months.

Most of the speed came from the rules, not the code. Rules decided what to build first, what counts as evidence and when to stop searching. fieldloop packages those rules, the agent roles and the feedback loops so the same loop runs on any sensor, controller, app, pipeline or data format.

What it is not: a library you import (Claude writes the project-specific code for your hardware), a promise that any pattern can be found (the loop tells you, with evidence, when the limit is the data), or medical or safety certification.

Get my CV

Book a meeting