aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--AGENTS.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/AGENTS.md b/AGENTS.md
index 86c0d94..b8bb2a4 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -329,6 +329,24 @@ file's path, images included. Spec:
- The model calls the found items "the 2 items you provided": they were
its own.
+### Barcode tool, live check (2026-11-11)
+
+`barcode` (`examples/tools/barcode.toml`): `ZXingReader -1 {path}`
+(zxing-cpp, already installed), no wrapper. Images only, no PDFs.
+`cloud = ["hetzner"]` like `redact`.
+
+- Output is one line per code: file, format, quoted text. Nothing found
+ prints `None`; an unreadable file prints nothing (error on stderr,
+ exit 0), which the description explains.
+- Before it, the model said it could not decode a barcode it saw.
+- Through a second daemon on a scratch socket and data dir, made-up
+ images, Gemma: a QR inside a larger picture, an EAN-13, a Code 128
+ rotated 90°, a WiFi QR ("what's the password?"), it and en: right
+ tool and right answer 4/4; an image with no code got "no QR code
+ was found"; a question about the image's colours called no tool.
+ Tool call at 7-13 s (23 s for the WiFi one, longer reasoning), reply
+ 1.7-3.3 s after it.
+
### Cloud models, live check (2026-10-23)
Hetzner's inference API (`https://inference.hetzner.com/api/v1`,