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

131 points
1/21/1970
2 days ago
by eiopa

Comments


antouank

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.

a day ago

eiopa

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)

a day ago

JakeSc

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.

a day ago

eiopa

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

a day ago

sthimons

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

19 hours ago

manume

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

17 hours ago

rhuss

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 ?

4 hours ago

zeugmasyllepsis

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.

18 hours ago

eiopa

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.

18 hours ago

gillesjacobs

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.

a day ago

eiopa

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 :)

a day ago

xfalcox

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

a day ago

dewey

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

a day ago

nlitened

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

a day ago

dewey

Slightly different namespace.

19 hours ago

pokpokpok

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

a day ago

aryanthakor

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 :)

18 hours ago

eiopa

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 :)

18 hours ago

robsalasco

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

a day ago

bmacho

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

a day ago

eiopa

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…)

a day ago

mikemcquaid

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.

a day ago

eiopa

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.

18 hours ago

eiopa

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

a day ago

esafak

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

a day ago

pantelisk

Brilliant work! Testing it now

a day ago

BElluu

Windows will be supported in the future ?:)

16 hours ago

eiopa

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

16 hours ago

troupo

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

a day ago

linsomniac

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.

19 hours ago

Lord_Zero

How much of this could be plugins to herdr?

a day ago

eleventen

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

a day ago

manume

[flagged]

a day ago

aryanthakor

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!

18 hours ago

manume

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

17 hours ago

syngrog66

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

a day ago

dang

Why not?

a day ago

Jaxkr

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

a day ago

syngrog66

counterpoint: why?

;-)

a day ago

justinwarner

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

20 hours ago

crossroadsguy

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.
a day ago

eiopa

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?

a day ago

crossroadsguy

I was talking about the website.

a day ago