Skip to content

Commit df2e68f

Browse files
jessemillerclaude
andauthored
docs: add Flows in Studio documentation (#6575)
* docs: add Flows in Studio documentation Documents the new Flows build mode in Studio: why deterministic workflows with agentic steps matter, the three core node types (Single Agent, Crews, Router), and Agent Repository publish/pull sync across organizations. Includes a rollout banner for the week of July 20th, English source plus pt-BR, Korean, and Arabic translations, and nav entries for both edge and v1.15.2 (Crew Studio group renamed to Studio). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * docs: limit Flows in Studio docs to edge version Versioned snapshots are updated by a separate script, so remove the v1.15.2 copies and revert its nav changes; the page now lives only under edge. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> --------- Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
1 parent 475ce6c commit df2e68f

11 files changed

Lines changed: 500 additions & 4 deletions

File tree

docs/docs.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -409,10 +409,11 @@
409409
"pages": [
410410
"edge/en/enterprise/features/automations",
411411
{
412-
"group": "Crew Studio",
412+
"group": "Studio",
413413
"icon": "pencil",
414414
"pages": [
415415
"edge/en/enterprise/features/crew-studio",
416+
"edge/en/enterprise/features/studio-flows",
416417
"edge/en/enterprise/features/merged-step-card"
417418
]
418419
},
@@ -10704,10 +10705,11 @@
1070410705
"pages": [
1070510706
"edge/pt-BR/enterprise/features/automations",
1070610707
{
10707-
"group": "Crew Studio",
10708+
"group": "Studio",
1070810709
"icon": "pencil",
1070910710
"pages": [
1071010711
"edge/pt-BR/enterprise/features/crew-studio",
10712+
"edge/pt-BR/enterprise/features/studio-flows",
1071110713
"edge/pt-BR/enterprise/features/merged-step-card"
1071210714
]
1071310715
},
@@ -20609,10 +20611,11 @@
2060920611
"pages": [
2061020612
"edge/ko/enterprise/features/automations",
2061120613
{
20612-
"group": "Crew Studio",
20614+
"group": "Studio",
2061320615
"icon": "pencil",
2061420616
"pages": [
2061520617
"edge/ko/enterprise/features/crew-studio",
20618+
"edge/ko/enterprise/features/studio-flows",
2061620619
"edge/ko/enterprise/features/merged-step-card"
2061720620
]
2061820621
},
@@ -30754,10 +30757,11 @@
3075430757
"pages": [
3075530758
"edge/ar/enterprise/features/automations",
3075630759
{
30757-
"group": "استوديو الطاقم",
30760+
"group": "الاستوديو",
3075830761
"icon": "pencil",
3075930762
"pages": [
3076030763
"edge/ar/enterprise/features/crew-studio",
30764+
"edge/ar/enterprise/features/studio-flows",
3076130765
"edge/ar/enterprise/features/merged-step-card"
3076230766
]
3076330767
},
Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
---
2+
title: التدفقات في الاستوديو
3+
description: "أنشئ سير عمل يعتمد على الأحداث يجمع بين التحكم الحتمي خطوة بخطوة والذكاء الوكيلي — دون كتابة أي كود."
4+
icon: "diagram-project"
5+
mode: "wide"
6+
---
7+
8+
<Info>
9+
**الطرح جارٍ حاليًا**: يجري طرح التدفقات في الاستوديو تدريجيًا خلال أسبوع 20 يوليو 2026. إذا لم يظهر لك خيار Flows في الاستوديو بعد، فهذا يعني أن الميزة لم تصل إلى مؤسستك بعد — عاود التحقق قريبًا.
10+
</Info>
11+
12+
## نظرة عامة
13+
14+
يدعم الاستوديو الآن إنشاء **التدفقات (Flows)** إلى جانب فرق Crew. التدفقات هي سير عمل يعتمد على الأحداث تتحكم فيه بدقة في الخطوات التي تُنفَّذ وترتيبها وشروط تنفيذها — بينما تُفوِّض العمل الذكي داخل كل خطوة إلى وكلاء الذكاء الاصطناعي.
15+
16+
لإنشاء تدفق، افتح الاستوديو وصف الأتمتة التي تريدها، ثم اختر **Flows** من المحدد بجوار مربع الإدخال.
17+
18+
<Frame>
19+
![محدد التدفقات في الاستوديو](/images/enterprise/studio-flows-selector.png)
20+
</Frame>
21+
22+
## لماذا التدفقات؟
23+
24+
فرق Crew ممتازة عندما تريد أن يتعاون فريق من الوكلاء بشكل مستقل نحو هدف. لكن كثيرًا من الأتمتة الواقعية يحتاج إلى قدر أكبر من القابلية للتنبؤ: اجلب هذه البيانات أولًا، ثم لخصها، ثم انشر النتيجة — في كل مرة وبنفس الترتيب.
25+
26+
تمنحك التدفقات الأمرين معًا:
27+
28+
- **الحتمية حيث تهم**: تُنفَّذ الخطوات وفق تسلسل محدد وتفرعات صريحة، فتكون عمليات التشغيل قابلة للتنبؤ والتكرار وسهلة التصحيح.
29+
- **الذكاء حيث تحتاجه**: كل خطوة يشغّلها وكيل (أو فريق Crew كامل)، لذا يستفيد العمل داخل الخطوة — التلخيص والتقييم والصياغة واتخاذ القرار — من قدرات الاستدلال الكاملة للنموذج اللغوي.
30+
31+
هذا المزيج هو ما يجعل التدفقات مناسبة للأتمتة في بيئات الإنتاج: البنية مضمونة، والاستقلالية محصورة في الخطوات التي تحتاجها.
32+
33+
## إنشاء تدفق
34+
35+
صف ما تريده بلغة طبيعية وسيصمم مساعد الاستوديو (Studio Assistant) التدفق لك — بإنشاء الخطوات وربطها ببعضها وتهيئة الوكلاء وتكاملات التطبيقات التي تحتاجها كل خطوة. تعرض اللوحة (Canvas) على اليمين سير العمل الناتج كعُقد متصلة، ويمكنك مواصلة التحسين عبر المحادثة أو تعديل أي عقدة مباشرة.
36+
37+
<Frame>
38+
![لوحة التدفق مع مساعد الاستوديو](/images/enterprise/studio-flows-agent-node.png)
39+
</Frame>
40+
41+
عندما تكون جاهزًا، استخدم **Run** لاختبار التدفق من البداية إلى النهاية، وافحص النتائج في تبويبي **Output** و**Traces**، ثم نفّذ **Deploy** عندما يستقر. يمكنك أيضًا مشاركة المشروع عبر **Share** أو تنزيل الكود المصدري عبر **Download**.
42+
43+
## أنواع العُقد
44+
45+
تتكون التدفقات من ثلاثة أنواع أساسية من العُقد. كل عقدة هي خطوة في سير العمل، ويمكنك المزج بينها بحرية.
46+
47+
### الوكيل المنفرد (Single Agent)
48+
49+
تُشغِّل عقدة Single Agent وكيلًا واحدًا لمهمة واحدة مركزة — وهي مثالية للخطوات محددة النطاق مثل جلب البيانات من تكامل، أو تحويل المحتوى، أو نشر رسالة.
50+
51+
عند النقر على عقدة الوكيل تُفتح تهيئتها الكاملة:
52+
53+
- **Task**: ما ينبغي أن تنجزه هذه الخطوة والمخرجات التي يجب أن تنتجها
54+
- **Profile**: دور الوكيل وهدفه وخلفيته
55+
- **Model**: النموذج اللغوي الذي يشغّل الوكيل
56+
- **Apps**: التكاملات التي يمكن للوكيل استخدامها (مثل Linear وSlack وHubSpot)
57+
- **Runtime Controls**: خيارات التخطيط قبل التنفيذ والتفويض والذاكرة
58+
59+
<Frame>
60+
![تهيئة عقدة الوكيل المنفرد](/images/enterprise/studio-flows-agent-config.png)
61+
</Frame>
62+
63+
### فرق Crew
64+
65+
تُضمِّن عقدة Crew فريقًا كاملًا — عدة وكلاء يتعاونون عبر عدة مهام — كخطوة واحدة في تدفقك. استخدمها عندما تكون الخطوة أكبر من أن يتولاها وكيل واحد، مثل تجميع البيانات وتلخيصها حسب الفريق ثم تنسيق النتيجة للتسليم.
66+
67+
<Frame>
68+
![عقدة Crew داخل تدفق](/images/enterprise/studio-flows-crew-node.png)
69+
</Frame>
70+
71+
يكشف فتح عقدة Crew عن بنيتها الداخلية: المهام التي تؤديها، والوكلاء المعيّنين لكل مهمة، والتطبيقات التي يستخدمونها. يعمل الفريق بشكل مستقل داخل الخطوة، ثم يسلّم مخرجاته إلى العقدة التالية في التدفق.
72+
73+
<Frame>
74+
![داخل عقدة Crew](/images/enterprise/studio-flows-crew-detail.png)
75+
</Frame>
76+
77+
هذا هو نمط الحتمية مع الذكاء الوكيلي عمليًا: يضمن التدفق *متى* يعمل الفريق، بينما يضيف الفريق ذكاءً تعاونيًا إلى *كيفية* إنجاز العمل.
78+
79+
### الموجِّه (Router)
80+
81+
تُفرِّع عقدة Router التدفق بناءً على شروط، بحيث تسلك النتائج المختلفة مسارات مختلفة. على سبيل المثال، يمكن لتدفق توجيه العملاء المحتملين تقييم العملاء الواردين ثم توجيه ذوي الجودة العالية إلى خطوة إسناد المبيعات، مع تسجيل البقية للمتابعة والرعاية لاحقًا.
82+
83+
<Frame>
84+
![عقدة الموجّه مع تفرعات شرطية](/images/enterprise/studio-flows-router-node.png)
85+
</Frame>
86+
87+
الموجِّهات هي ما يجعل التدفقات معتمدة على الأحداث فعليًا: يتعامل سير العمل نفسه مع كل الحالات، لكن كل عملية تشغيل تتبع فقط الفرع الذي تستدعيه بياناتها — بلا خطوات مهدرة ولا غموض حول ما سيحدث تاليًا.
88+
89+
## المزامنة مع مستودع الوكلاء
90+
91+
لا يلزم أن يبقى الوكلاء الذين تنشئهم في التدفقات حبيسي مشروع واحد. تتضمن كل عقدة وكيل زر **Publish to Agent Repository** الذي يحفظ الوكيل — بدوره وهدفه وخلفيته ونموذجه وتهيئته — في [مستودع الوكلاء](/ar/enterprise/features/agent-repositories) الخاص بمؤسستك.
92+
93+
يعمل هذا في الاتجاهين:
94+
95+
- **النشر**: رقِّ وكيلًا حسّنته داخل تدفق إلى المستودع ليتمكن باقي الفرق والمشاريع من إعادة استخدامه.
96+
- **السحب**: أدخِل وكيلًا موجودًا من المستودع إلى تدفق جديد بدلًا من إعادة بنائه من الصفر.
97+
98+
ولأن وكلاء المستودع متزامنون عبر مؤسستك كلها، فإن أي تحسين على وكيل مشترك يعود بالنفع على كل تدفق يستخدمه — مما يحافظ على سلوك وكلاء متسق وخاضع للحوكمة وخالٍ من ازدواجية الجهد.
99+
100+
## أفضل الممارسات
101+
102+
- **اختر التدفق** عندما يكون للأتمتة تسلسل واضح أو منطق تفرّع؛ واختر Crew عندما يكون الطريق إلى الهدف مفتوحًا.
103+
- **أبقِ مهام الوكلاء مركزة** — عقدة Single Agent بوصف مهمة محكم أكثر موثوقية من وكيل مطلوب منه ثلاثة أشياء.
104+
- **استخدم الموجّهات لمعالجة كل حالة صراحةً**، بما في ذلك مسار "عدم فعل شيء" (مثل تسجيل العملاء المتجاوزين)، حتى تكون كل عمليات التشغيل محسوبة بالكامل.
105+
- **انشر الوكلاء المستقرين في مستودع الوكلاء** لتبني مؤسستك مكتبة مشتركة بدلًا من نسخ متوازية لمرة واحدة.
106+
- **اختبر عبر Run وافحص Traces** قبل النشر لاكتشاف مشكلات التكامل أو الموجِّهات النصية مبكرًا.
107+
108+
## ذات صلة
109+
110+
<CardGroup cols={4}>
111+
<Card title="استوديو الطاقم" href="/ar/enterprise/features/crew-studio" icon="pencil">
112+
أنشئ فرق Crew في الاستوديو.
113+
</Card>
114+
<Card title="مستودعات الوكلاء" href="/ar/enterprise/features/agent-repositories" icon="people-group">
115+
شارك الوكلاء وأعد استخدامهم عبر مؤسستك.
116+
</Card>
117+
<Card title="مفاهيم التدفقات" href="/ar/concepts/flows" icon="diagram-project">
118+
تعرّف على كيفية عمل التدفقات في إطار عمل CrewAI.
119+
</Card>
120+
<Card title="الأدوات والتكاملات" href="/ar/enterprise/features/tools-and-integrations" icon="plug">
121+
اربط التطبيقات التي يستخدمها وكلاؤك.
122+
</Card>
123+
</CardGroup>
Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
---
2+
title: Flows in Studio
3+
description: "Build event-driven workflows that combine deterministic, step-by-step control with agentic intelligence — no code required."
4+
icon: "diagram-project"
5+
mode: "wide"
6+
---
7+
8+
<Info>
9+
**Rolling out now**: Flows in Studio is being rolled out gradually during the week of July 20th, 2026. If you don't see the Flows option in Studio yet, it hasn't reached your organization — check back soon.
10+
</Info>
11+
12+
## Overview
13+
14+
Studio now supports building **Flows** in addition to Crews. Flows are event-driven workflows where you control exactly which steps run, in what order, and under what conditions — while still delegating the intelligent work within each step to AI agents.
15+
16+
To build a Flow, open Studio, describe your automation, and select **Flows** from the selector next to the prompt box.
17+
18+
<Frame>
19+
![Flows selector in Studio](/images/enterprise/studio-flows-selector.png)
20+
</Frame>
21+
22+
## Why Flows?
23+
24+
Crews are great when you want a team of agents to collaborate autonomously toward a goal. But many real-world automations need more predictability: fetch this data first, then summarize it, then post the result — every time, in that order.
25+
26+
Flows give you both:
27+
28+
- **Determinism where it matters**: steps execute in a defined sequence with explicit branching, so runs are predictable, repeatable, and easy to debug.
29+
- **Intelligence where you need it**: each step is powered by an agent (or an entire crew), so the work inside a step — summarizing, scoring, drafting, deciding — benefits from full LLM reasoning.
30+
31+
This mix is what makes Flows well suited for production automations: the structure is guaranteed, and the agency is scoped to the steps that need it.
32+
33+
## Building a Flow
34+
35+
Describe what you want in natural language and the Studio Assistant designs the Flow for you — creating the steps, wiring them together, and configuring the agents and app integrations each step needs. The canvas on the right shows the resulting workflow as connected nodes, and you can keep iterating conversationally or edit any node directly.
36+
37+
<Frame>
38+
![Flow canvas with the Studio Assistant](/images/enterprise/studio-flows-agent-node.png)
39+
</Frame>
40+
41+
When you're ready, use **Run** to test the Flow end-to-end, inspect results in the **Output** and **Traces** tabs, and **Deploy** when it's stable. You can also **Share** the project or **Download** the source code.
42+
43+
## Node Types
44+
45+
Flows are composed from three core node types. Each node is a step in the workflow, and you can mix them freely.
46+
47+
### Single Agent
48+
49+
A Single Agent node runs one agent against one focused task — ideal for well-scoped steps like fetching data from an integration, transforming content, or posting a message.
50+
51+
Clicking into an agent node opens its full configuration:
52+
53+
- **Task**: what this step should accomplish and what output it should produce
54+
- **Profile**: the agent's role, goal, and backstory
55+
- **Model**: which LLM powers the agent
56+
- **Apps**: the integrations the agent can use (e.g. Linear, Slack, HubSpot)
57+
- **Runtime Controls**: toggles for planning before executing, delegation, and memory
58+
59+
<Frame>
60+
![Single Agent node configuration](/images/enterprise/studio-flows-agent-config.png)
61+
</Frame>
62+
63+
### Crews
64+
65+
A Crew node embeds an entire crew — multiple agents collaborating across multiple tasks — as a single step in your Flow. Use it when a step is too rich for one agent, like grouping and summarizing data by team and then formatting the result for delivery.
66+
67+
<Frame>
68+
![Crew node in a Flow](/images/enterprise/studio-flows-crew-node.png)
69+
</Frame>
70+
71+
Opening a Crew node reveals its internal structure: the tasks it performs, the agents assigned to each, and the apps they use. The crew runs autonomously within the step, then hands its output to the next node in the Flow.
72+
73+
<Frame>
74+
![Inside a Crew node](/images/enterprise/studio-flows-crew-detail.png)
75+
</Frame>
76+
77+
This is the deterministic-plus-agentic pattern in action: the Flow guarantees *when* the crew runs, and the crew brings collaborative intelligence to *how* the work gets done.
78+
79+
### Router
80+
81+
A Router node branches the Flow based on conditions, so different outcomes take different paths. For example, a lead-routing Flow can score incoming leads and then route high-quality leads to a sales-assignment step while logging the rest for future nurturing.
82+
83+
<Frame>
84+
![Router node with conditional branches](/images/enterprise/studio-flows-router-node.png)
85+
</Frame>
86+
87+
Routers are what make Flows genuinely event-driven: the same workflow handles every case, but each run follows only the branch its data warrants — no wasted steps, no ambiguity about what happens next.
88+
89+
## Agent Repository Sync
90+
91+
Agents you build in Flows don't have to stay locked inside a single project. Every agent node includes a **Publish to Agent Repository** button that saves the agent — its role, goal, backstory, model, and configuration — to your organization's [Agent Repository](/en/enterprise/features/agent-repositories).
92+
93+
This works in both directions:
94+
95+
- **Publish**: promote an agent you've refined in a Flow to the repository so other teams and projects can reuse it.
96+
- **Pull**: bring an existing repository agent into a new Flow instead of rebuilding it from scratch.
97+
98+
Because repository agents are synced across your organization, an improvement made to a shared agent benefits every Flow that uses it — keeping agent behavior consistent, governed, and free of duplicated effort.
99+
100+
## Best Practices
101+
102+
- **Reach for a Flow** when the automation has a clear sequence or branching logic; reach for a Crew when the path to the goal is open-ended.
103+
- **Keep agent tasks focused** — a Single Agent node with a tight task description is more reliable than one asked to do three things.
104+
- **Use Routers to handle every case explicitly**, including the "do nothing" path (e.g. logging skipped leads), so runs are fully accounted for.
105+
- **Publish stable agents to the Agent Repository** so your organization builds a shared library instead of parallel one-offs.
106+
- **Test with Run and inspect Traces** before deploying to catch integration or prompt issues early.
107+
108+
## Related
109+
110+
<CardGroup cols={4}>
111+
<Card title="Crew Studio" href="/en/enterprise/features/crew-studio" icon="pencil">
112+
Build Crews in Studio.
113+
</Card>
114+
<Card title="Agent Repositories" href="/en/enterprise/features/agent-repositories" icon="people-group">
115+
Share and reuse agents across your organization.
116+
</Card>
117+
<Card title="Flows Concepts" href="/en/concepts/flows" icon="diagram-project">
118+
Learn how Flows work in the CrewAI framework.
119+
</Card>
120+
<Card title="Tools & Integrations" href="/en/enterprise/features/tools-and-integrations" icon="plug">
121+
Connect the apps your agents use.
122+
</Card>
123+
</CardGroup>

0 commit comments

Comments
 (0)