Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
466 lines (457 loc) · 36.6 KB
/
Copy pathindex.html
File metadata and controls
466 lines (457 loc) · 36.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="color-scheme" content="dark">
<title>Building Reliable Agentic Systems That Survive Production</title>
<style>
:root {
--bg: #11100e;
--panel: #1d1a16;
--panel-2: #28221b;
--line: #514136;
--text: #faf4eb;
--muted: #c4b6a7;
--accent: #ff8d60;
--accent-pale: #ffc7a7;
--ink: #22140d;
--mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
--sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
--pad: clamp(24px, 5.4vw, 86px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-snap-type: y proximity; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.45 var(--sans); }
a { color: var(--accent-pale); text-underline-offset: .2em; }
a:hover { color: #fff; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: -.045em; line-height: 1.04; }
h1 { font-size: clamp(2.9rem, 5.6vw, 5.8rem); max-width: 16ch; margin-bottom: clamp(16px, 3vh, 32px); }
h2 { font-size: clamp(1.8rem, 3vw, 3.2rem); max-width: 30ch; margin-bottom: clamp(14px, 2vh, 24px); }
h3 { font-size: clamp(1rem, 1.6vw, 1.35rem); line-height: 1.18; margin-bottom: 8px; }
p { color: var(--muted); }
strong { color: var(--text); }
code, pre, .label, .eyebrow, .number, .slide-count, .file, .key { font-family: var(--mono); }
code { color: var(--accent-pale); font-size: .9em; }
pre { white-space: pre-wrap; word-break: break-word; color: var(--text); background: #0d0c0a; border: 1px solid var(--line); border-radius: 11px; padding: 17px 20px; font: clamp(.7rem, 1.15vw, .95rem)/1.55 var(--mono); margin: 0; }
pre code { color: inherit; font-size: inherit; }
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--accent); z-index: 50; }
.topbar { height: 64px; position: fixed; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 var(--pad); z-index: 40; background: rgba(17,16,14,.95); border-bottom: 1px solid var(--line); }
.brand { font-size: .76rem; font-family: var(--mono); font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--text); text-decoration: none; white-space: nowrap; }
.brand span { color: var(--accent); }
.toplinks { display: flex; align-items: center; gap: clamp(10px, 2vw, 25px); }
.toplinks a, .toplinks button { background: transparent; border: 0; color: var(--muted); font: 600 .78rem var(--mono); text-decoration: none; white-space: nowrap; padding: 8px 2px; }
.toplinks a:hover, .toplinks button:hover { color: var(--text); }
.toplinks .notes-link { color: var(--accent-pale); }
.slide { scroll-snap-align: start; position: relative; min-height: 100dvh; padding: calc(64px + clamp(20px, 3vh, 36px)) var(--pad) clamp(45px, 6vh, 64px); border-bottom: 1px solid var(--line); display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.slide::before { content: ""; position: absolute; inset: 64px 0 0; z-index: -1; pointer-events: none; background: linear-gradient(to right, transparent calc(50% - .5px), rgba(255,141,96,.055) 50%, transparent calc(50% + .5px)), repeating-linear-gradient(to bottom, transparent 0 74px, rgba(255,141,96,.035) 75px 76px); opacity: .7; }
.slide:nth-of-type(2n)::before { background-position: 28px 0; }
.content { width: 100%; max-width: 1420px; margin: 0 auto; }
.title-layout { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: clamp(30px, 5vw, 80px); align-items: center; }
.title-qr { display: grid; justify-items: start; gap: 10px; margin: 0; }
.title-qr .qr-image { display: block; padding: 13px; background: #fff; border-radius: 10px; }
.title-qr img { display: block; width: 204px; height: 204px; image-rendering: pixelated; }
.title-qr figcaption { color: var(--muted); font: .76rem/1.45 var(--mono); }
.title-qr figcaption a { display: block; overflow-wrap: anywhere; }
.section-mark { display: inline-flex; align-items: center; gap: 13px; font: 700 .78rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: clamp(7px, 1.4vh, 15px); }
.section-mark::before { content: ""; width: 33px; height: 2px; background: currentColor; }
.slide-count { position: absolute; bottom: 25px; left: var(--pad); color: var(--muted); font-size: .76rem; }
.slide-count b { color: var(--text); font-weight: 800; }
.footer-note { position: absolute; bottom: 24px; right: var(--pad); font: .74rem var(--mono); color: var(--muted); }
.lede { max-width: 62ch; font-size: clamp(1rem, 1.65vw, 1.34rem); line-height: 1.48; }
.big-idea { font-size: clamp(1.25rem, 2.5vw, 2.3rem); line-height: 1.26; letter-spacing: -.025em; color: var(--text); max-width: 36ch; }
.accent { color: var(--accent); }
.muted { color: var(--muted); }
.split { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); gap: clamp(24px, 5vw, 84px); align-items: center; }
.split.wide-left { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
.stack { display: grid; gap: clamp(12px, 2vh, 23px); }
.micro { color: var(--muted); font-size: clamp(.82rem, 1.14vw, 1rem); line-height: 1.43; }
.label { display: block; color: var(--accent); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 9px; }
.outcome { margin-top: clamp(10px, 2vh, 20px); padding: 10px 0 0; border-top: 2px solid var(--accent); max-width: 65ch; }
.outcome p { margin: 0; font-size: clamp(.85rem, 1.25vw, 1.05rem); color: var(--text); }
.outcome .label { margin-bottom: 6px; }
.linkline { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin-top: clamp(10px, 1.7vh, 18px); font: .78rem var(--mono); }
.linkline a { text-decoration: none; border-bottom: 1px solid currentColor; }
.route-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: clamp(28px, 6vh, 62px); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.route-strip > div { padding: clamp(12px, 1.6vw, 22px); background: var(--panel); border-right: 1px solid var(--line); min-height: 102px; }
.route-strip > div:last-child { border-right: 0; }
.route-strip .number { display: block; font-size: .75rem; font-weight: 800; color: var(--accent); margin-bottom: 14px; }
.route-strip strong { font-size: clamp(.82rem, 1.2vw, 1.05rem); line-height: 1.22; display: block; }
.route-strip small { display: block; color: var(--muted); font-size: clamp(.68rem, 1vw, .87rem); line-height: 1.3; margin-top: 7px; }
.agenda { display: grid; border-top: 1px solid var(--line); }
.agenda a { display: grid; grid-template-columns: 65px minmax(180px, .87fr) minmax(200px, 1.4fr); gap: clamp(12px, 3vw, 44px); align-items: baseline; padding: clamp(11px, 2vh, 18px) 6px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); }
.agenda a:hover { background: var(--panel); }
.agenda .number { color: var(--accent); font-size: .85rem; font-weight: 800; }
.agenda strong { font-size: clamp(.98rem, 1.55vw, 1.3rem); }
.agenda span:last-child { color: var(--muted); font-size: clamp(.77rem, 1.15vw, .97rem); }
.control-chain { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: stretch; gap: 9px; margin: clamp(24px, 4vh, 42px) 0; }
.control-chain div { border: 1px solid var(--line); background: var(--panel); border-radius: 10px; padding: clamp(13px, 2vw, 24px); min-height: 124px; position: relative; }
.control-chain div:not(:last-child)::after { content: "→"; position: absolute; right: -15px; top: 42%; background: var(--bg); padding: 0 3px; color: var(--accent); z-index: 2; font: 700 1rem var(--mono); }
.control-chain .label { margin-bottom: 16px; }
.control-chain strong { display: block; font-size: clamp(.83rem, 1.2vw, 1rem); }
.control-chain small { display: block; color: var(--muted); font-size: clamp(.7rem, 1vw, .86rem); line-height: 1.35; margin-top: 8px; }
.triad article { border-top: 2px solid var(--accent); padding-top: 15px; }
.triad p { font-size: clamp(.78rem, 1.08vw, .95rem); margin: 0; }
.list { list-style: none; padding: 0; margin: 0; display: grid; gap: clamp(10px, 2vh, 18px); }
.list li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; border-bottom: 1px solid var(--line); padding: 0 0 clamp(9px, 1.6vh, 16px); }
.list li:last-child { border-bottom: 0; }
.list b { color: var(--accent); font: 700 .76rem var(--mono); padding-top: 3px; }
.list strong { display: block; font-size: clamp(.94rem, 1.3vw, 1.12rem); margin-bottom: 4px; }
.list span { color: var(--muted); font-size: clamp(.78rem, 1.1vw, .96rem); }
.terminal { background: #0b0b09; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.terminal .top { padding: 10px 16px; border-bottom: 1px solid var(--line); font: .72rem var(--mono); color: var(--muted); }
.terminal pre { border: 0; border-radius: 0; }
.terminal em { color: var(--accent); font-style: normal; }
.branch { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin: 16px 0; }
.branch article { border: 1px solid var(--line); border-radius: 11px; padding: clamp(18px, 2.4vw, 29px); background: var(--panel); }
.branch .key { display: block; color: var(--accent); font-size: .8rem; margin-bottom: 14px; }
.branch strong { display: block; font-size: clamp(1rem, 1.6vw, 1.35rem); margin-bottom: 11px; }
.branch p { font-size: clamp(.78rem, 1.12vw, .98rem); margin: 0; }
.join { padding: 14px 20px; border: 1px dashed var(--accent); border-radius: 10px; color: var(--text); text-align: center; font: clamp(.8rem, 1.2vw, 1rem) var(--mono); }
.profile-table { border-collapse: collapse; width: 100%; font-size: clamp(.8rem, 1.2vw, 1.04rem); }
.profile-table th { color: var(--accent); text-align: left; font: 700 .75rem var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.profile-table th, .profile-table td { border-bottom: 1px solid var(--line); padding: clamp(11px, 1.7vw, 19px) 13px; vertical-align: top; }
.profile-table td:first-child { color: var(--text); font-weight: 750; }
.profile-table td:not(:first-child) { color: var(--muted); }
.profile-table .yes { color: var(--text) !important; }
.turn-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.turn { background: var(--panel); border: 1px solid var(--line); border-radius: 11px; padding: clamp(15px, 2vw, 25px); min-height: 235px; display: flex; flex-direction: column; }
.turn.hot { border-color: var(--accent); background: var(--panel-2); }
.turn .number { color: var(--accent); font: 800 .75rem var(--mono); }
.turn q { color: var(--text); font-size: clamp(.9rem, 1.35vw, 1.2rem); line-height: 1.3; margin: 22px 0 auto; }
.turn .route { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 16px; font: 700 clamp(.68rem, 1vw, .86rem) var(--mono); color: var(--accent-pale); }
.caution { border-left: 3px solid var(--accent); padding: 12px 18px; background: var(--panel); font-size: clamp(.77rem, 1.08vw, .95rem); max-width: 75ch; }
.caution p { margin: 0; }
.triad { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 44px); margin: 27px 0; }
.triad h3 { margin-bottom: 8px; }
.diagram-board { border: 1px solid var(--line); border-radius: 16px; background: radial-gradient(circle at 50% 35%, rgba(255,141,96,.09), transparent 58%), var(--panel); padding: clamp(20px, 3vw, 38px); position: relative; }
.diagram-board::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background-image: linear-gradient(rgba(255,141,96,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,141,96,.06) 1px, transparent 1px); background-size: 32px 32px; pointer-events: none; }
.diagram-board > * { position: relative; }
.diagram-caption { color: var(--accent); font: 700 .73rem var(--mono); letter-spacing: .1em; text-transform: uppercase; margin-bottom: clamp(18px, 3vh, 32px); }
.diagram-node { border: 1px solid var(--line); border-radius: 11px; background: #171410; padding: clamp(13px, 2vw, 25px); text-align: center; }
.diagram-node.hot { border-color: var(--accent); background: #32231b; box-shadow: 0 0 0 1px rgba(255,141,96,.15) inset; }
.diagram-node strong { display: block; font-size: clamp(.97rem, 1.55vw, 1.42rem); line-height: 1.2; }
.diagram-node small { display: block; color: var(--muted); font-size: clamp(.72rem, 1vw, .86rem); margin-top: 7px; line-height: 1.3; }
.diagram-arrow { color: var(--accent); font: 800 clamp(1.15rem, 2vw, 1.8rem) var(--mono); text-align: center; align-self: center; }
.diagram-lane { display: grid; grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1.3fr) 42px minmax(0, 1fr); gap: 7px; align-items: center; }
.diagram-support { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: clamp(14px, 2vh, 22px); }
.diagram-support span { color: var(--accent-pale); border: 1px solid var(--line); background: #171410; border-radius: 999px; padding: 6px 10px; font: .72rem var(--mono); }
.diagram-out { margin: clamp(16px, 2.5vh, 26px) auto 0; width: fit-content; max-width: 100%; border-top: 2px solid var(--accent); padding: 12px 20px 0; color: var(--text); text-align: center; font: clamp(.8rem, 1.16vw, 1rem) var(--mono); }
.diagram-branches { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 2vw, 24px); width: 100%; }
.diagram-branches .diagram-node { min-height: 116px; }
.diagram-note { color: var(--muted); text-align: center; font-size: clamp(.75rem, 1vw, .88rem); margin: 14px 0 0; }
.route-board { display: grid; grid-template-columns: minmax(0,.75fr) 36px minmax(0,1fr) 36px minmax(0,1.25fr); gap: 8px; align-items: stretch; }
.route-board .diagram-node { display: flex; flex-direction: column; justify-content: center; }
.route-board .diagram-arrow { align-self: center; }
.eval-bars { display: grid; gap: 19px; margin: 22px 0 24px; }
.eval-row { display: grid; grid-template-columns: 145px minmax(0,1fr) 88px; gap: 15px; align-items: center; font: clamp(.79rem, 1.15vw, .98rem) var(--mono); }
.eval-row span:first-child { color: var(--text); }
.eval-row strong { color: var(--text); text-align: right; font-weight: 800; }
.eval-track { height: 23px; border: 1px solid var(--line); background: #130f0c; border-radius: 999px; overflow: hidden; }
.eval-fill { display: block; height: 100%; width: var(--bar); background: var(--accent); border-radius: inherit; }
.eval-row:not(:first-child) .eval-fill { background: #8b7768; }
.bottom-nav { position: fixed; bottom: 18px; right: var(--pad); z-index: 45; display: flex; gap: 6px; }
.bottom-nav button { width: 37px; height: 37px; border-radius: 8px; background: #24201b; border: 1px solid var(--line); color: var(--text); font: 700 1rem var(--mono); }
.bottom-nav button:hover { border-color: var(--accent); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.slide.visible .reveal { opacity: 1; transform: none; }
.slide.visible .reveal:nth-child(2) { transition-delay: .08s; }
.slide.visible .reveal:nth-child(3) { transition-delay: .16s; }
.slide.visible .reveal:nth-child(4) { transition-delay: .24s; }
.editor-tools { display: none; gap: 5px; }
body.editing .editor-tools { display: flex; }
body.editing [data-ed] { outline: 1px dashed var(--accent); outline-offset: 4px; }
body.editing [data-ed]:focus { outline: 2px solid var(--accent); }
@media (max-width: 900px) {
.slide { padding-top: 110px; }
.title-layout { grid-template-columns: 1fr; gap: 20px; }
.title-qr img { width: 160px; height: 160px; }
.split, .split.wide-left { grid-template-columns: 1fr; gap: 26px; }
.control-chain { grid-template-columns: repeat(3, 1fr); }
.control-chain div:not(:last-child)::after { display: none; }
.turn-grid { grid-template-columns: repeat(2, 1fr); }
.route-strip { grid-template-columns: repeat(5, 1fr); }
.route-strip > div { padding: 12px 10px; }
.diagram-lane { grid-template-columns: 1fr 28px 1fr 28px 1fr; }
.route-board { grid-template-columns: 1fr 24px 1fr 24px 1fr; }
}
@media (max-width: 620px) {
.topbar { height: 56px; }
.toplinks a:nth-child(1) { display: none; }
.slide { padding: 94px var(--pad) 74px; }
h1 { font-size: 3rem; }
h2 { font-size: 1.9rem; }
.agenda a { grid-template-columns: 35px 1fr; gap: 8px 12px; }
.agenda span:last-child { grid-column: 2; }
.route-strip { grid-template-columns: 1fr; }
.route-strip > div { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); display: flex; gap: 13px; align-items: baseline; }
.route-strip > div:last-child { border-bottom: 0; }
.route-strip .number { margin: 0; }
.route-strip small { display: none; }
.control-chain, .turn-grid, .triad, .branch { grid-template-columns: 1fr; }
.control-chain div { min-height: 0; }
.turn { min-height: 0; }
.turn q { margin: 12px 0; }
.profile-table { font-size: .75rem; }
.profile-table th, .profile-table td { padding: 9px 6px; }
.footer-note { display: none; }
.diagram-lane, .route-board { display: flex; flex-direction: column; }
.diagram-lane > *, .route-board > * { width: 100%; }
.diagram-branches { grid-template-columns: 1fr; }
.diagram-arrow { transform: rotate(90deg); }
.eval-row { grid-template-columns: 95px minmax(0,1fr) 62px; gap: 8px; }
}
@media (max-height: 700px) and (min-width: 901px) {
.slide { padding-top: 94px; padding-bottom: 64px; }
h2 { font-size: clamp(1.65rem, 2.8vw, 2.8rem); }
.section-mark { margin-bottom: 13px; }
.turn { min-height: 185px; }
.route-strip { margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } }
@media print {
:root { color-scheme: light; --bg: #fff; --panel: #fff; --panel-2: #fff; --line: #aaa; --text: #111; --muted: #333; --accent: #a53e14; --accent-pale: #842e0d; }
body { background: white; color: black; }
.topbar, .bottom-nav, .progress, .slide-count, .footer-note { display: none; }
.slide { min-height: 0; height: 100vh; padding: 25px 35px; break-after: page; }
.slide::before { display: none; }
.reveal { opacity: 1; transform: none; }
pre { background: #fff; color: #111; }
}
</style>
</head>
<body>
<div class="progress" aria-hidden="true"></div>
<header class="topbar">
<a class="brand" href="#slide-1">CrewAI <span>/</span> Production Lab</a>
<nav class="toplinks" aria-label="Deck resources">
<a href="README.md">Lab setup</a>
<a class="notes-link" href="speaker-notes.html">Speaker notes</a>
<button id="editToggle" type="button" title="Toggle text editing (E)">Edit</button>
<span class="editor-tools"><button id="exportBtn" type="button">Export</button><button id="resetBtn" type="button">Reset</button></span>
</nav>
</header>
<nav class="bottom-nav" aria-label="Slide navigation"><button id="prev" type="button" aria-label="Previous slide">←</button><button id="next" type="button" aria-label="Next slide">→</button></nav>
<section class="slide" id="slide-1" aria-label="Title">
<div class="content title-layout">
<div>
<div class="section-mark reveal">Conference lab</div>
<h1 class="reveal" data-ed>Building Reliable Agentic Systems That Survive Production</h1>
</div>
<figure class="title-qr reveal">
<a class="qr-image" href="https://github.com/crewAIInc/crewai-lab" aria-label="Open the CrewAI lab repository"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACcAAAAnCAYAAACMo1E1AAAAAXNSR0IArs4c6QAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAJ6ADAAQAAAABAAAAJwAAAAAd/OCSAAADQElEQVRYCc3U21LjQAwE0M0W///LrNtwTFuZCewbU0U06psUJ+Txfpw/v/S8Za/H47Fdz+7R5N41Jph7amvwuxr96kR/LhcyzTy9NN4QntZYauboZehldJ+7zGu5BnPvIOJXOI62F+03RJfq8KTvubfliHe1h3SIRdTv/N/p+H+0XC/F6N32kuF6ME1wGVMfbnduy31nNIwuvWW6Gmah7t27ymss92s5g6cgfQ82UGD3O53syctezTy5I/z533SnPnCDSCynT21MfC9G057V/e8EE2KB3d3A6e1+p9nhPUvO9mONWFDfGXc1nuhfHbnR0PL1rHO5Bjq08Xmnm3h6x8BeBkdHE5xO5tOTI2ixwNQOhcPSt7/71RLhedX2X9+5gB0QMcMcsgt95ZdBkzrPxK4ntxsotBeFCV8N7EHx0vDC0rurvLflDOsAdxxjguYRrk5+1/ficoOdyzWZAAs0Dgu/G956ulRe/M5Pa8HrOxcipwM6hAGm/3B9vcYvI9VpPXyF0ae+/FgJhajB5wAL4fR0amdObHrO5Xpom3sQvCtfD3HHRZ+7we1fcXRnPV6uZ9+B4Inpm+97Bs7eQsH5YV3x/LcnB4xBSGMdhIfp54DwMqLB8+lpgtM9fecQETHA1HA5s28Mlzrx9J2Nbzz3p+UIvaM2zEB9NDn6udAH+/U6s3dv5FxuhorpkGBC8LDuc5e34+Wk9l0O/+13DkgUYw/oZVube3M8BstLbV/jfb/mHuJ3DYFBqyADVZ5VBi4V/1+Zh/hpuYQlZC4QfB4atXkLBZOH16c6U399rBFNoQAmNWG554+HtjlDWwPj7cxw0dI/jsv55AIQXuTn8MbdBel5DJ81up4x+dmf2uPl67lOxWffwQaw4SK1aO5TF8xpT7Dpozs/1pC7P8IOaMwSwSwMU1vvnrrKbPz6ERa8MhvSmgR3zze1NPS9EG569ddyAXZGwVMjpGtrG7c0rGcFs6ga7PpvTfOTE7O/1s9h4WAqnxpN7jnR0J3A8XJ7csBZExCjitf3gHCGNL/C8PHMjPS35QginmcG9TDa6adJba6z4p29vGs5QYhdFbSr8YVTV7m9bO40fPrzR/hM+oUv/wDle5uNQMEf/wAAAABJRU5ErkJggg==" alt="QR code for the CrewAI lab repository" width="204" height="204"></a>
<figcaption>Scan for the lab repo<a href="https://github.com/crewAIInc/crewai-lab">github.com/crewAIInc/crewai-lab</a></figcaption>
</figure>
</div>
<div class="slide-count"><b>01</b> / 13</div><div class="footer-note">→ next / ← previous</div>
</section>
<section class="slide" id="slide-2" aria-label="Lab roadmap">
<div class="content">
<div class="section-mark reveal">The route through the lab</div>
<div class="agenda reveal">
<a href="#slide-3"><span class="number">01</span><strong>Reliable primitives</strong><span>Bound capabilities, validate decisions, pause, observe.</span></a>
<a href="#slide-4"><span class="number">02</span><strong>First Agent + harness</strong><span>Produce a cited company brief with search-only MCP.</span></a>
<a href="#slide-6"><span class="number">03</span><strong>Event-driven Flows</strong><span>Triage a case in code; review and gate publication.</span></a>
<a href="#slide-8"><span class="number">04</span><strong>Conversational Flows</strong><span>Classify each turn; enforce permissions before tools.</span></a>
<a href="#slide-10"><span class="number">05</span><strong>Jev routing</strong><span>Ask typed questions, clarify ambiguity, evaluate routes.</span></a>
</div>
</div>
<div class="slide-count"><b>02</b> / 13</div>
</section>
<section class="slide" id="slide-3" aria-label="Reliable primitives and Module 01">
<span id="slide-4" aria-hidden="true" style="position:absolute;top:0;left:0"></span>
<div class="content">
<div class="section-mark reveal">01 + 02 / Reliable primitives / Module 01</div>
<h2 class="reveal">Start with one bounded agent.</h2>
<p class="lede reveal">A company research question gives us the first control-flow loop: define the job, limit the tool, and inspect the result.</p>
<div class="diagram-board reveal" role="img" aria-label="A research question goes to an agent with a search-only MCP tool, then returns a structured brief with sources and open questions">
<div class="diagram-caption">Company research / first agent + harness</div>
<div class="diagram-lane">
<div class="diagram-node"><span class="label">Input</span><strong>Research a company</strong><small>One question at kickoff</small></div>
<div class="diagram-arrow">→</div>
<div class="diagram-node hot"><span class="label">Bounded Agent</span><strong>Role + goal + search MCP</strong><small>Only <code>firecrawl_search</code> is exposed</small></div>
<div class="diagram-arrow">→</div>
<div class="diagram-node"><span class="label">Evidence</span><strong>CompanyResearchBrief</strong><small>Sources, signals, open questions</small></div>
</div>
<div class="diagram-support"><span>clear task</span><span>tool allowlist</span><span>typed output</span></div>
</div>
<div class="outcome reveal"><span class="label">What you will learn</span><p>Where the model can act, where code sets boundaries, and how to check a result before using it.</p></div>
<div class="linkline reveal"><a href="modules/01-company-research-agent/deck.html">Module 01 deck</a><a href="modules/01-company-research-agent/README.md">Exercise guide</a></div>
</div>
<div class="slide-count"><b>03</b> / 07</div>
</section>
<section class="slide" id="slide-6" aria-label="Module 02 event-driven Flows">
<div class="content">
<div class="section-mark reveal">03 / Event-driven Flows / Module 02</div>
<h2 class="reveal">Make the route visible in state.</h2>
<p class="lede reveal">TriageX takes a support case through normalization, deterministic priority, a branch, and an optional human pause.</p>
<div class="diagram-board reveal" role="img" aria-label="A support case enters a Flow, typed state stores triage, and critical and standard branches handle it differently">
<div class="diagram-caption">TriageX / event-based orchestration</div>
<div class="diagram-lane">
<div class="diagram-node"><span class="label">Event</span><strong>Incoming support case</strong><small>Normalize the data</small></div>
<div class="diagram-arrow">→</div>
<div class="diagram-node hot"><span class="label">Typed Flow state</span><strong>Queue + priority</strong><small><code>@start</code>, <code>@listen</code>, <code>@router</code></small></div>
<div class="diagram-arrow">→</div>
<div class="diagram-node"><span class="label">Branch</span><strong>Critical or standard</strong><small>Code selects the path</small></div>
</div>
<div class="diagram-branches" style="margin-top:16px">
<div class="diagram-node"><span class="label">Critical</span><strong>Human review</strong><small>Pause before optional publication</small></div>
<div class="diagram-node"><span class="label">Standard</span><strong>Support path</strong><small>Continue without the review gate</small></div>
</div>
</div>
<div class="outcome reveal"><span class="label">What you will learn</span><p>Trace decorators and state through a Flow, then locate the review and external-write boundaries.</p></div>
<div class="linkline reveal"><a href="modules/02-triagex-flow/deck.html">Module 02 deck</a><a href="modules/02-triagex-flow/README.md">Exercise guide</a></div>
</div>
<div class="slide-count"><b>04</b> / 07</div>
</section>
<section class="slide" id="slide-8" aria-label="Module 03 conversational Flows">
<div class="content">
<div class="section-mark reveal">04 / Conversational Flows / Module 03</div>
<h2 class="reveal">Classify the turn. Check permission.</h2>
<p class="lede reveal">A permissioned assistant keeps conversation history, but resolves the user's current authority on every turn.</p>
<div class="diagram-board reveal" role="img" aria-label="A message and session history produce an intent; an application permission gate allows a scoped research or fetch tool, or denies the action">
<div class="diagram-caption">One turn / two different decisions</div>
<div class="route-board">
<div class="diagram-node"><span class="label">Conversation</span><strong>Turn + history</strong><small>What is the user asking?</small></div>
<div class="diagram-arrow">→</div>
<div class="diagram-node"><span class="label">Intent</span><strong>Research or fetch</strong><small>Model chooses a route</small></div>
<div class="diagram-arrow">→</div>
<div class="diagram-node hot"><span class="label">Code gate</span><strong>Allow or deny</strong><small>Profile controls the tool allowlist</small></div>
</div>
<div class="diagram-support"><span>analyst: research + fetch</span><span>viewer: fetch only</span><span>guest: neither</span></div>
</div>
<div class="outcome reveal"><span class="label">What you will learn</span><p>Use session history without treating prior conversation as permission, and expose tools only after authorization.</p></div>
<div class="linkline reveal"><a href="modules/03-conversational-routing/index.html">Module 03 diagram</a><a href="modules/03-conversational-routing/README.md">Exercise guide</a></div>
</div>
<div class="slide-count"><b>05</b> / 07</div>
</section>
<section class="slide" id="slide-10" aria-label="Module 04 agentic routing with Jev">
<div class="content">
<div class="section-mark reveal">05 / Agentic routing with Jev / Module 04</div>
<h2 class="reveal">Let a small model answer. Let code decide.</h2>
<p class="lede reveal">In a support conversation, Jev answers three typed questions. Python checks those answers before CrewAI dispatches a handler.</p>
<div class="diagram-board reveal" role="img" aria-label="Conversation history and order go to Jev for route, item action and item classification; Python may clarify before CrewAI runs a handler">
<div class="diagram-caption">Support routing / model answer to final route</div>
<div class="diagram-lane">
<div class="diagram-node"><span class="label">Context</span><strong>History + order</strong><small>One session across turns</small></div>
<div class="diagram-arrow">→</div>
<div class="diagram-node hot"><span class="label">Jev</span><strong>Route · item action · item</strong><small>Three typed answers in one call</small></div>
<div class="diagram-arrow">→</div>
<div class="diagram-node"><span class="label">Python gate</span><strong>Handle or clarify</strong><small>One final <code>@listen</code> route</small></div>
</div>
<div class="diagram-out">“One of the other blue items” → return intent, unresolved item → clarify</div>
</div>
<div class="outcome reveal"><span class="label">What you will learn</span><p>Separate raw classification from the final route, and evaluate when the Flow should abstain.</p></div>
<div class="linkline reveal"><a href="modules/04-agentic-routing-jev/deck.html">Module 04 deck</a><a href="modules/04-agentic-routing-jev/README.md">Exercise guide</a></div>
</div>
<div class="slide-count"><b>06</b> / 07</div>
</section>
<section class="slide" id="slide-13" aria-label="Lab conclusion">
<div class="content">
<div class="section-mark reveal">Lab close</div>
<h2 class="reveal">Know who decides the next step.</h2>
<p class="lede reveal">Each module adds one control: a bounded Agent, explicit Flow state, per-turn authorization, then a typed router with an abstention path.</p>
<div class="triad reveal">
<article><h3>Bound the capability</h3><p>Give an Agent a clear job and only the tools it needs.</p></article>
<article><h3>Make the route explicit</h3><p>Keep state, permissions, and review gates in the application.</p></article>
<article><h3>Keep the evidence</h3><p>Record model answers, overrides, handlers, and outcomes.</p></article>
</div>
<p class="big-idea reveal">A reliable run is one you can explain turn by turn.</p>
<div class="linkline reveal"><a href="speaker-notes.html">Presenter notes</a><a href="README.md">Lab setup</a><a href="modules/01-company-research-agent/deck.html">Start Module 01 →</a></div>
</div>
<div class="slide-count"><b>07</b> / 07</div>
</section>
<template id="parked-self-improvement" aria-label="Hidden former section">
<section hidden>
<h2>Former Section 04: Self-Improving Triage</h2>
<p><code>@human_feedback</code> verifies urgency before publication. <code>remember</code> and <code>recall</code> turn human verdicts into precedent. The original material remains in <a href="modules/04-triagex-flow-imp/README.md">modules/04-triagex-flow-imp</a> and is outside this lab agenda.</p>
</section>
</template>
<script>
class LabDeck {
constructor() {
this.slides = [...document.querySelectorAll('.slide')];
this.current = 0;
this.slides.forEach((slide, index) => {
const count = slide.querySelector('.slide-count');
if (count) count.innerHTML = `<b>${String(index + 1).padStart(2, '0')}</b> / ${String(this.slides.length).padStart(2, '0')}`;
});
this.key = 'crewai-lab-outline-v2';
this.editables = [...document.querySelectorAll('[data-ed]')];
this.editables.forEach((el, i) => el.dataset.editId = String(i));
this.restoreEdits();
this.observeSlides();
this.bindControls();
}
observeSlides() {
const observer = new IntersectionObserver(entries => {
const active = entries.filter(entry => entry.isIntersecting)
.sort((a, b) => b.intersectionRatio - a.intersectionRatio)[0];
entries.forEach(entry => { if (entry.isIntersecting) entry.target.classList.add('visible'); });
if (active) {
this.current = this.slides.indexOf(active.target);
document.querySelector('.progress').style.width = `${((this.current + 1) / this.slides.length) * 100}%`;
}
}, { threshold: [.25, .5, .75] });
this.slides.forEach(slide => observer.observe(slide));
this.slides[0].classList.add('visible');
}
goTo(index) {
const target = this.slides[Math.max(0, Math.min(this.slides.length - 1, index))];
target.scrollIntoView({ behavior: matchMedia('(prefers-reduced-motion: reduce)').matches ? 'auto' : 'smooth' });
}
restoreEdits() {
try {
const saved = JSON.parse(localStorage.getItem(this.key) || '{}');
this.editables.forEach(el => { if (saved[el.dataset.editId] !== undefined) el.innerHTML = saved[el.dataset.editId]; });
} catch { /* Ignore a corrupt local draft. */ }
}
saveEdits() {
const saved = {};
this.editables.forEach(el => { saved[el.dataset.editId] = el.innerHTML; });
localStorage.setItem(this.key, JSON.stringify(saved));
}
toggleEdit() {
const editing = document.body.classList.toggle('editing');
document.getElementById('editToggle').textContent = editing ? 'Done' : 'Edit';
this.editables.forEach(el => { el.contentEditable = editing ? 'true' : 'false'; });
if (!editing) this.saveEdits();
}
export() {
this.saveEdits();
const clone = document.documentElement.cloneNode(true);
clone.querySelectorAll('[contenteditable]').forEach(el => el.removeAttribute('contenteditable'));
clone.querySelector('body').classList.remove('editing');
const url = URL.createObjectURL(new Blob(['<!doctype html>\n' + clone.outerHTML], { type: 'text/html' }));
const a = document.createElement('a');
a.href = url; a.download = 'crewai-lab-outline.html'; a.click();
setTimeout(() => URL.revokeObjectURL(url), 1000);
}
bindControls() {
document.getElementById('prev').addEventListener('click', () => this.goTo(this.current - 1));
document.getElementById('next').addEventListener('click', () => this.goTo(this.current + 1));
document.getElementById('editToggle').addEventListener('click', () => this.toggleEdit());
document.getElementById('exportBtn').addEventListener('click', () => this.export());
document.getElementById('resetBtn').addEventListener('click', () => { localStorage.removeItem(this.key); location.reload(); });
document.addEventListener('input', event => {
if (event.target.closest?.('[data-ed]')) this.saveEdits();
});
document.addEventListener('keydown', event => {
const editingText = event.target.closest?.('[contenteditable="true"],input,textarea');
if (editingText) return;
if (event.key.toLowerCase() === 'e' && !event.metaKey && !event.ctrlKey) { this.toggleEdit(); return; }
if (event.target.closest?.('a,button')) return;
if (['ArrowRight', 'ArrowDown', 'PageDown', ' '].includes(event.key)) { event.preventDefault(); this.goTo(this.current + 1); }
if (['ArrowLeft', 'ArrowUp', 'PageUp'].includes(event.key)) { event.preventDefault(); this.goTo(this.current - 1); }
if (event.key === 'Home') this.goTo(0);
if (event.key === 'End') this.goTo(this.slides.length - 1);
});
}
}
new LabDeck();
</script>
</body>
</html>