see_image) instead of
automatic narration: the model decides when to look and what to ask — one
question-driven recognition is cheaper and more accurate than blind
description, and the result lands in the transcript as an ordinary tool
result (visible across refreshes and compaction).
The chain (when enabled)
- For text-only models, image blocks in requests are replaced with
placeholder text carrying an
imageId:[image attached | source=browser_shot | imageId=img_ab12cd34 | ... call see_image(...) to inspect it.]— the id is the first 12 hex chars of the image’s SHA256: content-addressed and stable across requests; - The model calls
see_image(imageId?, question?); - The tool looks up the original image by hash in the current session (the latest one when no id is passed) and runs a one-shot recognition with a vision model;
- The text result enters the transcript as a tool result — the original image is untouched, so visibility restores automatically when you switch back to a vision-capable model.
The switch & zero prompt pollution
Settings → Models → Vision assist, off by default. When off:see_imageis not registered (the tool list is byte-identical to before);- No placeholder substitution happens (requests stay byte-identical);
- The system prompt never mentions the tool.
Vision model selection (high to low priority)
- Manual pick in settings — only models with configured credentials, not hidden, declaring image input; invalid picks fall back automatically;
PI_VISION_MODEL=provider/modelIdenv escape hatch;- Auto-pick among configured, visible, image-input, non-text-to-image models.
Pairs best with browser control pixel screenshots:
the agent takes a web page shot, then asks about it via see_image.
