Local-first, agent-native developer tools.
imgctl is the agent-first image processing CLI. A single static Rust binary with 16 commands for editing, visual analysis, and diagram generation — built for programmatic consumers, not GUIs. TSV output by default, JSON with --json, stable error codes everywhere.
# Convert + resize + crop
imgctl convert -i in.png -o out.jpg --quality 80
imgctl resize -i in.png -o out.png --width 400 --fit contain
imgctl crop -i in.png -o out.png --x 10 --y 20 --w 200 --h 150
# Annotate (text, arrows, boxes, blur)
imgctl annotate text -i in.png -o out.png --x 50 --y 100 --text "Hello"
# Mermaid → PNG (headless Chrome under the hood)
imgctl mermaid -i diagram.mmd -o diagram.png
Existing image tools (ImageMagick, ffmpeg, …) weren’t built for AI agents — complex flags, prose error messages, no structured output. imgctl fixes those:
--json. No string-parsing required.error.code (UNSUPPORTED_FORMAT, IO_ERROR, CHROME_TIMEOUT, …) rather than decoding human prose.cargo install or brew install and you’re done.- (stdout), binary data goes to stdout and TSV/JSON metadata goes to stderr automatically. Agents can pipe images while still capturing structured metadata.--help returns in < 10ms.| Tool | Layer |
|---|---|
imgctl |
Image processing & visual diagramming |
skillctl |
Curated capability bundles |
memctl |
Persistent agent memory |
acpctl |
ACP agent invocation |
mcpctl |
MCP server invocation |
imgctl is invocation infrastructure — it doesn’t manage agent state. It’s used by agents that need to inspect or transform images during their workflow.
convert, resize, crop, compose, info, metadataannotate text, annotate arrow, annotate box, annotate blur, annotate compositecompare, diff, histogram, palette (via imageproc)mermaid (headless Chrome rendering)cargo install.