NEW Workflows: agents follow the steps, you sign off. Read more →
Ulpi

Reflexes

PLUGIN

Senses for your computer: when a file lands in a folder, a USB stick or SD card is connected, or a log file gets a matching line.

by zahmed333 · v0.2.1

What it does

Senses for your computer: when a file lands in a folder, a USB stick or SD card is connected, or a log file gets a matching line, Ulpi starts a turn in the chat that armed the reflex and acts with its normal tools and approvals. Nobody types anything.

Durable queue, loop protection (a reflex firing more than 30 times an hour pauses itself), missed firings are logged, never dropped silently. Includes /reflex commands, a bundled skill and a Ulpi page.

Disclosure — starts agent turns nobody typed (via ctx.inject_message) in the chat that armed a reflex. Reflexes are armed only by you (/reflex or the Desktop page) or by the model after a Ulpi approval prompt.

Gateway, TUI and Desktop delivery also needs plugins.entries.reflexes.allow_gateway_injection. It lists the folders you name about once a second (names, sizes, times) and opens new files briefly only to check they are complete.

For log reflexes it reads the bytes appended to the one file you name and sends matching lines (and any /regex/ you give is run on every new line) to your model. It enumerates connected drives and lists the top level of a newly connected one, runs a background thread while Ulpi runs, and stores a local SQLite database at <ULPI_HOME>/plugin-data/reflexes/reflexes.db.

No network, telemetry, shell commands, subprocesses, credentials or dependencies beyond the Python standard library (uses ctypes on Windows to list drives).

Tools it adds

The tools an agent gets once this plugin is installed.

  • reflex_add
  • reflex_manage

Review notes

What an owner reads and accepts before the install is approved.

  • Ulpi has not reviewed this version: it is listed in the public plugin catalog, and the install still fetches it at its pinned commit, checks its shape and scans it before you approve

More in Automation

All listings →