-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathlanggraph.html
More file actions
857 lines (750 loc) · 29.2 KB
/
langgraph.html
File metadata and controls
857 lines (750 loc) · 29.2 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
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>From PromptFlow to LangGraph — The Real Question</title>
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600;700&family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@400;600;700&display=swap" rel="stylesheet">
<style>
:root {
--bg: #f8f8f6;
--surface: #ffffff;
--surface2: #f0f0ed;
--border: #e0ddd8;
--text: #1a1a1a;
--text-dim: #6b6b6b;
--accent: #0f7a5f;
--accent-light: #e8f5f0;
--accent-border: #b8ddd0;
--warning: #b8860b;
--warning-light: #fdf6e3;
--warning-border: #e8d5a0;
--blue: #2563b0;
--blue-light: #edf3fc;
--blue-border: #b3cceb;
--red: #c0392b;
--red-light: #fdf0ee;
--red-border: #e8b8b3;
--orange: #c27213;
--orange-light: #fef5e7;
--orange-border: #e8cfa0;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
background: var(--bg);
color: var(--text);
font-family: 'DM Sans', sans-serif;
line-height: 1.6;
overflow: hidden;
height: 100vh;
width: 100vw;
}
.slide {
position: absolute;
inset: 0;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 3rem 2.5rem;
opacity: 0;
pointer-events: none;
transform: translateX(60px);
transition: opacity 0.45s ease, transform 0.45s ease;
overflow-y: auto;
}
.slide.active {
opacity: 1;
pointer-events: auto;
transform: translateX(0);
}
/* NAV */
.nav-bar {
position: fixed;
bottom: 0;
left: 0;
right: 0;
z-index: 100;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0.75rem 1.5rem;
background: rgba(248,248,246,0.94);
backdrop-filter: blur(12px);
border-top: 1px solid var(--border);
}
.nav-dots { display: flex; gap: 6px; }
.nav-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--border);
cursor: pointer;
transition: all 0.3s;
border: none;
}
.nav-dot.active {
background: var(--accent);
box-shadow: 0 0 0 3px var(--accent-light);
width: 24px;
border-radius: 4px;
}
.nav-dot:hover:not(.active) { background: var(--text-dim); }
.nav-btn {
background: var(--surface);
border: 1px solid var(--border);
color: var(--text-dim);
font-family: 'JetBrains Mono', monospace;
font-size: 0.7rem;
letter-spacing: 0.08em;
padding: 0.45rem 1rem;
border-radius: 6px;
cursor: pointer;
transition: all 0.2s;
display: flex;
align-items: center;
gap: 0.4rem;
}
.nav-btn:hover { border-color: var(--accent); color: var(--accent); }
.nav-btn:disabled { opacity: 0.3; cursor: default; }
.slide-counter {
font-family: 'JetBrains Mono', monospace;
font-size: 0.7rem;
color: var(--text-dim);
min-width: 50px;
text-align: center;
}
.progress-bar {
position: fixed;
top: 0;
left: 0;
height: 3px;
background: linear-gradient(90deg, var(--accent), var(--blue));
z-index: 101;
transition: width 0.5s ease;
border-radius: 0 2px 2px 0;
}
/* TYPOGRAPHY */
h1 {
font-family: 'Playfair Display', serif;
font-size: clamp(2.4rem, 5vw, 3.8rem);
line-height: 1.15;
font-weight: 700;
color: var(--text);
}
h2 {
font-family: 'Playfair Display', serif;
font-size: clamp(1.6rem, 3.5vw, 2.4rem);
line-height: 1.2;
font-weight: 600;
color: var(--text);
}
.highlight { color: var(--accent); }
.warn { color: var(--warning); }
.danger { color: var(--red); }
.label {
font-family: 'JetBrains Mono', monospace;
font-size: 0.7rem;
letter-spacing: 0.14em;
text-transform: uppercase;
color: var(--accent);
margin-bottom: 1rem;
display: block;
}
.subtitle {
font-size: 1.15rem;
color: var(--text-dim);
max-width: 580px;
margin-top: 1.2rem;
text-align: center;
line-height: 1.7;
}
/* SLIDE 1 */
.hero-content { text-align: center; max-width: 750px; }
.click-hint {
font-family: 'JetBrains Mono', monospace;
font-size: 0.68rem;
color: var(--text-dim);
margin-top: 2.5rem;
opacity: 0.5;
animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 0.35; } 50% { opacity: 0.8; } }
.kbd {
font-family: 'JetBrains Mono', monospace;
font-size: 0.6rem;
background: var(--surface);
border: 1px solid var(--border);
border-radius: 4px;
padding: 0.15rem 0.4rem;
color: var(--text-dim);
box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}
/* SLIDE 2 */
.reframe-content { text-align: center; max-width: 680px; }
.question-block { margin-top: 2rem; text-align: left; max-width: 560px; }
.q-wrong, .q-right {
font-family: 'JetBrains Mono', monospace;
font-size: 0.88rem;
padding: 1rem 1.3rem;
border-radius: 10px;
margin-bottom: 0.8rem;
line-height: 1.5;
}
.q-wrong {
background: var(--red-light);
border: 1px solid var(--red-border);
color: var(--red);
text-decoration: line-through;
text-decoration-thickness: 2px;
}
.q-right {
background: var(--accent-light);
border: 1px solid var(--accent-border);
color: var(--accent);
}
/* SLIDE 3 */
.timeline-content { max-width: 800px; width: 100%; }
.timeline-content h2 { text-align: center; margin-bottom: 2.5rem; }
.tl {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 1rem;
}
@media (max-width: 700px) { .tl { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .tl { grid-template-columns: 1fr; } }
.tl-card {
background: var(--surface);
border: 1px solid var(--border);
border-radius: 14px;
padding: 1.4rem;
position: relative;
overflow: hidden;
box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.tl-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.tl-card.c1::before { background: var(--accent); }
.tl-card.c2::before { background: var(--blue); }
.tl-card.c3::before { background: var(--orange); }
.tl-card.c4::before { background: var(--red); }
.tl-year {
font-family: 'JetBrains Mono', monospace;
font-size: 0.62rem;
letter-spacing: 0.1em;
text-transform: uppercase;
margin-bottom: 0.6rem;
}
.tl-card.c1 .tl-year { color: var(--accent); }
.tl-card.c2 .tl-year { color: var(--blue); }
.tl-card.c3 .tl-year { color: var(--orange); }
.tl-card.c4 .tl-year { color: var(--red); }
.tl-title { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.4rem; line-height: 1.3; }
.tl-body { font-size: 0.82rem; color: var(--text-dim); line-height: 1.5; }
.tl-tag {
display: inline-block;
font-family: 'JetBrains Mono', monospace;
font-size: 0.58rem;
padding: 0.2rem 0.55rem;
border-radius: 100px;
margin-top: 0.7rem;
}
.tl-tag.ok { background: var(--accent-light); color: var(--accent); border: 1px solid var(--accent-border); }
.tl-tag.nice { background: var(--blue-light); color: var(--blue); border: 1px solid var(--blue-border); }
.tl-tag.warn { background: var(--warning-light); color: var(--warning); border: 1px solid var(--warning-border); }
.tl-tag.critical { background: var(--red-light); color: var(--red); border: 1px solid var(--red-border); }
/* SLIDE 4 */
.pivot-content { max-width: 780px; width: 100%; }
.pivot-content h2 { text-align: center; margin-bottom: 0.5rem; }
.pivot-sub { text-align: center; color: var(--text-dim); font-size: 0.95rem; margin-bottom: 2rem; }
.force-main {
background: var(--accent-light);
border: 1px solid var(--accent-border);
border-radius: 14px;
padding: 1.8rem;
text-align: center;
box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.force-main .fm-label {
font-family: 'JetBrains Mono', monospace;
font-size: 0.65rem;
letter-spacing: 0.12em;
text-transform: uppercase;
color: var(--accent);
margin-bottom: 0.6rem;
}
.force-main h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; margin-bottom: 0.5rem; }
.force-main p { color: var(--text-dim); font-size: 0.9rem; max-width: 550px; margin: 0 auto; }
.nice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; margin-top: 1rem; }
@media (max-width: 550px) { .nice-grid { grid-template-columns: 1fr; } }
.nice-box {
background: var(--surface);
border: 1px solid var(--border);
border-radius: 10px;
padding: 1.1rem;
position: relative;
overflow: hidden;
box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.nice-box::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--blue); opacity: 0.5; }
.nice-box .nb-label {
font-family: 'JetBrains Mono', monospace;
font-size: 0.58rem;
color: var(--blue);
letter-spacing: 0.1em;
text-transform: uppercase;
margin-bottom: 0.35rem;
opacity: 0.75;
}
.nice-box h4 { font-size: 0.88rem; margin-bottom: 0.3rem; }
.nice-box p { font-size: 0.78rem; color: var(--text-dim); line-height: 1.45; }
.nice-footer {
text-align: center;
margin-top: 1.2rem;
font-family: 'JetBrains Mono', monospace;
font-size: 0.72rem;
color: var(--text-dim);
opacity: 0.65;
}
/* SLIDE 5 */
.trap-content { max-width: 700px; width: 100%; text-align: center; }
.trap-content h2 { margin-bottom: 1.2rem; }
.trap-visual { display: flex; flex-direction: column; align-items: center; margin: 1.5rem 0; }
.trap-layer {
width: 100%;
max-width: 480px;
padding: 1rem 1.5rem;
font-family: 'JetBrains Mono', monospace;
font-size: 0.82rem;
text-align: center;
}
.trap-layer.top {
background: var(--red-light);
border: 1px dashed var(--red-border);
color: var(--red);
margin-bottom: -6px;
border-radius: 10px 10px 0 0;
z-index: 3;
position: relative;
}
.trap-layer.mid {
background: var(--accent-light);
border: 1px solid var(--accent-border);
color: var(--accent);
padding: 1.2rem 1.5rem;
z-index: 2;
position: relative;
}
.trap-layer.bot {
background: var(--surface);
border: 1px solid var(--border);
color: var(--text-dim);
margin-top: -6px;
border-radius: 0 0 10px 10px;
z-index: 1;
position: relative;
}
.trap-arrow {
font-size: 0.7rem;
color: var(--red);
margin: 0.3rem 0;
font-family: 'JetBrains Mono', monospace;
opacity: 0.7;
}
.trap-desc { color: var(--text-dim); font-size: 0.95rem; max-width: 520px; margin: 0 auto; line-height: 1.7; }
.trap-desc em { color: var(--text); font-style: normal; font-weight: 600; }
/* SLIDE 6 */
.compare-content { max-width: 750px; width: 100%; }
.compare-content h2 { text-align: center; margin-bottom: 2rem; }
.cmp-row { display: grid; grid-template-columns: 1fr 40px 1fr; gap: 0.5rem; align-items: center; margin-bottom: 1rem; }
@media (max-width: 550px) { .cmp-row { grid-template-columns: 1fr; gap: 0.3rem; } .cmp-vs { display: none; } }
.cmp-criteria {
font-family: 'JetBrains Mono', monospace;
font-size: 0.6rem;
letter-spacing: 0.1em;
text-transform: uppercase;
color: var(--text-dim);
text-align: center;
margin-bottom: 0.3rem;
grid-column: 1 / -1;
}
.cmp-box {
background: var(--surface);
border: 1px solid var(--border);
border-radius: 10px;
padding: 1rem 1.2rem;
text-align: center;
transition: transform 0.2s;
box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.cmp-box:hover { transform: translateY(-1px); }
.cmp-box.win {
border-color: var(--accent-border);
background: var(--accent-light);
}
.cmp-name { font-family: 'JetBrains Mono', monospace; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.25rem; }
.cmp-box.win .cmp-name { color: var(--accent); }
.cmp-box:not(.win) .cmp-name { color: var(--text-dim); }
.cmp-detail { font-size: 0.8rem; color: var(--text-dim); }
.cmp-box.win .cmp-detail { color: var(--text); }
.cmp-vs { font-family: 'JetBrains Mono', monospace; font-size: 0.65rem; color: var(--text-dim); text-align: center; opacity: 0.4; }
/* SLIDE 7 */
.team-content { max-width: 700px; width: 100%; text-align: center; }
.team-content h2 { margin-bottom: 1.5rem; }
.onboard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-bottom: 2rem; }
@media (max-width: 500px) { .onboard-grid { grid-template-columns: 1fr; } }
.ob-card {
background: var(--surface);
border: 1px solid var(--border);
border-radius: 14px;
padding: 1.5rem;
text-align: center;
box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.ob-card .ob-label { font-family: 'JetBrains Mono', monospace; font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 0.8rem; }
.ob-bar-track { height: 8px; background: var(--surface2); border-radius: 100px; overflow: hidden; margin-bottom: 0.6rem; }
.ob-bar-fill { height: 100%; border-radius: 100px; transition: width 1s ease; }
.ob-card.good .ob-bar-fill { background: var(--accent); width: 88%; }
.ob-card.bad .ob-bar-fill { background: var(--red); width: 15%; opacity: 0.6; }
.ob-pct { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; line-height: 1; }
.ob-card.good .ob-pct { color: var(--accent); }
.ob-card.bad .ob-pct { color: var(--red); }
.ob-note { font-size: 0.78rem; color: var(--text-dim); margin-top: 0.4rem; line-height: 1.4; }
.curve-section { margin-top: 1.2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 500px) { .curve-section { grid-template-columns: 1fr; } }
.curve-card {
background: var(--surface);
border-radius: 10px;
padding: 1.2rem;
border: 1px solid var(--border);
text-align: left;
box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.curve-card .cc-name { font-family: 'JetBrains Mono', monospace; font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.5rem; }
.curve-card.lg .cc-name { color: var(--accent); }
.curve-card.pf .cc-name { color: var(--text-dim); }
.curve-visual { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; color: var(--text-dim); line-height: 1.6; }
.curve-visual .phase { display: flex; align-items: center; gap: 0.5rem; }
.curve-visual .arr { color: var(--accent); font-weight: 700; }
.curve-card.pf .curve-visual .arr { color: var(--red); }
/* SLIDE 8 */
.conclusion-content { max-width: 700px; width: 100%; text-align: center; }
.conclusion-content h2 { margin-bottom: 2rem; }
.takeaway-list { display: flex; flex-direction: column; gap: 0.8rem; max-width: 560px; margin: 0 auto 2.5rem; }
.takeaway {
display: flex;
align-items: center;
gap: 1rem;
background: var(--surface);
border: 1px solid var(--border);
border-radius: 12px;
padding: 1.1rem 1.4rem;
text-align: left;
transition: border-color 0.2s, box-shadow 0.2s;
box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.takeaway:hover { border-color: var(--accent-border); box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.takeaway .tk-num {
font-family: 'JetBrains Mono', monospace;
font-size: 0.7rem;
color: var(--accent);
background: var(--accent-light);
min-width: 28px;
height: 28px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.takeaway .tk-text { font-size: 0.92rem; color: var(--text-dim); }
.takeaway .tk-text strong { color: var(--text); font-weight: 600; }
.final-line {
font-family: 'JetBrains Mono', monospace;
font-size: 0.78rem;
color: var(--text-dim);
line-height: 1.7;
max-width: 530px;
margin: 0 auto;
opacity: 0.75;
}
.final-line em { color: var(--accent); font-style: normal; font-weight: 600; }
</style>
</head>
<body>
<div class="progress-bar" id="progressBar"></div>
<!-- SLIDE 1 -->
<div class="slide active" data-slide="0">
<div class="hero-content">
<h1>PromptFlow vs LangGraph:<br/>we might be asking the <span class="highlight">wrong question</span></h1>
<p class="subtitle">It's not a tool comparison. It's an ecosystem shift we're already committed to — and everything else follows from that.</p>
<div class="click-hint">Click anywhere or press <span class="kbd">→</span> to continue</div>
</div>
</div>
<!-- SLIDE 2 -->
<div class="slide" data-slide="1">
<div class="reframe-content">
<span class="label">Reframing the debate</span>
<h2>We're comparing two things<br/>that don't play in the <span class="warn">same league</span></h2>
<div class="question-block">
<div class="q-wrong">❌ "Is LangGraph better than PromptFlow?"</div>
<div class="q-right">✅ "Given that we're adopting LangChain anyway,<br/>does PromptFlow remain a relevant layer?"</div>
</div>
</div>
</div>
<!-- SLIDE 3 -->
<div class="slide" data-slide="2">
<div class="timeline-content">
<h2>Our journey so far</h2>
<div class="tl">
<div class="tl-card c1">
<div class="tl-year">2022 – 2023 · Genesis</div>
<div class="tl-title">OpenAI SDK arrives</div>
<div class="tl-body">LLMs enter the scene. We install the OpenAI SDK and start building. Simple, direct, mono-vendor.</div>
<span class="tl-tag ok">SDK sufficient ✓</span>
</div>
<div class="tl-card c2">
<div class="tl-year">2023 – 2024 · Complexity</div>
<div class="tl-title">PromptFlow adds comfort</div>
<div class="tl-body">Projects grow. Many prompts and scenarios to manage. Could a visual orchestration tool make the experience better and more fun? Yes. But the SDK alone still works fine.</div>
<span class="tl-tag nice">Nice to have, not essential</span>
</div>
<div class="tl-card c3">
<div class="tl-year">2025 · Vendor explosion</div>
<div class="tl-title">Beyond the Azure ecosystem</div>
<div class="tl-body">Anthropic, Grok, and more. We need models from multiple providers. PromptFlow is designed for Azure AI. The SDK must change — this isn't optional.</div>
<span class="tl-tag warn">⚠ Multi-vendor is a requirement</span>
</div>
<div class="tl-card c4">
<div class="tl-year">2025+ · The pivot</div>
<div class="tl-title">LangChain / LangGraph</div>
<div class="tl-body">The best multi-provider SDK on the market, endorsed by AIDP. This is the mandatory turn — not a preference, an imperative.</div>
<span class="tl-tag critical">Mandatory pivot</span>
</div>
</div>
</div>
</div>
<!-- SLIDE 4 -->
<div class="slide" data-slide="3">
<div class="pivot-content">
<h2>What LangChain/LangGraph <span class="highlight">actually</span> brings us</h2>
<p class="pivot-sub">Separate the reason we're switching from the bonuses that come with it.</p>
<div class="force-grid">
<div class="force-main">
<div class="fm-label">🎯 Core force — the reason for the shift</div>
<h3>Universal multi-provider SDK</h3>
<p>Native integration of OpenAI, Anthropic, Grok, and every emerging model. We're no longer locked into Azure AI. This is the essential point — the one thing we should focus on.</p>
</div>
<div class="nice-grid">
<div class="nice-box">
<div class="nb-label">Bonus #1</div>
<h4>Clear message types</h4>
<p>Distinct roles in AI interactions (system, human, tool…).</p>
</div>
<div class="nice-box">
<div class="nb-label">Bonus #2</div>
<h4>Native workflow & agents</h4>
<p>Built-in tool orchestration in workflow or agent mode.</p>
</div>
<div class="nice-box">
<div class="nb-label">Bonus #3</div>
<h4>Full control + flexibility</h4>
<p>Write exactly the code you want where you need precision, delegate the rest to built-in components.</p>
</div>
<div class="nice-box">
<div class="nb-label">Bonus #4</div>
<h4>Built-in components</h4>
<p>Ready-made tools for repetitive tasks — already thought out and optimized for us.</p>
</div>
</div>
<div class="nice-footer">These bonuses are real — but they're nice-to-haves, not the reason we're switching. We can forget them for now.</div>
</div>
</div>
</div>
<!-- SLIDE 5 -->
<div class="slide" data-slide="4">
<div class="trap-content">
<span class="label">The architecture question</span>
<h2>The <span class="danger">sandwich</span> problem</h2>
<div class="trap-visual">
<div class="trap-layer top">⚠ PromptFlow — redundant abstraction layer</div>
<div class="trap-layer mid">LangChain / LangGraph — the new foundation</div>
<div class="trap-layer bot">LLM providers · OpenAI · Anthropic · Grok · etc.</div>
</div>
<div class="trap-arrow">↑ Why maintain a layer that no longer serves a unique purpose?</div>
<p class="trap-desc" style="margin-top:1.2rem;">If we only needed LangChain as an SDK, we could plug it into PromptFlow workflows and keep going. But once LangChain is our foundation, PromptFlow becomes <em>a redundant wrapper</em> — an extra layer of abstraction with no unique value left. It adds complexity, not capability.</p>
</div>
</div>
<!-- SLIDE 6 -->
<div class="slide" data-slide="5">
<div class="compare-content">
<h2>The comparison that matters</h2>
<div class="cmp-criteria">Model ecosystem</div>
<div class="cmp-row">
<div class="cmp-box"><div class="cmp-name">PromptFlow</div><div class="cmp-detail">Designed for Azure AI / OpenAI</div></div>
<div class="cmp-vs">vs</div>
<div class="cmp-box win"><div class="cmp-name">LangChain ✓</div><div class="cmp-detail">All providers, vendor-agnostic</div></div>
</div>
<div class="cmp-criteria">Visual orchestration</div>
<div class="cmp-row">
<div class="cmp-box"><div class="cmp-name">PromptFlow</div><div class="cmp-detail">Azure-dependent UI</div></div>
<div class="cmp-vs">vs</div>
<div class="cmp-box win"><div class="cmp-name">LangGraph ✓</div><div class="cmp-detail">LangGraph Studio + code-first</div></div>
</div>
<div class="cmp-criteria">Stack complexity</div>
<div class="cmp-row">
<div class="cmp-box"><div class="cmp-name">PromptFlow</div><div class="cmp-detail">Extra layer to maintain</div></div>
<div class="cmp-vs">vs</div>
<div class="cmp-box win"><div class="cmp-name">LangGraph ✓</div><div class="cmp-detail">One integrated ecosystem</div></div>
</div>
<div class="cmp-criteria">Community & talent pool</div>
<div class="cmp-row">
<div class="cmp-box"><div class="cmp-name">PromptFlow</div><div class="cmp-detail">Azure niche</div></div>
<div class="cmp-vs">vs</div>
<div class="cmp-box win"><div class="cmp-name">LangGraph ✓</div><div class="cmp-detail">De facto standard, global community</div></div>
</div>
<div class="cmp-criteria">Vendor lock-in</div>
<div class="cmp-row">
<div class="cmp-box"><div class="cmp-name">PromptFlow</div><div class="cmp-detail">Tied to Microsoft / Azure AI</div></div>
<div class="cmp-vs">vs</div>
<div class="cmp-box win"><div class="cmp-name">LangGraph ✓</div><div class="cmp-detail">Provider-independent, future-proof</div></div>
</div>
</div>
</div>
<!-- SLIDE 7 -->
<div class="slide" data-slide="6">
<div class="team-content">
<span class="label">The human factor</span>
<h2>We're a growing team — onboarding matters</h2>
<div class="onboard-grid">
<div class="ob-card good">
<div class="ob-label">LangGraph — market prevalence</div>
<div class="ob-bar-track"><div class="ob-bar-fill"></div></div>
<div class="ob-pct">~90%</div>
<div class="ob-note">New hires already speak LangChain.<br/>Why teach them a niche wrapper?</div>
</div>
<div class="ob-card bad">
<div class="ob-label">PromptFlow — market prevalence</div>
<div class="ob-bar-track"><div class="ob-bar-fill"></div></div>
<div class="ob-pct">~10%</div>
<div class="ob-note">Azure niche. Fewer resources,<br/>longer ramp-up for every new member.</div>
</div>
</div>
<div class="curve-section">
<div class="curve-card lg">
<div class="cc-name">LangGraph — learning curve</div>
<div class="curve-visual">
<div class="phase"><span class="arr">→</span> Day 1: Steeper start (richer API surface)</div>
<div class="phase"><span class="arr">→</span> Day 30: Full autonomy, no ceiling</div>
<div class="phase"><span class="arr">→</span> Day 100: Expert — unlimited flexibility</div>
</div>
</div>
<div class="curve-card pf">
<div class="cc-name">PromptFlow — learning curve</div>
<div class="curve-visual">
<div class="phase"><span class="arr">→</span> Day 1: Easy start (visual drag & drop)</div>
<div class="phase"><span class="arr">→</span> Day 30: Hits a wall on complex scenarios</div>
<div class="phase"><span class="arr">→</span> Day 100: Must learn LangChain anyway</div>
</div>
</div>
</div>
</div>
</div>
<!-- SLIDE 8 -->
<div class="slide" data-slide="7">
<div class="conclusion-content">
<h2>The bottom line</h2>
<div class="takeaway-list">
<div class="takeaway">
<div class="tk-num">1</div>
<div class="tk-text">A <strong>multi-vendor SDK</strong> is non-negotiable for us now</div>
</div>
<div class="takeaway">
<div class="tk-num">2</div>
<div class="tk-text">LangChain/LangGraph is the <strong>best choice</strong> — endorsed by AIDP</div>
</div>
<div class="takeaway">
<div class="tk-num">3</div>
<div class="tk-text">PromptFlow becomes a <strong>redundant wrapper</strong> on top of it</div>
</div>
<div class="takeaway">
<div class="tk-num">4</div>
<div class="tk-text">LangGraph's extra features are a <strong>bonus</strong>, not the driver</div>
</div>
<div class="takeaway">
<div class="tk-num">5</div>
<div class="tk-text">Our growing team will <strong>onboard faster</strong> on the industry standard</div>
</div>
</div>
<p class="final-line">The question isn't <em>"Is LangGraph better?"</em><br/>It's <em>"Why maintain an extra layer when the ecosystem already makes it obsolete?"</em></p>
</div>
</div>
<!-- NAV -->
<nav class="nav-bar">
<button class="nav-btn" id="prevBtn" disabled>← Back</button>
<div class="nav-dots" id="navDots"></div>
<span class="slide-counter" id="slideCounter">1 / 8</span>
<button class="nav-btn" id="nextBtn">Next →</button>
</nav>
<script>
(function() {
const slides = document.querySelectorAll('.slide');
const total = slides.length;
let current = 0;
const prevBtn = document.getElementById('prevBtn');
const nextBtn = document.getElementById('nextBtn');
const dotsContainer = document.getElementById('navDots');
const counter = document.getElementById('slideCounter');
const progressBar = document.getElementById('progressBar');
for (let i = 0; i < total; i++) {
const dot = document.createElement('button');
dot.className = 'nav-dot' + (i === 0 ? ' active' : '');
dot.addEventListener('click', (e) => { e.stopPropagation(); goTo(i); });
dotsContainer.appendChild(dot);
}
function updateUI() {
dotsContainer.querySelectorAll('.nav-dot').forEach((d, i) => d.classList.toggle('active', i === current));
counter.textContent = `${current + 1} / ${total}`;
prevBtn.disabled = current === 0;
nextBtn.disabled = current === total - 1;
progressBar.style.width = `${((current + 1) / total) * 100}%`;
}
function goTo(index) {
if (index === current || index < 0 || index >= total) return;
const dir = index > current ? 1 : -1;
slides[current].classList.remove('active');
slides[current].style.transform = dir > 0 ? 'translateX(-60px)' : 'translateX(60px)';
slides[current].style.opacity = '0';
setTimeout(() => {
slides[current].style.transform = '';
slides[current].style.opacity = '';
current = index;
slides[current].style.transform = dir > 0 ? 'translateX(60px)' : 'translateX(-60px)';
slides[current].style.opacity = '0';
requestAnimationFrame(() => {
slides[current].classList.add('active');
requestAnimationFrame(() => {
slides[current].style.transform = '';
slides[current].style.opacity = '';
});
});
updateUI();
}, 120);
}
prevBtn.addEventListener('click', (e) => { e.stopPropagation(); goTo(current - 1); });
nextBtn.addEventListener('click', (e) => { e.stopPropagation(); goTo(current + 1); });
document.addEventListener('click', (e) => { if (!e.target.closest('.nav-bar')) goTo(current + 1); });
document.addEventListener('keydown', (e) => {
if (e.key === 'ArrowRight' || e.key === ' ') { e.preventDefault(); goTo(current + 1); }
if (e.key === 'ArrowLeft') { e.preventDefault(); goTo(current - 1); }
});
let tx = 0;
document.addEventListener('touchstart', (e) => { tx = e.changedTouches[0].screenX; });
document.addEventListener('touchend', (e) => {
const d = e.changedTouches[0].screenX - tx;
if (Math.abs(d) > 50) d < 0 ? goTo(current + 1) : goTo(current - 1);
});
updateUI();
})();
</script>
</body>
</html>