aboutsummaryrefslogtreecommitdiff
path: root/website/index.html
blob: f73c66ecd0d29fb22aec2d68c6c79ab2a808b210 (plain)
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
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>herdr — supervise multiple coding agents in one terminal</title>
    <meta name="description" content="Run Claude Code, Codex, pi, opencode, droid, and amp side by side in your existing terminal. Workspaces, panes, agent detection, and notifications for blocked, done, and working states.">
    <meta name="theme-color" content="#0d1117">
    <link rel="canonical" href="https://herdr.dev/">

    <!-- Open Graph -->
    <meta property="og:type" content="website">
    <meta property="og:site_name" content="herdr">
    <meta property="og:title" content="herdr — supervise multiple coding agents in one terminal">
    <meta property="og:description" content="Run Claude Code, Codex, pi, opencode, droid, and amp side by side in your existing terminal. Workspaces, panes, agent detection, and notifications for blocked, done, and working states.">
    <meta property="og:url" content="https://herdr.dev/">
    <meta property="og:image" content="https://herdr.dev/assets/og-card.png">
    <meta property="og:image:width" content="1200">
    <meta property="og:image:height" content="630">

    <!-- Twitter / X -->
    <meta name="twitter:card" content="summary_large_image">
    <meta name="twitter:title" content="herdr — supervise multiple coding agents in one terminal">
    <meta name="twitter:description" content="Run Claude Code, Codex, pi, opencode, droid, and amp side by side in your existing terminal with workspaces, panes, and agent state detection.">
    <meta name="twitter:image" content="https://herdr.dev/assets/og-card.png">

    <link rel="icon" type="image/png" href="/assets/logo.png">
    <link rel="apple-touch-icon" href="/assets/logo.png">
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet">
    <style>
        *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

        :root {
            --bg: #0d1117;
            --bg-raised: #161b22;
            --bg-surface: #1c2129;
            --border: #21262d;
            --border-bright: #30363d;
            --text: #e6edf3;
            --text-muted: #8b949e;
            --text-dim: #484f58;
            --green: #4ade80;
            --green-dim: rgba(74, 222, 128, 0.12);
            --red: #f87171;
            --blue: #60a5fa;
            --yellow: #fbbf24;
            --max-w: 1080px;
        }

        html {
            background: var(--bg);
            color: var(--text);
            font-family: 'JetBrains Mono', 'Fira Code', 'SF Mono', monospace;
            -webkit-font-smoothing: antialiased;
            scroll-behavior: smooth;
        }

        body { overflow-x: hidden; }

        /* ── Hero ── */
        .hero {
            position: relative;
            max-width: var(--max-w);
            margin: 0 auto;
            padding: 4rem 2rem 0;
            text-align: center;
            overflow: hidden;
        }

        .hero-pasture {
            position: absolute;
            inset: 0;
            overflow: hidden;
            pointer-events: none;
            z-index: 0;
        }

        .hero > *:not(.hero-pasture) {
            position: relative;
            z-index: 1;
        }

        .hero .sheep-el {
            position: absolute;
            font-family: 'JetBrains Mono', monospace;
            line-height: 1.15;
            white-space: pre;
            pointer-events: none;
            user-select: none;
            will-change: transform;
        }

        .hero-logo {
            width: 80px;
            height: 80px;
            border-radius: 18px;
            margin-bottom: 1.25rem;
        }

        .hero h1 {
            font-size: 3rem;
            font-weight: 700;
            letter-spacing: -0.03em;
            color: #fff;
        }

        .hero-tagline {
            font-size: 1.1rem;
            color: var(--green);
            margin: 0.25rem 0 1.25rem;
        }

        .hero-desc {
            font-size: 0.875rem;
            color: var(--text-muted);
            line-height: 1.8;
            max-width: 640px;
            margin: 0 auto 2rem;
        }

        .hero-desc p + p { margin-top: 0.6rem; }

        /* install box */
        .install-box {
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
            background: var(--bg-raised);
            border: 1px solid var(--border);
            border-radius: 8px;
            padding: 0.65rem 1rem;
            font-size: 0.825rem;
            margin-bottom: 0.75rem;
            transition: border-color 0.2s;
        }

        .install-box:hover { border-color: var(--border-bright); }
        .install-box .prompt { color: var(--green); }
        .install-box code { color: var(--text); }

        .copy-btn {
            background: none;
            border: 1px solid var(--border);
            color: var(--text-dim);
            font-family: inherit;
            font-size: 0.7rem;
            padding: 0.2rem 0.5rem;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.2s;
        }
        .copy-btn:hover { border-color: var(--green); color: var(--green); }
        .copy-btn.copied { border-color: var(--green); color: var(--green); }

        .hero-links {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            margin-top: 0.5rem;
            font-size: 0.8rem;
        }
        .hero-links a {
            color: var(--text-dim);
            text-decoration: none;
            transition: color 0.2s;
        }
        .hero-links a:hover { color: var(--green); }

        /* screenshot */
        .hero-screenshot {
            max-width: var(--max-w);
            margin: 3rem auto 0;
            padding: 0 2rem;
        }

        .screenshot-frame {
            position: relative;
            border-radius: 12px;
            overflow: hidden;
            border: 1px solid var(--border);
            box-shadow:
                0 0 0 1px rgba(0,0,0,0.3),
                0 24px 80px rgba(0,0,0,0.5),
                0 0 120px rgba(74, 222, 128, 0.03);
        }

        .screenshot-frame img,
        .screenshot-frame video {
            display: block;
            width: 100%;
            height: auto;
        }

        .screenshot-label {
            text-align: center;
            font-size: 0.7rem;
            color: var(--text-dim);
            margin-top: 1rem;
        }

        /* ── Divider ── */
        .section-gap { height: 5rem; }

        /* ── Two-column features ── */
        .features {
            max-width: var(--max-w);
            margin: 0 auto;
            padding: 0 2rem;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
        }

        .feature-card {
            background: var(--bg-raised);
            border: 1px solid var(--border);
            border-radius: 10px;
            padding: 2rem;
        }

        .feature-card h2 {
            font-size: 1rem;
            font-weight: 700;
            margin-bottom: 0.25rem;
            color: #fff;
        }

        .feature-card .subtitle {
            font-size: 0.75rem;
            color: var(--green);
            margin-bottom: 1.25rem;
        }

        .feature-list {
            list-style: none;
        }

        .feature-list li {
            font-size: 0.8rem;
            color: var(--text-muted);
            line-height: 1.7;
            padding-left: 1.2rem;
            position: relative;
        }

        .feature-list li::before {
            content: '›';
            position: absolute;
            left: 0;
            color: var(--text-dim);
        }

        .feature-list li + li { margin-top: 0.4rem; }

        /* ── Awareness section ── */
        .awareness {
            max-width: var(--max-w);
            margin: 0 auto;
            padding: 0 2rem;
        }

        .awareness-header {
            margin-bottom: 1.5rem;
        }

        .awareness-header h2 {
            font-size: 1rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 0.3rem;
        }

        .awareness-desc {
            font-size: 0.8rem;
            color: var(--text-muted);
            line-height: 1.7;
        }

        .awareness-dual {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            margin-bottom: 1.5rem;
        }

        .awareness-panel {
            background: var(--bg-raised);
            border: 1px solid var(--border);
            border-radius: 10px;
            padding: 1.5rem;
            display: flex;
            gap: 1.25rem;
            align-items: flex-start;
        }

        .awareness-panel-img {
            flex-shrink: 0;
            border: 1px solid var(--border);
            border-radius: 6px;
            overflow: hidden;
        }

        .awareness-panel-img img {
            display: block;
            height: auto;
            width: auto;
            max-height: 120px;
            image-rendering: auto;
        }

        .awareness-panel-text h3 {
            font-size: 0.85rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 0.4rem;
        }

        .awareness-panel-text p {
            font-size: 0.75rem;
            color: var(--text-muted);
            line-height: 1.7;
        }

        .state-bar {
            display: flex;
            justify-content: center;
            gap: 2rem;
            padding: 1rem 0 0;
        }

        .state-bar-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.75rem;
            color: var(--text-muted);
        }

        .state-dot {
            flex-shrink: 0;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            display: inline-block;
        }

        .state-dot.red { background: var(--red); box-shadow: 0 0 8px rgba(248,113,113,0.4); }
        .state-dot.blue { background: var(--blue); box-shadow: 0 0 8px rgba(96,165,250,0.4); }
        .state-dot.yellow { background: var(--yellow); box-shadow: 0 0 8px rgba(251,191,36,0.3); }
        .state-dot.green { background: var(--green); opacity: 0.5; }

        /* ── Agents table ── */
        .agents-section {
            max-width: var(--max-w);
            margin: 0 auto;
            padding: 0 2rem;
        }

        .agents-section h2 {
            font-size: 1rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 0.3rem;
        }

        .agents-section .section-desc {
            font-size: 0.775rem;
            color: var(--text-muted);
            margin-bottom: 1.25rem;
            line-height: 1.6;
        }

        .agents-table-wrap {
            border: 1px solid var(--border);
            border-radius: 10px;
            overflow: hidden;
        }

        .agents-table {
            width: 100%;
            border-collapse: collapse;
            font-size: 0.8rem;
        }

        .agents-table th {
            text-align: left;
            padding: 0.7rem 1rem;
            color: var(--text-muted);
            font-weight: 500;
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            background: var(--bg-surface);
            border-bottom: 1px solid var(--border);
        }

        .agents-table td {
            padding: 0.6rem 1rem;
            border-bottom: 1px solid var(--border);
            color: var(--text-muted);
        }

        .agents-table tr:last-child td { border-bottom: none; }

        .agents-table td:first-child {
            color: var(--text);
            font-weight: 500;
        }

        .agents-table a {
            color: inherit;
            text-decoration: none;
            border-bottom: 1px solid var(--border);
            transition: all 0.2s;
        }
        .agents-table a:hover { color: var(--green); border-color: var(--green); }

        .check { color: var(--green); }
        .partial { color: var(--yellow); }
        .untested { color: var(--text-dim); font-size: 0.7rem; }

        /* ── How it works ── */
        .how-section {
            max-width: var(--max-w);
            margin: 0 auto;
            padding: 0 2rem;
        }

        .how-section h2 {
            font-size: 1rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 1.25rem;
        }

        .how-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5rem;
        }

        .how-step {
            background: var(--bg-raised);
            border: 1px solid var(--border);
            border-radius: 10px;
            padding: 1.5rem;
        }

        .how-step .step-num {
            font-size: 0.7rem;
            color: var(--green);
            margin-bottom: 0.5rem;
        }

        .how-step h3 {
            font-size: 0.85rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 0.4rem;
        }

        .how-step p {
            font-size: 0.75rem;
            color: var(--text-muted);
            line-height: 1.65;
        }

        .how-step code {
            font-size: 0.725rem;
            background: var(--bg);
            padding: 0.15rem 0.35rem;
            border-radius: 3px;
            color: var(--text);
        }

        /* ── API teaser ── */
        .api-section {
            max-width: var(--max-w);
            margin: 0 auto;
            padding: 0 2rem;
        }

        .api-card {
            background: var(--bg-raised);
            border: 1px solid var(--border);
            border-radius: 10px;
            padding: 2rem;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            align-items: start;
        }

        .api-card h2 {
            font-size: 1rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 0.3rem;
        }

        .api-card .subtitle {
            font-size: 0.75rem;
            color: var(--green);
            margin-bottom: 1rem;
        }

        .api-card p {
            font-size: 0.8rem;
            color: var(--text-muted);
            line-height: 1.7;
        }

        .api-card p + p { margin-top: 0.6rem; }

        .api-doc-links {
            display: flex;
            gap: 0.75rem;
            margin-top: 1.25rem;
        }

        .api-doc-links a {
            font-size: 0.75rem;
            color: var(--text);
            text-decoration: none;
            padding: 0.4rem 0.75rem;
            border: 1px solid var(--border);
            border-radius: 6px;
            transition: all 0.2s;
        }
        .api-doc-links a:hover { border-color: var(--green); color: var(--green); }

        .code-block {
            background: var(--bg);
            border: 1px solid var(--border);
            border-radius: 8px;
            padding: 1.25rem;
            overflow-x: auto;
        }

        .code-block pre {
            font-size: 0.725rem;
            line-height: 1.8;
            color: var(--text-muted);
        }

        .code-block .comment { color: var(--text-dim); }
        .code-block .cmd { color: var(--green); }
        .code-block .flag { color: var(--blue); }
        .code-block .str { color: var(--yellow); }

        /* ── Footer ── */
        .footer {
            max-width: var(--max-w);
            margin: 0 auto;
            padding: 4rem 2rem 3rem;
            text-align: center;
        }

        .footer-line {
            border: none;
            border-top: 1px solid var(--border);
            margin-bottom: 2rem;
        }

        .footer p {
            font-size: 0.75rem;
            color: var(--text-dim);
            line-height: 1.8;
        }

        .footer a {
            color: var(--text-muted);
            text-decoration: none;
            transition: color 0.2s;
        }
        .footer a:hover { color: var(--green); }

        /* ── Responsive ── */
        @media (max-width: 768px) {
            .hero { padding-top: 3rem; }
            .hero h1 { font-size: 2.25rem; }
            .features { grid-template-columns: 1fr; }
            .how-grid { grid-template-columns: 1fr; }
            .api-card { grid-template-columns: 1fr; }
            .awareness-dual { grid-template-columns: 1fr; }
            .state-bar { gap: 1rem; flex-wrap: wrap; }
            .hero-screenshot { padding: 0 1rem; }
            .state-grid { grid-template-columns: 1fr 1fr; }
        }

        @media (max-width: 480px) {
            .hero h1 { font-size: 1.75rem; }
            .install-box { font-size: 0.7rem; padding: 0.5rem 0.75rem; }
            .state-grid { grid-template-columns: 1fr; }
        }
    </style>
