Roboflow Agent
इन-ऐप Roboflow Agent जो Workflows और Rapid models बनाता, चलाता, और डिबग करता है, साथ ही उसका HTTP चैट API।
के बारे में
Roboflow Agent की पहुँच आपके कार्यक्षेत्र तक है और यह बना, संपादित, चला, और डिबग कर सकता है वर्कफ़्लोज़. आप इसका उपयोग सेट अप करने के लिए भी कर सकते हैं Rapid मॉडल. अपने कार्यक्षेत्र के बाएँ साइडबार में "Agent" पर क्लिक करके Agent तक पहुँचें।

क्षमताएँ
Agent इनके साथ काम कर सकता है:
वर्कफ़्लोज़: एक साधारण विवरण से बनाएं, इमेज, RTSP स्ट्रीम, वीडियो, या वेबकैम पर चलाएँ, लाइव प्रीव्यू देखें, विफलताओं को ऑटो-फिक्स करें, रन त्रुटियों की जाँच करें, और डिटेक्शन ज़ोन बनाएं।
संलग्न मीडिया: चैट में छोड़ी गई इमेज और MP4 या MOV वीडियो का विश्लेषण करें, और उनके साथ वर्कफ़्लो बनाएं और सत्यापित करें।
Rapid मॉडल: सेट अप करें, प्रबंधित करें, और प्रशिक्षण विफलताओं का निदान करें।
प्रोजेक्ट्स: प्रोजेक्ट बनाएं, शुरू करें मॉडल प्रशिक्षण, स्प्लिट्स का पुनर्संतुलन, और प्रोजेक्ट मर्ज करें.
डेटासेट्स: लेबलिंग चरण के अनुसार इमेज ब्राउज़ करें, कार्यक्षेत्र की इमेज को मॉडल में जोड़ें और उन्हें लेबल करना शुरू करें, एक बैच को समीक्षा के लिए या संपादन हेतु वापस भेजें, इमेज को डेटासेट में स्वीकार करें, और कार्य को असाइन नहीं किया गया पर वापस करें।
बैच प्रोसेसिंग: अपनी एसेट लाइब्रेरी में मौजूद इमेज पर प्रकाशित वर्कफ़्लो चलाएँ, अपनी जॉब्स सूचीबद्ध करें, और किसी एक की स्थिति रिपोर्ट करें।
सक्रिय अधिगम: प्रति प्रोजेक्ट संग्रह को चालू या बंद करें और उसकी सीमाएँ तथा शर्तें संपादित करें।
विजन इवेंट्स: वर्कफ़्लोज़ में ब्लॉक्स जोड़ें, अपने इवेंट डेटा के बारे में प्रश्नों के उत्तर दें, और शेड्यूल करें सारांश रिपोर्ट्स.
उपयोग: अपना दिखाएँ क्रेडिट उपयोग डैशबोर्ड आपके प्रश्न से मेल खाते फ़िल्टर के साथ।
एज डिवाइसेज़: आपके लिए केवल-पढ़ने-योग्य पहुँच के साथ प्रश्नों के उत्तर दें डिप्लॉयमेंट मैनेजर फ्लीट, टेलीमेट्री, लॉग, और स्ट्रीम्स।
टैब्स: खुले वर्कफ़्लो, मॉडल, प्रोजेक्ट, और उपयोग दृश्य व्यवस्थित करें; क्रम बदलने के लिए ड्रैग करें; बंद आइटम फिर से खोलें या "+" टैब से नए बनाएं।
पृष्ठभूमि कार्य
Agent द्वारा शुरू की गई लंबी जॉब्स आपके चैट करते रहने पर भी चलती रहती हैं: मॉडल प्रशिक्षण, ऑटो-लेबलिंग, डेटासेट संस्करण जनरेशन, प्रोजेक्ट मर्ज, क्लास रीमैप, स्प्लिट पुनर्संतुलन, और बैच प्रोसेसिंग जॉब्स। चैट बॉक्स के ऊपर का एक पिल चल रही जॉब्स की गिनती करता है। उस पर क्लिक करें, या बाएँ मेनू में "Background Tasks" पर क्लिक करें, ताकि एक पैनल खुले जो उन्हें "Running" और "Finished" के तहत सूचीबद्ध करता है। किसी कार्य पर क्लिक करके वह पेज खोलें जिसे उसने बनाया था।
जब कोई कार्य पूरा होता है, Agent चैट में आपको बताता है, भले ही आपने टैब बंद कर दिया हो और बाद में वापस आए हों। यहाँ केवल वे जॉब्स दिखती हैं जो किसी बातचीत के भीतर से शुरू की गई हों। ऐप में कहीं और या API के माध्यम से शुरू किया गया प्रशिक्षण यहाँ नहीं दिखता, और आप उसे इसके बजाय Activity Center में ट्रैक करते हैं।
HTTP API
Agent API आपको Roboflow AI agent के साथ इंटरैक्ट करने देती है api.roboflow.com. आप प्राकृतिक भाषा के निर्देश भेजकर बना या संपादित कर सकते हैं वर्कफ़्लोज़फिर तैयार होने पर उन्हें प्रकाशित करें। सभी संपादन ड्राफ्ट के रूप में सहेजे जाते हैं जब तक कि आप स्पष्ट रूप से प्रकाशित न करें।
प्रमाणीकरण माध्यम से होता है API कुंजी. यदि आप एक स्कोप्ड API कुंजी फ़ोल्डर प्रतिबंधों वाली स्कोप्ड API कुंजी का उपयोग करने पर, agent केवल उस फ़ोल्डर स्कोप के भीतर मौजूद वर्कफ़्लो और मॉडल्स तक पहुँच सकेगा, और वह फ़ोल्डर के बाहर मौजूद प्रोजेक्ट नहीं देख पाएगा। agent से workspace models सूचीबद्ध करने को कहना केवल वही models लौटाता है जिन्हें caller पहले से देख सकता है।
चैट
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.
agentPossible values: 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.
apiPossible values: 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 agent को इससे कनेक्ट करें MCP सर्वर और यह इन टूल्स के साथ काम Roboflow Agent को सौंप सकता है:
agent_chat
Roboflow AI agent के साथ चैट करें।
agent_chat_result
उस रन का परिणाम एकत्र करें जो अभी भी चल रहा था।
agent_conversations_list
कार्यक्षेत्र में agent की बातचीतों की सूची बनाएं।
agent_conversation_get
एक बातचीत को उसके संदेश इतिहास सहित प्राप्त करें।
agent_workflow_publish
Agent द्वारा संपादित वर्कफ़्लो के नवीनतम ड्राफ्ट को प्रकाशित करें।
अंतिम अपडेट
क्या यह उपयोगी था?