Getting started · source install

Give your agent
the brief.
Keep the proof.

IconFlow turns product intent into an editable SVG, then makes the design survive native pixels, platform crops, and a source-bound review before any asset ships.

  • Python 3.10+
  • Git
  • One-time network setup
AGENT HANDOFF01 / 04
PRODUCT INTENT

Help people compare research without losing the thread.

essence · proofavoid · sparkle
Decision remains inspectablebrief · SVG · review · receipt · case

The operating model

The agent designs.
IconFlow proves.

The agent researches the product, explores distinct concepts, and authors semantic SVG. IconFlow provides the playbook, deterministic renderer, quality gate, target transforms, and learning loop. It is not a prompt-to-image generator.

Choose your path

Two doors.
One quality gate.

Use the agent path when you want help with product thinking and SVG craft. Use the CLI path when you already own the design decisions. Both end at the same review contract.

RecommendedAgent-assisted

Describe the product job, not the picture.

Install the open-format IconFlow skill. A compatible agent can discover the workflow when you ask for an app icon, favicon, logo mark, or tray icon.

  1. 01Install the skill once
  2. 02Give the agent product context
  3. 03Inspect its bake-off and Review Lab
Use the agent brief
TransparentDirect CLI

Drive every decision yourself.

Read the design playbook, author the SVG finalists, and use the same commands the agent runs. No hidden service sits behind the CLI.

  1. 01Create iconflow.toml
  2. 02Compare and review candidates
  3. 03Ship only with current approval
See every command

Using another AI agent? Any agent that can read repository instructions and run shell commands can use IconFlow through AGENTS.md plus the CLI. Automatic skill discovery depends on the client.

Five-minute engine proof

Prove the pipeline
before designing.

This builds IconFlow’s checked-in reviewed family into a disposable work directory. It proves your environment—not that a distinctive new identity can be designed in five minutes.

01CloneGet the current source.
02Set upInstall Python deps, Chromium, and the agent skill.
03Ship proofRevalidate the receipt and build 23 assets.

Windows · PowerShell

