Show HN: Corgi, a helpful {agent, terminal} multiplexer

(corgi.computer)

132 points | by eiopa 1 day ago

18 comments

  • antouank 22 hours ago

    Great effort, thank you so much.

    There are some very nice features there. And more polished/modern than herdr for sure. Would love to be able to use it as a daily driver.

    Cannot switch to it though, mainly because, from what I understand, it doesn't sync/connect with other machines like herdr does. As in, seamlessly. Theme-ing (light/dark) adaptation seems a bit clunky as well. And huge TS files in the source code are not encouraging for how this will scale, or how many bugs will come up.

    Still, I appreciate sharing your work with everyone. Thank you.

    • eiopa 22 hours ago

      Thank you for your kind words!

      I work off of several machines, and the lack of native remoting has been frustrating for me so it’s the next big thing to add :)

      Can you share the theme clunkiness you’re seeing? I tried to avoid having another theme system for users to config, but maybe these adaptive tricks won’t quite cut it.

      My email is toasty.tal@gmail.com

      The huge ts files are indeed concerning, but in practice are more resilient than I had expected. They do eventually break down though, and I have been refactoring the systems as they reach their limits. (the last one was a breaking up agent providers into modules, motivated by wanting to support Pi and OpenCode)

    • JakeSc 1 day ago

      Looks awesome! Will give it a try. I've built something similar, just open-sourced it:

      https://exawatt.ai

      I'm big on agent ergonomics. Cool to see what others are doing in the space.

      • eiopa 1 day ago

        Thats very kind of you :)

        Hope you like it!

        For the website, it would be helpful to have either a screenshot or a "sandbox" thing so I can play with it a bit

        • sthimons 20 hours ago

          Having Tom Cruise's likeness in the footer of your site is just asking to be sued

          • manume 18 hours ago

            Haha, I immediately thought the same thing when I saw it!

        • rhuss 5 hours ago

          Looks great, thanks for sharing!

          One question: Have you thought about a voice relay that uses e.g. a local Whisper model ? I found the system-level dication mode of macOS quite unreliable, so have a homegrown own solution (via a Zellij plugin and a running voice relay). I wonder, is this a too-special use case or something people or something generally useful ?

          • zeugmasyllepsis 18 hours ago

            I plan to look into this deeper today, but truth be told I saw the little animation at the top of the page and paused.

            Throwing the ball and watching this little character run was truly a delightful interaction. For whatever part you had in its creation, thank you.

            • eiopa 18 hours ago

              Thank you for your kind words and so happy you liked it!

              I put a lot of small touches like that throughout the app. It just makes me feel cozy inside haha.

            • gillesjacobs 23 hours ago

              Testing it out, looks good, it does seem to have some repaint/flicker bugs. I was running a customized simple Tmux sessions tabs with agent harness updates over AgentPulse hooks but this might replace that.

              Let's see if I can add in some of required version control/git tooling. Might have some PRs incoming for you soon.

              • eiopa 23 hours ago

                Ooh can you get a repro on those repaint/flicker bugs?

                I do have some very basic git tooling in there but would be awesome to beef it up :)

              • xfalcox 1 day ago

                I've been using herdr and this looks like a v2 of it. Will give it a try.

                • dewey 1 day ago

                  I know naming is hard, but there's another YC company with that name from a recent batch: https://www.ycombinator.com/companies/corgi-insurance

                  • nlitened 1 day ago

                    You will be delighted to discover it's also a dog breed!

                    • dewey 19 hours ago

                      Slightly different namespace.

                  • pokpokpok 1 day ago

                    Been using this for about a month, for me it’s been a great replacement for cmux with good simple design

                    • aryanthakor 18 hours ago

                      I've been using herdr + omp for my agent sessions, I really like the prefix key and how easily I can edit it, does it have the similar prefix? Looks promising I will definitely give it a try. Thank you very much :)

                      • eiopa 18 hours ago

                        There's a herdr-like keymap, and I even migrate your workspaces, tabs, panes and live processes!

                        I haven't used OMP before. Let me take a look :)

                      • robsalasco 1 day ago

                        please add it to brew, I don't like to use bash scripts https://nocurlbash.com/#en

                        • bmacho 1 day ago

                          OTOH I'd encourage anyone who thinks that curl bash is a good idea to keep distributing their stuff via curl bash.

                          • eiopa 1 day ago

                            Yeah I am not a fan of curl bash either, but installing via most package managers (brew, npm etc) isn’t much better, since most of these skip sandboxing rn.

                            Maybe I am missing something, but the second you run the code, it has the same powers and risk profile as a bash curled from the internet. Maybe something about having explicit versioning?

                            (as an aside, I think this will change very soon…)

                            • mikemcquaid 1 day ago

                              Homebrew is heavily sandboxed and has been using the macOS sandbox for the best part of a decade, long before many other package managers did.

                              We also offer a .pkg installer and other installation options so curl | bash not needed for install that either.

                              • eiopa 18 hours ago

                                ok I read up on the sandbox. IIUC, this applies to the installer/formula part. The app itself is still unsandboxed.

                                I can see that it closes one vector of attack (attacking the install script serving), but beyond that the user still runs the binary outside a sandbox.

                                I feel that the binaries themselves, both directly and indirectly (supply chain attack) are the elephant in the room.

                                Any thoughts on that? I always wished the cli stuff I install from Homebrew was locked down by default, but it's not practical with today's computer systems since it kills usability.

                                Anyway, big fan of Homebrew. Looks like I can't submit a formula to core until I get more traction on GitHub (stars/forks/watchers). Otherwise I have to go to taps which takes away a lot of the benefits of being on homebrew-core iiuc.

                                • eiopa 1 day ago

                                  TIL! Thank you :)

                                  I’ll take a look then, as I am unsure how sandboxing will interact with this system since it does a few unusual things

                              • esafak 1 day ago

                                I'm glad someone made this site! Another good registry is https://github.com/aquaproj/aqua-registry

                              • pantelisk 1 day ago

                                Brilliant work! Testing it now

                                • BElluu 17 hours ago

                                  Windows will be supported in the future ?:)

                                  • eiopa 16 hours ago

                                    It works indirectly via WSL2!

                                    Last time I tried Windows though, coding agents were pretty finicky on native Windows for some reason. Maybe this gap is closed now though!

                                    If you have the tokens to spend, please give it a try. I am curious to see how well it will work. The toolchains it uses, Bun & Zig, do work there, and I think most of the system tricks have Windows equivalents

                                  • troupo 1 day ago

                                    > cmd+v just pastes images (even on SSH)

                                    This is such an useful feature and I'm surprised so few tools bother to implement it.

                                    • linsomniac 20 hours ago

                                      When I first saw this I though "Meh, I'm happy with Herdr", but then I saw "paste images, even over SSH" and I've gotta try it. I also REALLY like the website where you can interact with the example screenshot, that's <chefs kiss>.

                                      However (and I know connecting is on the road map), is it possible to have multiple local connections? That's core functionality for me, I run Herdr in one terminal on my workstation, and on my laptop I ssh in (actually "wezterm connect") and run a "herdr attach" so I can access it both from my Mac and my desk. I've never gotten around to trying the herdr native connect from my Mac because that works so well.

                                      • Lord_Zero 1 day ago

                                        How much of this could be plugins to herdr?

                                        • eleventen 1 day ago

                                          Probably very little. Herdr’s plugin system is quite limited and immature compared to something like Pi. I love herdr and use it daily but it has its limits.

                                          Nice to see people experimenting. I’m not really an early adopter but hopefully the good ideas get picked up by herdr

                                        • manume 1 day ago

                                          [flagged]

                                          • aryanthakor 18 hours ago

                                            This really helpful, I always spend long time looking for agent tools, this will really help. It already has few tools i use, thank you very much!

                                            • manume 18 hours ago

                                              Glad you find it useful! Let me know if there is anything missing, tools or features.

                                          • syngrog66 1 day ago

                                            its existed for a few weeks (and was vibe coded, I assume) and... you're announcing it to the entire world?

                                            • dang 1 day ago

                                              Why not?

                                              • Jaxkr 1 day ago

                                                Bless you dang, you keep the spirit of this website alive and fight back the always-encroaching cynicism of the world.

                                                • syngrog66 1 day ago

                                                  counterpoint: why?

                                                  ;-)

                                                  • justinwarner 21 hours ago

                                                    To share with others. It takes more effort to post this unconstructive comment than to let others enjoy it.

                                              • crossroadsguy 1 day ago

                                                At this point any coder that forgot (or rather deliberately chose not to) to tell their agent

                                                    'oh btw, add the light theme as well and maybe read the system's, if that's not such a bother of course'
                                                
                                                isn't worth the time, and they probably didn't bother about the 'a' of accessibilty/ux in the first place anyway, neither is their tool no matter how famous it is or would become.
                                                • eiopa 1 day ago

                                                  There's a built-in theme called "Animal Style" that adapts to your terminal's existing theme by picking up & extending its palette, and specifically tries to adapt to light themes as well :)

                                                  It works ~alright in light themes, but not as well considered as the default one yet which is why it's not the default.

                                                  Can you give it a try?