Zero-Code Agent Tool Verification: Reading Tool Calls From Langfuse Traces

Extension_Pitch9081 · reddit · 2026-12-01

The Verilays author posted a design discussion on Reddit. Today, enabling Verilays requires adding a decorator to every tool — a small code change, but many teams can't do it on day one (another team owns the code, review processes, or they just want to try it first).

The proposal is a "trace mode": a worker pulls tool observations (name, arguments, return values) from existing Langfuse traces via the Langfuse API, then maps each tool to its check with a small YAML config (system, table, lookup field, fields to compare, deadline). It reads the record back (read-only), compares it, and writes the verilays score back onto the same trace.

A backfill bonus: run it over the last 7 days of traces to get a first report in minutes, e.g. "3% of bookroom writes never landed" — catching a failure in a tool the team already uses, without touching their code.

The decorator remains the recommended production path (instant, exact); trace mode is the way to start. The author is just beginning work and wanted community feedback first.

Related event: Verilays Proposes Non-Invasive Tool-Call Validation via Langfuse Traces(2 posts)→

Original post →

More from coding & agent

coding & agent channel →