git clone https://github.com/snowyukitty/ai-iconflow.git
cd ai-iconflow
python -m venv .venv
powershell -NoProfile -ExecutionPolicy Bypass -File .\scripts\setup.ps1
.\.venv\Scripts\python.exe -m iconflow doctor
.\.venv\Scripts\python.exe -m iconflow ship `
  --config brand\iconflow.toml `
  --review brand\master-review.json `
  --out work\quick-start\icon-out

macOS / Linux · shell

git clone https://github.com/snowyukitty/ai-iconflow.git
cd ai-iconflow
python3 -m venv .venv
sh ./scripts/setup.sh
./.venv/bin/python -m iconflow doctor
./.venv/bin/python -m iconflow ship \
  --config brand/iconflow.toml \
  --review brand/master-review.json \
  --out work/quick-start/icon-out
IconFlow mark
Expected result

A gate, not just a folder.

doctor reports the renderer ready. ship verifies the checked-in source and review contract, reruns QA, and writes web, PWA, Tauri desktop, Electron, and tray assets under work/quick-start/icon-out/.

  • source hash matches
  • 0 automated warnings
  • six scores ≥ 4/5

Start with intent

Give the agent
a useful brief.

A noun-only prompt produces decoration. Include the product’s job, audience, personality, palette, clichés to avoid, and exact output surfaces.

BRIEF / 01What the agent needs
Product intent
What does the product enable?
User job
What progress is the user making?
Essence
One word that guides every choice.
Personality
Two or three traits with tension.
Clichés
The obvious category symbols to reject.
Targets
Web, PWA, desktop, tray—or only what exists.

Agent prompt

Use the IconFlow skill to design, review, and ship a distinctive icon family for this project.

Product intent: [what the product enables]
User job: [the progress a person wants]
Essence: [one word]
Personality: [two or three traits]
Existing palette: [tokens or colors]
Clichés to avoid: [obvious symbols]
Targets: [web, pwa, tauri, electron, tray]

Keep the editable SVG and iconflow.toml in this project. Show me the concept bake-off and native-size review before shipping. Do not stop before recording the case.

Universal fallback

No skill discovery? Give the agent the contract.

This works with an agent that can read files and execute the local Python CLI, even when its client does not support Agent Skills.

Read [ICONFLOW_REPO]/AGENTS.md completely.
Use [ICONFLOW_REPO]/.venv/.../python -m iconflow ...
Keep your shell in this consuming project.
Follow concept → compare → check → review → ship → case.

The complete loop

Every command
earns its place.

Run these from the consuming project. Use the IconFlow virtual-environment Python by absolute path so your config and final sources stay with the product they belong to.

  1. 01
    Brief

    Write the product contract.

    Record intent before drawing. The config also fixes targets, colors, paths, and tray behavior.

    python -m iconflow init --out iconflow.toml \
      --name "My App" --essence proof \
      --targets web,tauri,electron,tray
  2. 02
    Explore

    Force different visual ideas.

    Create at least four concepts through different lenses. Technique presets are scaffolds, never finished identities.

    python -m iconflow styles
    python -m iconflow new flat-geometric \
      --out work/my-app/a.svg
  3. 03
    Compare

    Choose shape before polish.

    Bake two or three finalists together. Read the sheet at 128px, 16px, and in silhouette.

    python -m iconflow compare \
      work/my-app/a.svg work/my-app/b.svg \
      work/my-app/c.svg --out work/my-app/bake.png
  4. 04
    Inspect

    Review real target transforms.

    Fix every warning. Then inspect native pixels, alpha, adaptive crops, desktop corners, and tray contexts.

    python -m iconflow check master.svg
    python -m iconflow review --config iconflow.toml \
      --out work/my-app/review.png \
      --html work/my-app/review.html
  5. 05
    Ship

    Make approval fail closed.

    Export the Review Lab receipt only after every axis reaches 4/5. Source or target changes make that receipt stale.

    python -m iconflow ship \
      --config iconflow.toml \
      --review master-review.json
  6. 06
    Learn

    Return the lesson to the system.

    Record what failed first, what changed, and one reusable rule. An unrecorded icon teaches nothing.

    python -m iconflow case new ...
    python -m iconflow case lint
    python -m iconflow case stats

Exact output families

Ask only for
surfaces you ship.

Targets are explicit. IconFlow does not claim “all platforms,” and a full app card does not silently become a useful menu-bar silhouette.

WEB / PWA

Browser surfaces

Favicon SVG and ICO, Apple touch icon, 192px and 512px PWA assets, plus a maskable icon and manifest snippet.

--targets web,pwa
TAURI

Desktop bundle

PNG sizes, ICO, ICNS, and the conventional src-tauri/icons layout for Tauri v2 desktop applications.

--targets tauri
ELECTRON

Packager inputs

Cross-platform PNG, ICO, and ICNS assets for Electron and electron-builder packaging workflows.

--targets electron
TRAY

Menu-bar marks

Color tray PNGs, macOS template assets, and a TypeScript helper. A dedicated mark-only tray.svg is strongly preferred.

--targets tray

Example build

One source. Explicit branches.

The editable master.svg remains the source of truth beside the project. Generated files can always be rebuilt.

icon-out/
├── favicon.svg
├── favicon.ico
├── icon-192.png
├── icon-512.png
├── icon-512-maskable.png
├── icons/
│   ├── icon.ico
│   └── icon.icns
├── build/
│   ├── icon.png
│   ├── icon.ico
│   └── icon.icns
└── tray/
    ├── tray.png
    ├── trayTemplate.png
    └── trayIcon.ts

Known boundaries

Local does not mean
magical.

  • Source install today.IconFlow is not published on PyPI yet. Do not use pip install ai-iconflow until an official release exists.
  • One-time download.Setup needs network access for dependencies and Playwright Chromium; rendering and builds are local afterward.
  • Desktop scope.Tauri output currently covers desktop assets, not Android or iOS launch and icon sets.
  • Toolchain-bound proof.Repeatability assumes the same normalized SVG, config, IconFlow, Chromium, and Pillow versions.

Ready for your project

Start with the job.
End with evidence.

Run the engine proof once. Then open your product repository, give the agent a concrete brief, and keep every design decision where future maintainers can inspect it.