News for hackers. Stuff that matters.
Re:Crush: Glamourous AI coding agent for your favourite term... by jsnell on Wednesday July 30, 2025 @01:24PM (#44737008)
I find it strange how most of these terminal-based AI coding agents have ended up with these attempts at making text UIs flashy. Tons of whitespace, line art, widgets, ascii art and gradients, and now apparently animations. And then what you don't get is the full suite of expected keybindings, tab completion, consistent scrollback, or even flicker-free text rendering. (At least this one seems to not be written with node.js, so I guess there's some chance that the terminal output is optimized to minimize large redraws?).

So they just don't tend to work at all like you'd expect a REPL or a CLI to work, despite having exactly the same interaction model of executing command prompts. But they also don't feel at all like fullscreen Unix TUIs normally would, whether we're talking editors or reader programs (mail readers, news readers, browsers).

Is this just all the new entrants copying Claude Code, or did this trend get started even earlier than that? (This is one of the reasons Aider is still my go-to; it looks and feels the way a REPL is supposed to.)

Re:Crush: Glamourous AI coding agent for your favourite term... by wonger_ on Wednesday July 30, 2025 @04:16PM (#44739001)
Flashy TUIs have been around for a few years. Check out the galleries for TUI frameworks:

https://ratatui.rs/showcase/apps/

https://github.com/charmbracelet/bubbletea/tree/main/example...

https://textual.textualize.io/

I've been drafting a blog post about their pros and cons. You're right, text input doesn't feel like a true REPL, probably because they're not using readline. And we see more borders and whitespace because people can afford the screen space.

But there's perks like mouse support, discoverable commands, and color cues. Also, would you prefer someone make a mediocre GUI or a mediocre GUI for your workflows?

Re:Crush: Glamourous AI coding agent for your favourite term... by citizenpaul on Wednesday July 30, 2025 @01:57PM (#44737441)
Well this specific tool is by a company called Charm that has the mission statment of making the command line glamerous. They have been around for several years prior to the LLM craze.

They make a CLI framework for golang along with tools for it.

Re:Crush: Glamourous AI coding agent for your favourite term... by thinkxl on Wednesday July 30, 2025 @04:14PM (#44738980)
I came to reply this. They have been building very cool CLI projects and those projects end up composing new bigger projects. This is their last one (That I know of) which use most of the other projects they created before.

They didn't do it flashy for this project specifically (like Claude Code, which I don't think is flashy at all) but every single one of their other projects are like this.

Re:Crush: Glamourous AI coding agent for your favourite term... by reactordev on Wednesday July 30, 2025 @02:39PM (#44737968)
That’s right. Charm has been making pretty tuis since the beginning of the group. BubbleTea and VHS are amazing. Everyone should try them.
Re:Crush: Glamourous AI coding agent for your favourite term... by stavros on Wednesday July 30, 2025 @04:07PM (#44738917)
Oooh yes, VHS is amazing.
Re:Crush: Glamourous AI coding agent for your favourite term... by citizenpaul on Wednesday July 30, 2025 @10:26PM (#44741765)
Also their website features a public ssh CLI interface that is a cool demo of what the framework can do. Go hug it to death HN!
Re:Crush: Glamourous AI coding agent for your favourite term... by mylons on Thursday July 31, 2025 @01:36PM (#44748025)
also text UIs have always attempted a sense of flashiness? your BIOS, DOS UI's back in the day, etc. the OP sounds oddly jaded by it for no particular reason?
Re:Crush: Glamourous AI coding agent for your favourite term... by breuleux on Wednesday July 30, 2025 @03:07PM (#44738299)
What bothers me is that what I like about terminals is the scrolling workflow of writing commands and seeing my actions and outputs from various sources and programs sequentially in a log. So what I want is a rich full-HTML multi-program scrolling workflow. Instead, people are combining the worst of both worlds. What are they doing? Give me superior UI in a superior rendering system, not inferior UI in an inferior rendering system, god damn it.
Re:Crush: Glamourous AI coding agent for your favourite term... by dedpool on Wednesday July 30, 2025 @04:14PM (#44738989)
You can run it inside the terminal while still using your code editor with full support for diffs and undo. It works seamlessly with IDE like Cursor AI or VSCode, allowing multiple agents to work on different tasks at the same time, such as backend and frontend. The agents can also read each other’s rules, including Cursor rules and Crush Markdown files.
Re:Crush: Glamourous AI coding agent for your favourite term... by mccoyb on Wednesday July 30, 2025 @03:28PM (#44738529)
Say more about what you mean by "multi-program scrolling workflow", if you don't mind
Re:Crush: Glamourous AI coding agent for your favourite term... by teraflop on Wednesday July 30, 2025 @03:49PM (#44738760)
I think what they mean by "multi-program scrolling workflow" is just what you ordinarily get in a terminal window. You run command A, and below it you see its output. You run command B, and below it you see its output. And you can easily use the scroll bar to look at earlier commands and their output.

The parent commenter seems to be asking for the same thing, but with rich text/media.

Re:Crush: Glamourous AI coding agent for your favourite term... by breuleux on Wednesday July 30, 2025 @04:12PM (#44738972)
I mean a session that isn't limited to interaction with a single program. For example, if I have an agent in this paradigm, I want to easily interleave prompting with simple commands like `ls`, all in the same history. That's not what I'm getting with apps like claude code or crush. They just take over the entire terminal, and crush even quits without leaving a trace.
Re:Crush: Glamourous AI coding agent for your favourite term... by mccoyb on Wednesday July 30, 2025 @05:06PM (#44739488)
Thanks, thinking about this - I think there are several ways to serve this concern: one could be having an agent as a server, where "prompting" is just a command `prompt ...` sent to the agent as a server. Then you never leave your terminal.

Presumably, you'd want this, but with some sort of interface _like_ these TUI systems?

Re:Crush: Glamourous AI coding agent for your favourite term... by breuleux on Wednesday July 30, 2025 @06:02PM (#44740024)
> one could be having an agent as a server, where "prompting" is just a command `prompt ...` sent to the agent as a server

Yeah, I prefer something like that (which should be strictly easier to make than these elaborate TUIs). I could also be interested in a shell that supports it natively, e.g. with a syntax such as `-- this is my prompt! it's not necessary to quote stuff`. I'd also enjoy an HTML shell that can output markdown, tables and interactive plots rather than trying to bend a matrix of characters to do these things (as long as it's snappy and reliable). I haven't looked very hard, so these things might already exist.

Re:Crush: Glamourous AI coding agent for your favourite term... by spenczar5 on Wednesday July 30, 2025 @10:54PM (#44741918)
Yes, I think that sounds like Warp.

Personally, I find warp a bit disorienting, but it is indeed a more integrated approach.

Re:Crush: Glamourous AI coding agent for your favourite term... by wredcoll on Thursday July 31, 2025 @01:22AM (#44742563)
> Thanks, thinking about this - I think there are several ways to serve this concern: one could be having an agent as a server, where "prompting" is just a command `prompt ...` sent to the agent as a server. Then you never leave your terminal. Presumably, you'd want this, but with some sort of interface _like_ these TUI systems?

The whole advantage to a shell, and why people get so obsessed with it, is that they provide a standard interface to every program. Tuis break that by substituting their own ui.

They also provide a standard output... limitation, really, which means you can suddenly do pipes.

The future should look to capture both of those benefits.

Everyone will get super mad, but html is honest to god a great way to do this. Imagine a `ls` that output html to make a prettt display of your local files, but if you wanted to send the list to another program you pass some kind of css selector `ls | .main-list.file-names.name` or something. It's not exactly beautiful but you get the idea.

Re:Crush: Glamourous AI coding agent for your favourite term... by yunohn on Thursday July 31, 2025 @03:58PM (#44749471)
Apparently this is is how Powershell works vs Unix like unstructured text.
Re:Crush: Glamourous AI coding agent for your favourite term... by matsimitsu on Thursday July 31, 2025 @01:24AM (#44742569)
You are probably looking for Mods (https://github.com/charmbracelet/mods), their other CLI AI Agent tool that's not a TUI, but a commandline interface to AI Agents.
Re:Crush: Glamourous AI coding agent for your favourite term... by ebcase on Tuesday August 05, 2025 @10:45PM (#44807066)
This sounds kinda like https://sketch.dev/

Cc @crawshaw

Re:Crush: Glamourous AI coding agent for your favourite term... by __jonas on Wednesday July 30, 2025 @01:45PM (#44737276)
Nah, this type of text UI has been charmbracelet's whole thing since before AI agents appeared.

I quite like them, unlike traditional TUIs, the keybindings are actually intuitively discoverable, which is nice.

Re:Crush: Glamourous AI coding agent for your favourite term... by segmondy on Wednesday July 30, 2025 @02:19PM (#44737728)
you are showing how young you are. ;-) I'm glad this is back as someone that grew up in the BBS era, colorful text based stuff brings back joyful memories. I'm building my own terminal CLI coding agent. My plan is to make it this colorful with ascii art when I'm done, I'm focused on features now.
Re:Crush: Glamourous AI coding agent for your favourite term... by Arubis on Wednesday July 30, 2025 @01:44PM (#44737271)
I suspect some of it is that these interfaces are rapidly gaining adherents (and developers!) whose preference and accustomed usage is more graphically IDE-ish editors. Not everyone lives their life in a terminal window, even amongst devs. (Or so I’m told; I still have days where I don’t bother starting X/Wayland)
Re:Crush: Glamourous AI coding agent for your favourite term... by kgwgk on Wednesday July 30, 2025 @01:32PM (#44737109)
At least one can use Claude Code within emacs: https://github.com/stevemolitor/claude-code.el
Re:Crush: Glamourous AI coding agent for your favourite term... by umanwizard on Wednesday July 30, 2025 @02:25PM (#44737809)
You can also just run it in vterm
Re:Crush: Glamourous AI coding agent for your favourite term... by codemonkey-zeta on Wednesday July 30, 2025 @02:48PM (#44738074)
That package _does_ just run it in vterm, and it just adds automatic code links (the @path/to/file syntax), and a few more conveniences.
Re:Crush: Glamourous AI coding agent for your favourite term... by umanwizard on Wednesday July 30, 2025 @03:01PM (#44738219)
Good to know! Perhaps I’ll install it.
Re:Crush: Glamourous AI coding agent for your favourite term... by smokel on Wednesday July 30, 2025 @01:28PM (#44737060)
They are easier to make than full-fledged user interfaces, so you get to see more of them.
Re:Crush: Glamourous AI coding agent for your favourite term... by knoopx on Wednesday July 30, 2025 @05:58PM (#44739990)
this is debatable, a proper TUI has the same complexities as conventional UIs + legacy rendering.
Re:Crush: Glamourous AI coding agent for your favourite term... by drdaeman on Wednesday July 30, 2025 @08:04PM (#44740981)
Well, they all seem to have issues with multi-line selection, as those get all messed up with decorations, panes and whatever noise is there. To best of my awareness, the best a TUI can do is to implement its own selection (so, alt-screen, mouse tracking, etc. - plenty of stuff to handle, including all the compatibility quirks) and use OSC 52 for clipboard operations, but that loses the native look-and-feel and terminal configuration.

(Technically, WezTerm's semantic zones should be the way to solve this for good - but that's WezTerm-only, I don't think any other terminal supports those.)

On the other hand, with GUIs this is not an issue at all. And YMMV, but for me copying snippets, bits of responses and commands is a very frequent operation for any coding agent, TUI, GUI or CLI.

Re:Crush: Glamourous AI coding agent for your favourite term... by JeanMertz on Wednesday July 30, 2025 @01:58PM (#44737450)
For what it's worth, this is exactly why I am working on Jean-Pierre[0], pitched as:

> A command-line toolkit to support you in your daily work as a software programmer. Built to integrate into your existing workflow, providing a flexible and powerful pair-programming experience with LLMs.

The team behind DCD[1] are funding my work, as we see a lot of potential in a local-first, open-source, CLI-driven programming assistant for developers. This is obviously a crowded field, and growing more crowded by the day, but we think there's still a lot of room for improvement in this area.

We're still working on a lot of the fundamentals, but are moving closer to supporting agentic workflows similar to Claude Code, but built around your existing workflows, editors and tools, using the Unix philosophy of DOTADIW.

We're not at a state where we want to promote it heavily, as we're introducing breaking changes to the file format almost daily, but once we're a bit further along, we hope people find it as useful as we have in the past couple of months, integrating it into our existing terminal configurations, editors and local shell scripts.

[0]: https://github.com/dcdpr/jp [1]: https://contract.design

Re:Crush: Glamourous AI coding agent for your favourite term... by chrisweekly on Wednesday July 30, 2025 @04:08PM (#44738934)
DOTADIW = Do One Thing And Do It Well

^ for the uninitiated

Re:Crush: Glamourous AI coding agent for your favourite term... by touristtam on Sunday August 10, 2025 @03:22PM (#44857528)
You could do with a website and some screenshots to give a better overview of what one is looking at. ;)
Re:Crush: Glamourous AI coding agent for your favourite term... by Oras on Wednesday July 30, 2025 @02:27PM (#44737838)
It feels like going back to NC again (Norton Commander)
Re:Crush: Glamourous AI coding agent for your favourite term... by bdhcuidbebe on Wednesday July 30, 2025 @02:11PM (#44737613)
> I find it strange how most of these terminal-based AI coding agents have ended up with these attempts at making text UIs flashy.

Its next gen script kids.

Re:Crush: Glamourous AI coding agent for your favourite term... by jrm4 on Wednesday July 30, 2025 @02:17PM (#44737701)
If true, GOOD.

I 100% unironically believe we're better off more script kiddies today, not fewer.

Re:Crush: Glamourous AI coding agent for your favourite term... by wglb on Wednesday July 30, 2025 @05:01PM (#44739442)
Out of curiosity, why is that?
Re:Crush: Glamourous AI coding agent for your favourite term... by anp on Wednesday July 30, 2025 @08:41PM (#44741198)
Not GP but as a 90s kid who didn’t learn programming until my 20s my impression is that script kiddies with cute hacks are a huge source of creativity. And maybe even playful tools, which I personally enjoy. Something about not focusing on deep programming or tech maybe makes it easier to just have fun and accomplish your goals.
Re:Crush: Glamourous AI coding agent for your favourite term... by jrm4 on Wednesday July 30, 2025 @09:17PM (#44741414)
Yup, similar to other comment.

I fear that todays kids are too compliant on everything; the script kiddie ethos at the time still wasn't primarily clear fraud, just chaos. Which, yeah, I think we could use a little of that now.

Re:Crush: Glamourous AI coding agent for your favourite term... by johnisgood on Thursday July 31, 2025 @09:36AM (#44745502)
And I stepped up to being a software engineer from being a script kiddie at first.

I was a script kiddie, I exploited games too when I was a kid, and so on.

Re:Crush: Glamourous AI coding agent for your favourite term... by jdbohrman on Friday August 01, 2025 @09:16AM (#44756353)
That's actually quite based
Re:Crush: Glamourous AI coding agent for your favourite term... by anthk on Wednesday July 30, 2025 @02:37PM (#44737950)
Uhm, you forgot ANSI animations from BBS, stuff like the BB demo from AALIB, aafire, midnight commander with tons of colours, mocp with the same...

Flashy stuff for the terminal it's not new. Heck, in late 90's/early 00's everyone tired e17 and eterm at least once. And then KDE3 with XRender extensions with more fancy stuff on terminals and the like, plus compositor effects with xcompmgr and later, compiz.

But I'm old fashioned. I prefer iomenu+xargs+nvi and custom macros.

Re:Crush: Glamourous AI coding agent for your favourite term... by JTbane on Wednesday July 30, 2025 @02:44PM (#44738028)
Some really old heads told me that syntax highlighting is a gimmick. I can't imagine looking at code without it.
Re:Crush: Glamourous AI coding agent for your favourite term... by bananapub on Wednesday July 30, 2025 @03:27PM (#44738515)
why is it strange? they're making it look slick and powerful and scifi and cool, as a - extremely successful - marketing gimmick.
Re:Crush: Glamourous AI coding agent for your favourite term... by troupo on Wednesday July 30, 2025 @05:06PM (#44739491)
People have been making TUIs since time immemorial.

Discover the joys of Turbo Vision and things like Norton Commander, DOS Navigator, Word Perfect etc.

They problem is that most current tools can neither do the TUI right or the terminal part right.

Re:Crush: Glamourous AI coding agent for your favourite term... by layer8 on Wednesday July 30, 2025 @05:38PM (#44739810)
I wouldn’t describe those traditional TUIs as trying to be flashy, though. They were largely utilitarian.
Re:Crush: Glamourous AI coding agent for your favourite term... by troupo on Thursday July 31, 2025 @09:52AM (#44745657)
I haven't tried the project at the link, but I don't see much flashiness there. From the video it actually feels muted compared to the colors of yesteryear.
Re:Crush: Glamourous AI coding agent for your favourite term... by QuadmasterXLII on Wednesday July 30, 2025 @09:01PM (#44741308)
I have a sneaking suspicion claude code is tui just because that’s more convenient for running on ephemeral vms (no need to load a desktop os, instant ssh compatibility) and that they didn’t realize everyone would be raw dogging —dangerously-no-permissions on their laptop’s bare metal OS