> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-mintlify-fbfa8bee.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Vision

> Image inputs and visual understanding in ClickHouse Agents

export const Image = ({img, alt, size}) => {
  return <Frame>
      <img src={img} alt={alt} />
    </Frame>;
};

export const galaxyOnClick = eventName => () => {
  try {
    if (typeof window !== "undefined" && window.galaxy && eventName) {
      window.galaxy.track(eventName, {
        interaction: "click"
      });
    }
  } catch (e) {}
};

export const BetaBadge = ({link, galaxyTrack, galaxyEvent}) => {
  if (link) {
    return <a href={link} target="_blank" rel="noopener noreferrer" className="betaBadge" onClick={galaxyTrack && galaxyEvent ? galaxyOnClick(galaxyEvent) : undefined}>
                <Icon />
                <span>Beta</span>
            </a>;
  }
  return <div className="betaBadge">
            <Icon />
            <span>
                Beta feature. 
                <u>
                    <a href="/docs/beta-and-experimental-features#beta-features">
                        Learn more.
                    </a>
                </u>
            </span>
        </div>;
};

Vision lets users upload images for an agent to analyze. The agent passes the image to a vision-capable model, which describes, summarizes, or answers questions about what's in it.

<h2 id="enable-it">
  Enable vision capabilities
</h2>

Vision only works with models that support image inputs. If the selected model can't handle image inputs, the upload control on the message composer is disabled. Switch to a vision-capable model to re-enable it.

<h2 id="use-it">
  Use vision capabilities
</h2>

Click the paperclip icon at the bottom-left of the message composer and choose **Upload to Provider** to attach an image — a screenshot, a photo, a chart, a diagram. Then ask any question that requires reading the image: *"What's wrong with this query plan?"*, *"Transcribe the text in this screenshot,"* or *"Compare this dashboard to last week's."*

<Image img="https://mintcdn.com/private-7c7dfe99-mintlify-fbfa8bee/TCLsdkFwl4CgDiNY/images/cloud/agent-builder/vision/vision.png?fit=max&auto=format&n=TCLsdkFwl4CgDiNY&q=85&s=0028eb37f2e7d74bba7cb5640e15d89b" alt="Message composer with the paperclip menu open showing Upload to Provider, Upload as Text, and Upload to Code Environment options" size="lg" width="3838" height="1936" data-path="images/cloud/agent-builder/vision/vision.png" />

The agent treats the image as part of the message context, so follow-up questions in the same turn can reference what it saw without re-uploading.

<h2 id="combine-with-other-tools">
  Combine vision with other tools
</h2>

Vision pairs well with the [code interpreter](/products/cloud/features/ai-ml/agents/builder/code-interpreter) for image-driven analysis — for example, the agent reads numbers off a screenshot and then runs Python to compute totals — and with [web search](/products/cloud/features/ai-ml/agents/builder/web-search) when an image references something the model needs to look up.
