dsh-agnes-image

Adds the agnes_image host tool for generating and editing images with Agnes Image 2.5 Flash. Text-to-image takes a detailed prompt; image editing and multi-image composition accept local workspace paths or public URLs through reference_images. Output size, aspect ratio, and model are configurable, and results are saved into the session working directory and shown inline as attachments. The plugin has no runtime dependencies and no build step. Requires your own Agnes API key (AGNES_API_KEY in the environment or ~/.dsh/.credentials.yaml). Uses the same agnes_image tool name and loader id as zhp282515-wq/dsh-plugin-agnes-image, so do not install both.

Overview

Adds the agnes_image host tool for generating and editing images with Agnes Image 2.5 Flash. Text-to-image takes a detailed prompt; image editing and multi-image composition accept local workspace paths or public URLs through reference_images. Output size, aspect ratio, and model are configurable, and results are saved into the session working directory and shown inline as attachments. The plugin has no runtime dependencies and no build step. Requires your own Agnes API key (AGNES_API_KEY in the environment or ~/.dsh/.credentials.yaml). Uses the same agnes_image tool name and loader id as zhp282515-wq/dsh-plugin-agnes-image, so do not install both.

Installation

Install from GitHub

dsh plugin --profile web add github:foolfu86/dsh-agnes-image

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.