Live data from Hacker News

Crush: Glamourous AI coding agent for your favourite terminal

github.com

201–210 of 240 posts

Re: Crush: Glamourous AI coding agent for your favourite terminal

#201
post #7

The big question - which one of these new agents can consume local models to a reasonable degree? I would like to ditch the dependency on external APIs - willing to trade some performance in lieu.

Crush has an open issue (2 weeks) to add Ollama support - it's in progress.

FYI it works already even without this feature branch (you'll just have to add your provider and models manually)

```

{

  "providers": {

    "ollama": {

      "type": "openai",

      "base_url": "http://localhost:11434/v1",

      "api_key": "ollama",

      "models": [

        {

          "id": "llama3.2:3b",

          "model": "Llama 3.2 3B",

          "context_window": 131072,

          "default_max_tokens": 4096,

          "cost_per_1m_in": 0,

          "cost_per_1m_out": 0

        }

      ]

    }

  }
}

```

Re: Crush: Glamourous AI coding agent for your favourite terminal

#202

Earlier quoted context omitted.

This used to be opencode but was renamed after some fallout between the devs I think.

If anyone is curious on the context: https://x.com/thdxr/status/1933561254481666466 https://x.com/meowgorithm/status/1933593074820891062 https://www.youtube.com/watch?v=qCJBbVJ_wP0 Gemini summary of the above: - Kujtim Hoxha creates a project named TermAI using open-source libraries from the company Charm. - Two other developers, Dax (a well-known internet personality and developer) and Adam (a developer and co-found…

This is like game of thrones, dev edition. Thanks for the background.

/me up and continues search for good people and good projects.

Re: Crush: Glamourous AI coding agent for your favourite terminal

#203
post #161

Earlier quoted context omitted.

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.

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?

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

#204
post #132

Earlier quoted context omitted.

Say more about what you mean by "multi-program scrolling workflow", if you don't mind

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.

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 terminal

#205

Another one, but indeed very nice looking. Will definitely be testing it. What I miss from all of these (EDIT: I see opencode has this for github) is the lack of being able to authenticate with the monthly paid services; github copilot, claude code, openai codex, cursor etc etc That would be the best addition; I have these subscriptions and might not like their interfaces, so it would be nice to be able to switch.

I don't think most of these allow other tools to "use" the monthly subscription. Because of that you need an API key and have to pay per tokens. Even Claude code for a while did not use your Claude subscription.

Re: Crush: Glamourous AI coding agent for your favourite terminal

#206

Another one, but indeed very nice looking. Will definitely be testing it. What I miss from all of these (EDIT: I see opencode has this for github) is the lack of being able to authenticate with the monthly paid services; github copilot, claude code, openai codex, cursor etc etc That would be the best addition; I have these subscriptions and might not like their interfaces, so it would be nice to be able to switch.

I don't think most of these allow other tools to "use" the monthly subscription. Because of that you need an API key and have to pay per tokens. Even Claude code for a while did not use your Claude subscription.

But now they have a subscription for claude code , copilot has a sub and some others too. They might not allow it, but whatever; we are paying, so what's the big deal.

Re: Crush: Glamourous AI coding agent for your favourite terminal

#207

How to handle an OSS dispute where you're the baddy: rebrand and hope nobody notices. Let's not forget they're the company that bought an OSS project, OpenCode, and tried to "steal" it

I think you're pretty clueless to make that claim, they bought something, not stole, and one out of the 3 core contributors (who is also the original creator or the project) agreed. You should form an opinion based on logic and facts, not who you follow.

Re: Crush: Glamourous AI coding agent for your favourite terminal

#210

Earlier quoted context omitted.

I've been meaning to try out Opencode on the basis of this comment from a few weeks back where one of the devs indicated that Claude Pro subscriptions worked with Opencode: > opencode kinda cheats by using Antropic client ID and pretending to be Claude Code, so it can use your existing subscription. [1] I'd definitely like to see Anthropic provide a better way for the user's choice of clients to take advantage of the…

I thought Claude Code (sub) could work with alternate UIs, no? Eg doesn't Neovim have a Claude Code plugin? I want to say there are one or two more as well. Though i think in Neovims case they had to reverse engineer the API calls for Claude Code. Perhaps that's against the TOS. Regardless i have the intention to make something similar, so hopefully it's not against the TOS lol.

i use neovim plugin for cc but it just launches cc in a terminal inside neovim. its not an alternate UI.
Post reply on HN