</head>
<body>

    <!-- ── Hero ── -->
    <section class="hero" id="hero">
        <img src="/assets/logo.png" alt="herdr" class="hero-logo">
        <h1>herdr</h1>
        <p class="hero-tagline">supervise multiple coding agents in one terminal.</p>
        <div class="hero-desc">
            <p>run Claude Code, Codex, pi, opencode, droid, amp, and plain shells side by side in your existing terminal. see which agent is blocked, done, or still working without leaving the command line.</p>
            <p>workspaces, tabs, panes, automatic agent detection, and notifications. no electron, no web dashboard, no separate gui window.</p>
        </div>
        <div class="install-box">
            <span class="prompt">$</span>
            <code id="install-cmd">curl -fsSL https://herdr.dev/install.sh | sh</code>
            <button class="copy-btn" id="copy-btn">copy</button>
        </div>
        <div class="hero-links">
            <a href="https://github.com/ogulcancelik/herdr">github</a>
            <a href="https://github.com/ogulcancelik/herdr/blob/master/CONFIGURATION.md">docs</a>
            <a href="https://github.com/ogulcancelik/herdr/blob/master/SOCKET_API.md">api</a>
        </div>
    </section>

    <!-- ── Demo ── -->
    <div class="hero-screenshot">
        <div class="screenshot-frame">
            <video autoplay muted loop playsinline preload="auto" poster="/assets/hero-screenshot.png">
                <source src="/assets/demo.mp4" type="video/mp4">
            </video>
        </div>
    </div>

    <div class="section-gap"></div>

    <!-- ── For you / For your agents ── -->
    <section class="features">
        <div class="feature-card">
            <h2>for you</h2>
            <p class="subtitle">supervise, triage, act</p>
            <ul class="feature-list">
                <li>one place to see all running agents across workspaces</li>
                <li>sidebar rolls up each workspace to its most urgent state</li>
                <li>switch contexts instantly — click or keyboard</li>
                <li>sound alerts and toast notifications for background events</li>
                <li>mouse-native: click panes, drag borders, select text to copy</li>
                <li>session persistence — close and reopen, everything restores</li>
                <li>9 built-in themes, full color token overrides</li>
            </ul>
        </div>
        <div class="feature-card">
            <h2>for your agents</h2>
            <p class="subtitle">orchestrate, spawn, wait</p>
            <ul class="feature-list">
                <li>create workspaces and split panes programmatically</li>
                <li>spawn other agents in sibling panes</li>
                <li>read output from any pane in the session</li>
                <li>send text and keys into other panes</li>
                <li>wait for output patterns or agent state changes</li>
                <li>subscribe to real-time events over the socket</li>
                <li>ship an agent skill or use the socket API directly</li>
            </ul>
        </div>
    </section>

    <div class="section-gap"></div>

    <!-- ── Awareness ── -->
    <section class="awareness">
        <div class="awareness-header">
            <h2>ambient awareness</h2>
            <p class="awareness-desc">the sidebar is split into two layers. scan the workspace list for the most urgent signal, then drill into the agents causing it in the selected workspace or across all workspaces.</p>
        </div>
        <div class="awareness-dual">
            <div class="awareness-panel">
                <div class="awareness-panel-img">
                    <img src="/assets/sidebar-workspaces.png" alt="herdr sidebar workspace list">
                </div>
                <div class="awareness-panel-text">
                    <h3>workspaces</h3>
                    <p>each workspace shows one aggregate dot — the most urgent state across all its agents. yellow means something is working. you scan the full list in a glance.</p>
                </div>
            </div>
            <div class="awareness-panel">
                <div class="awareness-panel-img">
                    <img src="/assets/sidebar-agents.png" alt="herdr sidebar agent list">
                </div>
                <div class="awareness-panel-text">
                    <h3>agents</h3>
                    <p>the bottom section shows which specific agents are running in the selected workspace, or across all workspaces when you switch the panel scope. pi is working, droid is idle.</p>
                </div>
            </div>
        </div>
        <div class="state-bar">
            <div class="state-bar-item"><span class="state-dot red"></span> blocked</div>
            <div class="state-bar-item"><span class="state-dot blue"></span> done</div>
            <div class="state-bar-item"><span class="state-dot yellow"></span> working</div>
            <div class="state-bar-item"><span class="state-dot green"></span> idle</div>
        </div>
    </section>

    <div class="section-gap"></div>

    <!-- ── How it works ── -->
    <section class="how-section">
        <h2>how it works</h2>
        <div class="how-grid">
            <div class="how-step">
                <div class="step-num">01</div>
                <h3>install and launch</h3>
                <p>one binary, no dependencies. run <code>herdr</code> in your terminal. onboarding takes 10 seconds.</p>
            </div>
            <div class="how-step">
                <div class="step-num">02</div>
                <h3>create workspaces</h3>
                <p>press <code>n</code> to create a workspace. it opens as a terminal context, labels itself from git repo or folder name.</p>
            </div>
            <div class="how-step">
                <div class="step-num">03</div>
                <h3>launch agents</h3>
                <p>start your agents in panes like you normally would. herdr detects them automatically — no hooks, no config.</p>
            </div>
        </div>
    </section>

    <div class="section-gap"></div>

    <!-- ── Supported agents ── -->
    <section class="agents-section">
        <h2>supported agents</h2>
        <p class="section-desc">herdr detects agents by reading foreground process and terminal output patterns. zero config required.</p>
        <div class="agents-table-wrap">
            <table class="agents-table">
                <thead>
                    <tr>
                        <th>agent</th>
                        <th>idle / done</th>
                        <th>working</th>
                        <th>blocked</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td><a href="https://pi.dev">pi</a></td>
                        <td><span class="check">✓</span></td>
                        <td><span class="check">✓</span></td>
                        <td><span class="partial">partial</span></td>
                    </tr>
                    <tr>
                        <td><a href="https://docs.anthropic.com/en/docs/claude-code">claude code</a></td>
                        <td><span class="check">✓</span></td>
                        <td><span class="check">✓</span></td>
                        <td><span class="check">✓</span></td>
                    </tr>
                    <tr>
                        <td><a href="https://github.com/openai/codex">codex</a></td>
                        <td><span class="check">✓</span></td>
                        <td><span class="check">✓</span></td>
                        <td><span class="check">✓</span></td>
                    </tr>
                    <tr>
                        <td><a href="https://factory.ai">droid</a></td>
                        <td><span class="check">✓</span></td>
                        <td><span class="check">✓</span></td>
                        <td><span class="check">✓</span></td>
                    </tr>
                    <tr>
                        <td><a href="https://ampcode.com">amp</a></td>
                        <td><span class="check">✓</span></td>
                        <td><span class="check">✓</span></td>
                        <td><span class="partial">partial</span></td>
                    </tr>
                    <tr>
                        <td><a href="https://github.com/anomalyco/opencode">opencode</a></td>
                        <td><span class="check">✓</span></td>
                        <td><span class="check">✓</span></td>
                        <td><span class="check">✓</span></td>
                    </tr>
                    <tr>
                        <td><a href="https://github.com/google-gemini/gemini-cli">gemini cli</a></td>
                        <td colspan="3"><span class="untested">detected, not fully tested</span></td>
                    </tr>
                    <tr>
                        <td><a href="https://cursor.com/cli">cursor agent</a></td>
                        <td colspan="3"><span class="untested">detected, not fully tested</span></td>
                    </tr>
                    <tr>
                        <td><a href="https://github.com/cline/cline">cline</a></td>
                        <td colspan="3"><span class="untested">detected, not fully tested</span></td>
                    </tr>
                </tbody>
            </table>
        </div>
    </section>

    <div class="section-gap"></div>

    <!-- ── API ── -->
    <section class="api-section">
        <div class="api-card">
            <div>
                <h2>socket api</h2>
                <p class="subtitle">agents can use herdr too</p>
                <p>herdr exposes a local unix socket that agents can talk to directly. create workspaces and tabs, split panes, spawn agents, read output, and wait for state changes.</p>
                <p>the same surface is available as CLI commands (<code>herdr workspace</code>, <code>herdr tab</code>, <code>herdr pane</code>, <code>herdr wait</code>) and as a reusable agent skill.</p>
                <div class="api-doc-links">
                    <a href="https://github.com/ogulcancelik/herdr/blob/master/SOCKET_API.md">socket api docs →</a>
                    <a href="https://github.com/ogulcancelik/herdr/blob/master/SKILL.md">agent skill →</a>
                </div>
            </div>
            <div class="code-block">
                <pre><span class="comment"># create a workspace with a label</span>
