> For the complete documentation index, see [llms.txt](https://docs.roboflow.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.roboflow.com/agents/roboflow-agent.md).

# Roboflow Agent

Roboflow Agent has access to your [Workspace](/workspaces/key-concepts.md) and can create, edit, run, and debug [Workflows](/workflows/what-is-workflows.md). You can also use it to set up [Rapid](/rapid/what-is-roboflow-rapid.md) models. Access the Agent by clicking "Agent" in the left sidebar of your workspace.

<figure><img src="/files/Cv54AymVmgIex0z1nmb4" alt=""><figcaption></figcaption></figure>

## Capabilities

The Agent can:

* Build [Workflows](/workflows/what-is-workflows.md) from a natural language description, run them, and auto-fix failures (up to three retries per turn). All input modes are supported: image URLs, RTSP streams, local video, and webcam.
* Understand attached images and videos. You can attach, drag-and-drop, or paste an image or short video into the chat. The Agent analyzes your media to understand what it contains, builds a Workflow informed by it, then re-runs the Workflow on that same media to verify the result.
* Set up and manage [Rapid](/rapid/what-is-roboflow-rapid.md) models.
* Organize open Workflows, Rapid models, usage views, and plans into tabs. Use the "+" tab to reopen closed items or create new ones. Follow-up conversations inherit artifacts from previous chats.
* Open a zone editor to draw detection zones on a Workflow's input image.
* React to UI events: diagnose Rapid training failures, investigate Workflow run errors (via an "Investigate" prompt above the chat input), and continue automatically when a Rapid source Workflow is ready.
* Open a "Historical Usage" tab showing your Workspace's [Credit Usage Dashboard](/billing/credits/view-credit-usage.md) with the filters matching your question (timeframe, feature, attribution, cumulative/daily, credits/dollars). The Agent keeps the tab in sync as the conversation continues. Requires the "View Billing" permission.
* Set up [Vision Events](/deploy/vision-events.md) in your Workflows. When building a Workflow that runs a model, the Agent adds a Vision Events block and configures it with the right [Use Case](/deploy/vision-events/use-cases.md), creating one if needed.
* Answer questions about your edge devices with read-only access to your [Deployment Manager](/deploy/device-manager.md) fleet, configuration, telemetry, logs, events, and streams. Ask about device status or stream errors (ex: "which devices are offline?", "why did this stream error?") instead of clicking through the Deployment Manager. Device credentials are never shared with the Agent.
