aboutsummaryrefslogtreecommitdiff
path: root/website/index.html
blob: b4a390f5416c89f9528b4f96e6c20d5e0181eab3 (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
<!doctype html>
<html lang="en">
    <head>
        <meta charset="utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1" />
        <title>herdr — tmux for agents</title>
        <meta
            name="description"
            content="Persistent terminal multiplexer for coding agents. Detach and reattach, agents keep running. Built-in awareness for blocked, done, and working states. Lives inside your terminal."
        />
        <meta name="theme-color" content="#11111b" />
        <link rel="canonical" href="https://herdr.dev/" />

        <meta property="og:type" content="website" />
        <meta property="og:site_name" content="herdr" />
        <meta property="og:title" content="herdr — tmux for agents" />
        <meta
            property="og:description"
            content="Persistent terminal multiplexer for coding agents. Detach, reattach, agents keep running."
        />
        <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" />

        <meta name="twitter:card" content="summary_large_image" />
        <meta name="twitter:title" content="herdr — tmux for agents" />
        <meta
            name="twitter:description"
            content="Persistent terminal multiplexer for coding agents. Detach, reattach, agents keep running."
        />
        <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@300;400;500;600;700&display=swap"
            rel="stylesheet"
        />
        <link rel="stylesheet" href="/css/style.css" />
    </head>
    <body>
        <!-- ── Hero ── -->
        <section class="hero" id="hero">
            <div class="hero-pasture" aria-hidden="true"></div>
            <img src="/assets/logo.png" alt="herdr" class="hero-logo" />
            <span class="hero-name">herdr</span>
            <p class="hero-tagline">tmux for agents.</p>
            <div class="hero-dots">
                <span class="dot dot-blocked"></span>
                <span class="dot dot-working"></span>
                <span class="dot dot-done"></span>
                <span class="dot dot-idle"></span>
            </div>
            <div class="manifesto">
                <p>
                    <strong
                        >herdr is an agent multiplexer that lives in your
                        terminal.</strong
                    >
                </p>
                <p>
                    workspaces, tabs, panes. mouse-native: click, drag, split.
                    every agent at a glance:
                    <span class="text-blocked">blocked</span>,
                    <span class="text-working">working</span>,
                    <span class="text-done">done</span>. detach and reattach,
                    agents keep running. no gui app, no electron, no mac-only
                    native wrapper. you see the agent's own terminal, not
                    someone's interpretation of it.
                </p>
            </div>
            <div class="install-row">
                <div class="install-box">
                    <span class="prompt">$</span>
                    <code id="install-cmd"
                        >curl -fsSL https://herdr.dev/install.sh | sh</code
                    >
                </div>
                <button class="copy-btn" id="copy-btn">copy</button>
            </div>
            <div class="hero-meta">
                <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
                >
                · linux · macos · agpl-3.0
            </div>
        </section>

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

        <!-- ── Demo ── -->
        <div class="demo">
            <div class="demo-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="gap-lg"></div>
        <hr class="section-rule" />
        <div class="gap"></div>

        <!-- ── Comparison ── -->
        <section class="section">
            <div class="section-heading">
                <span class="dot dot-idle"></span>
                <h2>how it compares</h2>
            </div>
            <div class="table-wrap">
                <table class="position-table">
                    <thead>
                        <tr>
                            <th></th>
                            <th>tmux</th>
                            <th>gui managers</th>
                            <th class="herdr-col">herdr</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td>persistent sessions</td>
                            <td><span class="mark-yes">✓</span></td>
                            <td><span class="mark">—</span></td>
                            <td class="herdr-col">
                                <span class="mark-yes">✓</span>
                            </td>
                        </tr>
                        <tr>
                            <td>detach / reattach</td>
                            <td><span class="mark-yes">✓</span></td>
                            <td><span class="mark">—</span></td>
                            <td class="herdr-col">
                                <span class="mark-yes">✓</span>
                            </td>
                        </tr>
                        <tr>
                            <td>panes, tabs, workspaces</td>
                            <td><span class="mark-yes">✓</span></td>
                            <td><span class="mark-yes">✓</span></td>
                            <td class="herdr-col">
                                <span class="mark-yes">✓</span>
                            </td>
                        </tr>
                        <tr>
                            <td>agent awareness</td>
                            <td><span class="mark">—</span></td>
                            <td><span class="mark-yes">✓</span></td>
                            <td class="herdr-col">
                                <span class="mark-yes">✓</span>
                            </td>
                        </tr>
                        <tr>
                            <td>lives in your terminal</td>
                            <td><span class="mark-yes">✓</span></td>
                            <td><span class="mark">—</span></td>
                            <td class="herdr-col">
                                <span class="mark-yes">✓</span>
                            </td>
                        </tr>
                        <tr>
                            <td>real terminal views</td>
                            <td><span class="mark-yes">✓</span></td>
                            <td><span class="mark">—</span></td>
                            <td class="herdr-col">
                                <span class="mark-yes">✓</span>
                            </td>
                        </tr>
                        <tr>
                            <td>mouse-native</td>
                            <td><span class="mark">—</span></td>
                            <td><span class="mark-yes">✓</span></td>
                            <td class="herdr-col">
                                <span class="mark-yes">✓</span>
                            </td>
                        </tr>
                        <tr>
                            <td>lightweight binary</td>
                            <td><span class="mark-yes">✓</span></td>
                            <td><span class="mark">—</span></td>
                            <td class="herdr-col">
                                <span class="mark-yes">✓</span>
                            </td>
                        </tr>
                        <tr>
                            <td>agents can orchestrate</td>
                            <td><span class="mark">?</span></td>
                            <td><span class="mark">?</span></td>
                            <td class="herdr-col">
                                <span class="mark-yes">✓</span>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </section>

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

        <!-- ── Persistence ── -->
        <section class="section">
            <div class="section-heading">
                <span class="dot dot-done"></span>
                <h2>persistence</h2>
            </div>
            <div class="prose-block">
                <p>
                    start herdr on your desktop or server. run your agents,
                    split panes, do your work. press
                    <strong>ctrl+b q</strong> to detach. close your terminal,
                    close your laptop; your agents keep running. open a new
                    terminal, run <strong>herdr</strong>, you're back. same
                    session, same panes, same agents.
                </p>
            </div>
        </section>

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

        <!-- ── From anywhere ── -->
        <section class="section">
            <div class="section-heading">
                <span class="dot dot-done"></span>
                <h2>from anywhere</h2>
            </div>
            <div class="prose-block">
                <p>
                    need to check on your agents from your phone? just ssh in
                    and run herdr. any ssh client works. no app to download, no
                    account to create.
                </p>
            </div>
            <div class="detach-flow" style="margin-top: 1.5rem">
                <div class="detach-line">
                    <span class="prompt">$</span> <span class="cmd">ssh</span>
                    <span class="comment">you@yourserver</span>
                </div>
                <div class="detach-line">
                    <span class="prompt">$</span> <span class="cmd">herdr</span>
                </div>
                <div class="detach-line">
                    <span class="dim">
                        same session, same agents, same state.</span
                    >
                </div>
            </div>
        </section>

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

        <!-- ── Awareness ── -->
        <section class="section">
            <div class="section-heading">
                <span class="dot dot-working"></span>
                <h2>agent awareness</h2>
            </div>
            <div class="awareness-split">
                <div class="awareness-panel">
                    <div class="awareness-panel-img">
                        <img
                            src="/assets/sidebar-workspaces.png"
                            alt="workspaces"
                        />
                    </div>
                    <div class="awareness-panel-text">
                        <h3>workspaces</h3>
                        <p>
                            each workspace rolls up to its most urgent state.
                            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="agents" />
                    </div>
                    <div class="awareness-panel-text">
                        <h3>agents</h3>
                        <p>
                            see which agents are running, blocked, or finished.
                            no checking panes one by one.
                        </p>
                    </div>
                </div>
            </div>
            <div class="state-bar">
                <div class="state-bar-item">
                    <span class="dot dot-blocked"></span> blocked
                </div>
                <div class="state-bar-item">
                    <span class="dot dot-working"></span> working
                </div>
                <div class="state-bar-item">
                    <span class="dot dot-done"></span> done
                </div>
                <div class="state-bar-item">
                    <span class="dot dot-idle"></span> idle
                </div>
            </div>
        </section>

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

        <!-- ── Terminal ── -->
        <section class="section">
            <div class="section-heading">
                <span class="dot dot-idle"></span>
                <h2>lives in your terminal</h2>
            </div>
            <div class="terminal-block">
                <p>
                    not a gui window. not a web dashboard. not electron.
                    <strong
                        >herdr runs inside whatever terminal you already
                        use.</strong
                    >
                    a single rust binary, no dependencies, nothing to configure.
                    it even works inside tmux.
                </p>
                <div class="term-pills">
                    <span class="term-pill">ghostty</span>
                    <span class="term-pill">alacritty</span>
                    <span class="term-pill">kitty</span>
                    <span class="term-pill">wezterm</span>
                    <span class="term-pill">iterm2</span>
                    <span class="term-pill">tmux</span>
                </div>
            </div>
        </section>

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

        <!-- ── Agents ── -->
        <section class="section">
            <div class="section-heading">
                <span class="dot dot-blocked"></span>
                <h2>supported agents</h2>
            </div>
            <div class="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="check">✓</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="gap"></div>
        <hr class="section-rule" />
        <div class="gap"></div>

        <!-- ── API ── -->
        <section class="section">
            <div class="section-heading">
                <span class="dot dot-done"></span>
                <h2>socket api</h2>
            </div>
            <div class="api-grid">
                <div class="api-text">
                    <p>
                        <strong>agents can use herdr too.</strong> the local
                        unix socket lets agents create workspaces, split panes,
                        spawn other agents, read output, and wait for state
                        changes.
                    </p>
                    <p>
                        available as CLI commands or as a reusable agent skill.
                    </p>
                    <div class="api-links">
                        <a
                            href="https://github.com/ogulcancelik/herdr/blob/master/SOCKET_API.md"
                            >socket api →</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 and tab</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"</span>
<span class="cmd">herdr</span> tab create <span class="flag">--label</span> <span class="str">"logs"</span>

<span class="comment"># split a pane and run</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</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 output</span>
<span class="cmd">herdr</span> pane read <span class="str">1-2</span> <span class="flag">--source</span> <span class="str">recent</span> <span class="flag">--lines</span> <span class="str">50</span></pre>
                </div>
            </div>
        </section>

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

        <!-- ── Footer ── -->
        <footer class="footer">
            <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>
        </footer>

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

                var hero = document.getElementById("hero");
                var pasture = hero.querySelector(".hero-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
                    ? 3
                    : 5;

                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 = 9 + Math.random() * 3;
                    el.style.cssText =
                        "font-size:" +
                        size +
                        "px;color:rgba(203,166,247," +
                        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.1 + Math.random() * 0.2,
                        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;
                        }

                        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.4;
                            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>