Roboflow Agent
Workflows と Rapid モデルを構築、実行、デバッグするアプリ内 Roboflow Agent。HTTP チャット API も含みます。
概要
Roboflow Agent はあなたの ワークスペース を作成、編集、実行、デバッグできます ワークフロー。また、これを使って設定することもできます Rapid モデルです。ワークスペースの左サイドバーで「Agent」をクリックして Agent にアクセスできます。

機能
Agent は次のものを扱えます:
ワークフロー:平易な説明から作成し、画像、RTSP ストリーム、動画、またはウェブカメラで実行し、ライブプレビューを確認し、失敗を自動修復し、実行エラーを調査し、検出ゾーンを描画できます。
添付メディア:チャットにドロップした画像や MP4/MOV 動画を分析し、それらを使ってワークフローを作成・検証できます。
Rapid モデル:セットアップ、管理、トレーニング失敗の診断。
プロジェクト: プロジェクトを作成、開始 モデルのトレーニング, 分割の再調整、および プロジェクトを統合.
データセット: ラベリング段階ごとに画像を閲覧, ワークスペースの画像をモデルに追加し、ラベリングを開始、バッチをレビューに送るか編集のために戻し、画像をデータセットに受け入れ、作業を未割り当てに戻します。
バッチ処理:Asset Library の画像に対して公開済みのワークフローを実行し、ジョブを一覧表示し、1件のステータスを報告します。
アクティブラーニング:プロジェクトごとに収集のオン/オフを切り替え、その制限と条件を編集します。
ビジョンイベント:ワークフローにブロックを追加し、 イベントデータについての質問に答え、およびスケジュール サマリーレポート.
使用状況:あなたの クレジット使用量ダッシュボード を表示します。質問に合ったフィルター付きで。
エッジデバイス:あなたの デプロイメントマネージャー フリート、テレメトリ、ログ、ストリームへの読み取り専用アクセスで質問に答えます。
タブ:開いているワークフロー、モデル、プロジェクト、使用状況ビューを整理し、ドラッグで並べ替え、閉じた項目を再度開くか、「+」タブから新規作成できます。
バックグラウンドタスク
Agent が開始した長時間ジョブは、チャット中も実行され続けます:モデルのトレーニング、自動ラベリング、データセットバージョン生成、プロジェクトの統合、クラスの再マッピング、分割の再調整、バッチ処理ジョブ。チャットボックス上のピルに実行中の件数が表示されます。それをクリックするか、左メニューの「Background Tasks」をクリックすると、「Running」と「Finished」に分かれて一覧表示するパネルが開きます。タスクをクリックすると、作成されたページが開きます。
タスクが完了すると、タブを閉じて後で戻ってきた場合でも、Agent はチャットで知らせます。ここに表示されるのは、会話の中から開始されたジョブのみです。アプリの別の場所や API から開始したトレーニングは表示されず、代わりに Activity Center で追跡します。
HTTP API
Agent API を使うと、Roboflow AI agent と次を通じて対話できます api.roboflow.com。自然言語の指示を送って作成または編集できます ワークフロー、その後、準備ができたら公開できます。明示的に公開するまで、すべての編集は下書きとして保存されます。
認証は次を通じて行われます API キー。もし スコープ付き API キー にフォルダー制限がある場合、agent はそのフォルダー範囲内のワークフローとモデルにのみアクセスでき、フォルダー外のプロジェクトは表示されません。agent にワークスペースのモデル一覧を要求すると、呼び出し元がすでに閲覧できるモデルのみが返されます。
チャット
Agent にメッセージを送信します。新しい会話を開始するか、次を渡して既存の会話を続けます conversation_id.
Send a message to the agent. The agent can create new Workflows, edit existing ones, and answer questions about your workspace. Workflow changes are saved as drafts. Requires the workflow:create and workflow:update scopes.
Workspace URL slug.
my-workspaceWorkspace API key.
The instruction or question for the agent.
Build me a workflow that detects cars and counts themID of an existing conversation to continue. Omit to start a new conversation.
conv_xyz789agent (default) makes changes. In plan mode the agent outlines what it would do without making changes.
agent可能な値: The agent's reply.
The agent's response text.
I created a workflow called 'Car Counter' that detects and counts cars.The conversation ID. Pass it back in later requests to continue the conversation.
conv_xyz789Bad request (ex: missing message, no draft to publish).
API key missing or invalid.
Insufficient credits.
Insufficient scopes, Workflow outside the API key's folder scope, or agent features disabled for the workspace (error_type AGENT_DISABLED).
Workflow or conversation not found.
Internal server error.
POST /{workspace}/agent/chat HTTP/1.1
Host: api.roboflow.com
Content-Type: application/json
Accept: */*
Content-Length: 131
{
"api_key": "text",
"message": "Build me a workflow that detects cars and counts them",
"conversation_id": "conv_xyz789",
"mode": "agent"
}{
"text": "I created a workflow called 'Car Counter' that detects and counts cars.",
"workflows": [
{
"id": "wf_abc123",
"name": "Car Counter",
"url": "car-counter",
"specification": {}
}
],
"conversation_id": "conv_xyz789"
}ワークフローを公開
Agent が作成または編集したワークフローの最新下書きをデプロイします。
Deploy the latest draft version of a Workflow that the agent created or edited. Returns 400 if there is no unpublished draft. Requires the workflow:update scope.
Workspace URL slug.
my-workspaceWorkflow URL slug.
car-counterWorkspace API key.
The draft was published.
wf_abc123car-counterv-1700000000publishedBad request (ex: missing message, no draft to publish).
API key missing or invalid.
Insufficient scopes, Workflow outside the API key's folder scope, or agent features disabled for the workspace (error_type AGENT_DISABLED).
Workflow or conversation not found.
Internal server error.
POST /{workspace}/agent/workflows/{workflowUrl}/publish?api_key=text HTTP/1.1
Host: api.roboflow.com
Accept: */*
{
"workflowId": "wf_abc123",
"workflowUrl": "car-counter",
"versionId": "v-1700000000",
"status": "published"
}会話一覧
Return all agent conversations in the workspace. Requires the workflow:read scope.
Workspace URL slug.
my-workspaceWorkspace API key.
Filter by origin: api or web.
Filter by Workflow URL slug. Only returns conversations that reference this Workflow.
The workspace's conversations.
API key missing or invalid.
Insufficient scopes, Workflow outside the API key's folder scope, or agent features disabled for the workspace (error_type AGENT_DISABLED).
Internal server error.
GET /{workspace}/agent/conversations?api_key=text HTTP/1.1
Host: api.roboflow.com
Accept: */*
{
"conversations": [
{
"id": "conv_xyz789",
"name": "Car Counter",
"source": "api",
"workflowIds": [
"wf_abc123"
],
"created_on": "2026-05-14T20:00:00.000Z",
"updated_on": "2026-05-14T20:05:00.000Z"
}
]
}会話を取得
Return the full conversation including all messages. Requires the workflow:read scope.
Workspace URL slug.
my-workspaceConversation ID.
conv_xyz789Workspace API key.
The conversation with its messages.
conv_xyz789Car CounterWhere the conversation started: api or web.
api可能な値: IDs of Workflows referenced by the conversation.
["wf_abc123"]2026-05-14T20:00:00.000Z2026-05-14T20:05:00.000ZagentAPI key missing or invalid.
Insufficient scopes, Workflow outside the API key's folder scope, or agent features disabled for the workspace (error_type AGENT_DISABLED).
Workflow or conversation not found.
Internal server error.
GET /{workspace}/agent/conversations/{id}?api_key=text HTTP/1.1
Host: api.roboflow.com
Accept: */*
{
"id": "conv_xyz789",
"name": "Car Counter",
"source": "api",
"workflowIds": [
"wf_abc123"
],
"created_on": "2026-05-14T20:00:00.000Z",
"updated_on": "2026-05-14T20:05:00.000Z",
"type": "agent",
"messages": [
{
"id": "msg_1",
"role": "user",
"parts": [
{
"type": "text",
"text": "Build me a workflow that detects cars"
}
]
}
]
}MCP サーバー
あなたの AI エージェントを次に接続すると MCP サーバー 、次のツールで Roboflow Agent に作業を引き継げます:
agent_chat
Roboflow AI agent とチャットします。
agent_chat_result
実行中だった処理の結果を取得します。
agent_conversations_list
ワークスペース内の agent の会話を一覧表示します。
agent_conversation_get
メッセージ履歴付きで会話を1件取得します。
agent_workflow_publish
Agent が編集したワークフローの最新下書きを公開します。
最終更新
役に立ちましたか?