vision

A proposed, unfinished feature for giving agents images together with text instructions. The input might be a photo of a receipt and a question about it, but this does not currently work.

In plain words
What is it for?
It is intended for jobs such as checking receipts or asking questions about pictures. Do not rely on the documented example until the feature is implemented.
Why use it?
If implemented, it would let agents answer questions about images as well as text. At present, it provides no usable capability because it is only a design proposal.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/the-teacher/active_harness/vision
Clone the repo
git clone --depth 1 https://github.com/the-teacher/active_harness
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,520 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.01520
Opus 5 $0.00000 $0.00760
Sonnet 5 $0.00000 $0.00304
Haiku 4.5 $0.00000 $0.00152

Measured 3d ago against content hash 1d2b4eeb4e52, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

vision scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

docs/agents/vision.md · 87 lines

How it starts

The opening of the file, as written. The whole thing — 87 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Vision Input Agents (Proposed — Not Yet Implemented)

This is a design proposal, not a shipped feature. Nothing described below exists in the codebase yet — this file exists to visualize the interface before writing any code. Do not follow these examples expecting them to work.

ActiveHarness could let agents accept images as input alongside a text prompt — "look at this and tell me X" — reusing the model chain, hooks, retry/fallback, and system_prompt machinery that already exists for text agents.

Proposed interface

class ReceiptAgent < ActiveHarness::Agent
  vision true

  system_prompt "You are an expenses auditor. Flag anything that looks like a duplicate or a personal (non-business) purchase."

  model do
    use      provider: :openai,    model: "gpt-4o-mini"
    fallback provider: :anthropic, model: "claude-haiku-4-5-20251001"
  end
end

result = ReceiptAgent.call(
  input: "Does this receipt look legitimate?",
  image: "/path/to/receipt.jpg"
)

result.output # => "This looks like a standard restaurant receipt. Nothing suspicious — itemized total matches the sum."
  • vision true — class-level flag, same shape as image true/transcribe true. Validates that every model in the chain has "vision" in its Pricing categories (this category already exists in the registry today — it's derived from a model's input modalities, the mirror image of "imggen", which is derived from output modalities. No changes needed on the pricing side to support this validation).
  • image: — a new keyword at the call site, alongside the existing input:, context:, params:, memory:, models:, token:, stream:. Accepts:
    • a single local file path ("/path/to/photo.jpg")
    • an array of paths for multiple images in one message: image: ["front.jpg", "back.jpg"]
    • a value that already looks like an http(s):// URL is passed straight through as a URL reference instead of being read and base64-encoded — saves bandwidth when the image is already hosted somewhere.
  • @input stays exactly what it already is for a normal agent: the text part of the prompt. This is the main difference from image true/transcribe true, where @input had to be repurposed (image prompt text, or an audio file path) because those are single-purpose, non-chat endpoints. Vision is a chat call with a richer message body, so @input keeps its normal meaning.

Read the full file on GitHub · 87 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 87 lines · 0 tokens per session scan A 1d2b4eeb4e52

Subscribe to this mod's changes

vision is an agent published in the GitHub repository the-teacher/active_harness (89 stars, last pushed 24d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,520 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

AGENTS

In-depth tutorials on LLMs, RAGs and real-world AI agent applications.

patchy631/ai-engineering-hub · 0 tokens

dynamic-agents

Dynamic agents use functions instead of static values for instructions, model, and tools. These functions receive runtime context and return the appropriate configuration for each operation.

VoltAgent/voltagent · 0 tokens

langgraph

LangGraph is a framework for developing applications powered by language models. Integrating LangGraph with the Model Context Protocol (MCP) allows agents to utilize tools defined across one or more MCP servers, enabling seamless interaction with external data sources and services.

IBM/mcp-context-forge · 0 tokens

verify-agent

구현 완료 후 fresh-context 검증 전용. typecheck → lint → build → test 파이프라인 독립 실행. 단순 에러(import·타입) 자동 수정, 비수정 가능 에러 분류 보고. Use proactively — 비단순 코드 변경 완료 직후 사람 호출("검증해줘"·"빌드 확인")을 기다리지 말고 자율 spawn한다. 완료 주장 전 필수(verification.md 자율 검증 §11). 사람 발화에 의존하지 않는다. /handoff-verify 스킬에서도 자동 스폰. 구현 자체는 tdd-guide나 impl-worker 사용.

sangrokjung/claude-forge · 134 tokens

database-engineer

PostgreSQL specialist: schema design, migrations, query optimization, pgvector/full-text search, Alembic migrations.

yonatangross/orchestkit · 28 tokens

config-safety-reviewer

Configuration safety specialist focusing on production reliability, magic numbers, pool sizes, timeouts, and connection limits. Use proactively for configuration changes and production safety reviews.

alirezarezvani/claude-code-tresor · 37 tokens