<span class="cmd">herdr</span> workspace create <span class="flag">--cwd</span> <span class="str">~/project</span> <span class="flag">--label</span> <span class="str">"api server"</span>

<span class="comment"># split a pane and run a command</span>
<span class="cmd">herdr</span> pane split <span class="str">1-1</span> <span class="flag">--direction</span> <span class="str">right</span>
<span class="cmd">herdr</span> pane run <span class="str">1-2</span> <span class="str">"npm test"</span>

<span class="comment"># wait for an agent to finish</span>
<span class="cmd">herdr</span> wait agent-status <span class="str">1-1</span> <span class="flag">--status</span> <span class="str">done</span>

<span class="comment"># read pane output</span>
<span class="cmd">herdr</span> pane read <span class="str">1-2</span> <span class="flag">--source</span> <span class="str">recent-unwrapped</span> <span class="flag">--lines</span> <span class="str">50</span></pre>
            </div>
        </div>
    </section>

    <div class="section-gap"></div>

    <!-- ── Footer ── -->
    <footer class="footer">
        <hr class="footer-line">
        <p>
            <a href="https://github.com/ogulcancelik/herdr">github</a> ·
            <a href="https://github.com/ogulcancelik/herdr/blob/master/CONFIGURATION.md">configuration</a> ·
            <a href="https://github.com/ogulcancelik/herdr/blob/master/SOCKET_API.md">api</a> ·
            <a href="https://github.com/ogulcancelik/herdr/releases">releases</a>
        </p>
        <p style="margin-top: 0.75rem;">linux · macos · agpl-3.0</p>
    </footer>

    <script>
    (function() {
        'use strict';

        // ── Sheep ──
        var hero = document.getElementById('hero');
        var pasture = document.createElement('div');
        pasture.className = 'hero-pasture';
        pasture.setAttribute('aria-hidden', 'true');
        hero.prepend(pasture);

        var SR = [
            ['    ,ww','   wWWWWWWW_)',"   `WWWWWW'",'    II  II'],
            ['    ,ww','   wWWWWWWW_)',"   `WWWWWW'",'     II II']
        ];
        var SL = [
            ['  ww,','(_WWWWWWWw'," 'WWWWWW`",'  II  II'],
            ['  ww,','(_WWWWWWWw'," 'WWWWWW`",'  II II']
        ];

        var heroW = hero.offsetWidth;
        var heroH = hero.offsetHeight;
        var heroRect = hero.getBoundingClientRect();
        var mx = -9999, my = -9999;

        document.addEventListener('mousemove', function(e) {
            mx = e.clientX - heroRect.left;
            my = e.clientY - heroRect.top;
        });
        document.addEventListener('mouseleave', function() { mx = -9999; my = -9999; });

        window.addEventListener('resize', function() {
            heroW = hero.offsetWidth;
            heroH = hero.offsetHeight;
            heroRect = hero.getBoundingClientRect();
        });
        window.addEventListener('scroll', function() {
            heroRect = hero.getBoundingClientRect();
        });

        var flock = [];
        var count = window.matchMedia('(max-width: 640px)').matches ? 4 : 8;

        for (var i = 0; i < count; i++) {
            var el = document.createElement('pre');
            el.className = 'sheep-el';
            var opacity = 0.04 + Math.random() * 0.035;
            var size = 10 + Math.random() * 4;
            el.style.cssText = 'font-size:' + size + 'px;color:rgba(255,255,255,' + opacity + ')';
            pasture.appendChild(el);

            flock.push({
                el: el,
                x: Math.random() * heroW,
                y: 30 + Math.random() * (heroH - 80),
                dir: Math.random() > 0.5 ? 1 : -1,
                speed: 0.15 + Math.random() * 0.3,
                frame: 0,
                ft: 0,
                fi: 400 + Math.random() * 300,
                svx: 0,
                svy: 0
            });
        }

        var last = 0;
        function tick(ts) {
            var dt = Math.min(ts - last, 100);
            last = ts;
            for (var i = 0; i < flock.length; i++) {
                var s = flock[i];
                s.ft += dt;
                if (s.ft > s.fi) { s.ft = 0; s.frame ^= 1; }

                // mouse scatter
                var dx = s.x - mx, dy = s.y - my;
                var d = Math.sqrt(dx * dx + dy * dy);
                if (d < 120 && d > 1) {
                    var f = (1 - d / 120) * 0.6;
                    s.svx += (dx / d) * f;
                    s.svy += (dy / d) * f;
                }
                s.x += s.svx;
                s.y += s.svy;
                s.svx *= 0.97;
                s.svy *= 0.97;

                s.x += s.dir * s.speed * (dt / 16);
                if (s.dir > 0 && s.x > heroW + 100) s.x = -100;
                if (s.dir < 0 && s.x < -100) s.x = heroW + 100;
                if (s.y < -40) s.y = heroH + 20;
                if (s.y > heroH + 40) s.y = -20;
                var frames = s.dir > 0 ? SR : SL;
                s.el.textContent = frames[s.frame].join('\n');
                s.el.style.transform = 'translate3d(' + s.x + 'px,' + s.y + 'px,0)';
            }
            requestAnimationFrame(tick);
        }
        requestAnimationFrame(function(ts) { last = ts; tick(ts); });

        // ── Copy ──
        var copyBtn = document.getElementById('copy-btn');
        var installCmd = document.getElementById('install-cmd');

        function fallbackCopy(text) {
            var ta = document.createElement('textarea');
            ta.value = text;
            ta.style.cssText = 'position:fixed;left:-9999px';
            document.body.appendChild(ta);
            ta.select();
            document.execCommand('copy');
            document.body.removeChild(ta);
        }

        function showCopied() {
            copyBtn.textContent = 'copied!';
            copyBtn.classList.add('copied');
            setTimeout(function() {
                copyBtn.textContent = 'copy';
                copyBtn.classList.remove('copied');
            }, 2000);
        }

        copyBtn.addEventListener('click', function() {
            var text = installCmd.textContent;
            if (navigator.clipboard && navigator.clipboard.writeText) {
                navigator.clipboard.writeText(text).then(showCopied).catch(function() {
                    fallbackCopy(text);
                    showCopied();
                });
            } else {
                fallbackCopy(text);
                showCopied();
            }
        });
    })();
    </script>
</body>
</html>