Live data from Hacker News

OpenCode – Open source AI coding agent

opencode.ai

471–480 of 700 posts

Re: OpenCode – Open source AI coding agent

#471
post #265

Earlier quoted context omitted.

Yes, you are doing it too with antropic an xAI. I don't get your point. xAI and OpenAI are a little worst? Maybe, still very well fascism.

Quite a lot worse. Both OpenAI and xAI were among the largest donors of Trump's campaign Musk was the largest individual political donor of the 2024 election [1] and Greg Brockman was the largest donor to Trump's "MAGA Inc" super PAC [2] [1] https://www.washingtonpost.com/technology/2024/12/06/elon-mu... [2] https://www.theverge.com/ai-artificial-intelligence/867947/o...

If you evaluate fascism in terms of donation, yes.

But it is more about the political opinions, IMHO, and Anthropic doesn't sound more attractive than the competitors. Anthropic is very much to the right of the transhumanism spectrum (even if xAI and OpenAI are even farther).

Re: OpenCode – Open source AI coding agent

#472
post #434

By default OpenCode sends all of your prompts to Grok's free tier to come up with chat summaries for the UI. To change that, you need to set a custom "small model" in the settings.

this isn't true it will use whatever small model there is in your provider we had a fallback where we provided free small models if your provider did not have one (gpt nano) some configs fell back to this unexpectedly which upset people so we removed it

I can tell that you’re doing all of this in the name of first-use UX. It’s working: The out of the box experience is really seamless.

But for serious (“grown up”) use, stuff like this just doesn’t fly. At all. We have to know and be able to control exactly where data gets sent. You can’t just exfiltrate our data to random unvetted endpoints.

Given the hurt trust of the past, there also needs to be a communication campaign (“actually we’re secure now”), because otherwise people will keep going around claiming that OpenCode sends all of your data to Grok. This would really unnecessarily hurt the project in the long run.

Re: OpenCode – Open source AI coding agent

#473

OpenCode was the first open source agent I used, and my main workhorse after experimenting briefly with Claude Code and realizing the potential of agentic coding. Due to that, and because it's a popular an open source alternative, I want to be able to recommend it and be enthusiastic about it. The problem for me is that the development practices of the people that are working on it are suboptimal at best; they're con…

What is a better option?

pi.dev is worth checking out. The basic idea is they provide a minimalist coding agent that's designed to be easy to extend, so you can tailor the harness to suit your needs without any bloat.

One of the best features is they haven't been noticed by Anthropic yet so you can still use your Claude subscription.

Re: OpenCode – Open source AI coding agent

#474

Earlier quoted context omitted.

That doesn't sound all that useful to be honest and would likely increase costs overall due to the hit to prompt caching by removing messages

> would likely increase costs overall Assuming you pay per token, which seems like a really strange workflow to lock yourself into at this point. Neither paid monthly plans nor local models suffer from that issue. I tried once to use APIs for agents but seeing a counter of money go up and eventually landing at like $20 for one change, made it really hard to justify. I'd rather pay $200/month before I'd be OK with tha…

Yes I use the $200 per month plan for Claude Code and it's amazing

I assume the usage varies based on prompt caching, but I could be wrong. Why would you assume prompt caching would have zero effect on the subscription usage?

Re: OpenCode – Open source AI coding agent

#475
post #353

Earlier quoted context omitted.

I feel like our industry goes through these phases where there's an obvious thought leader that everyone's copying because they are revolutionary. Like Rails/DHH was one phase, Git/GitHub another. And right now it's kinda Claude Code. But they're so obviously really bad at development that it feels like a MLM scam. I'm just describing the feeling I'm getting, perhaps badly. I use Claude, I recommended Claude for the…

There are plenty of competitors! I’ve been using Copilot, RovoCLI, Gemni, and there’s OpenAI thing.

This aren't competitors, they're clones, it's a different thing.

CC leads and they follow.

Re: OpenCode – Open source AI coding agent

#476

What is this pervasive use of yield*? I've been writing Typescript for quiet some time and I've never seen yield* used in this way: https://github.com/anomalyco/opencode/blob/dev/packages/open...

They are using effect-ts which uses yield as their equivalent to haskells Do notation.

Re: OpenCode – Open source AI coding agent

#477
post #371

[flagged]

This is another one of OpenCode’s current weak points in the security complex: They consider permissions a “UX feature” rather than actual guardrails. The reasoning is that you’re giving the agent access to the shell, so it’ll be able to sidestep everything.

This is of course a cop-out: They’re not considering the case in which you’re not blindly doing that.

Fun fact: In the default setup, the agent can fully edit all of the harnesses files, including permissions and session history. So it’s pretty trivial for it to a) escalate privileges and then even b) delete evidence of something nefarious happening.

It’s pretty reckless and even pretty easy to solve with chroot and user permissions. There just has been (from what I see currently) relatively little interest from the project in solving this issue.

Re: OpenCode – Open source AI coding agent

#478
post #434

By default OpenCode sends all of your prompts to Grok's free tier to come up with chat summaries for the UI. To change that, you need to set a custom "small model" in the settings.

this isn't true it will use whatever small model there is in your provider we had a fallback where we provided free small models if your provider did not have one (gpt nano) some configs fell back to this unexpectedly which upset people so we removed it

[dead]

Re: OpenCode – Open source AI coding agent

#479

By default OpenCode sends all of your prompts to Grok's free tier to come up with chat summaries for the UI. To change that, you need to set a custom "small model" in the settings.

This is my main problem I have with it: It sends data and loads code left and right by default. For instance, the latest plugin packages are automatically installed on every startup. Their “Zen” provider is enabled by default so you might accidentally upload your code base to their servers. Better yet: The web UI has a button that just uploads the entire session to their servers WITH A SINGLE CLICK for sharing. The s…

There is some kind of fitting irony around agentic coding harnesses mainly being maintained by coding agents themselves, and as a result they are all a chaotic mess.

Re: OpenCode – Open source AI coding agent

#480
post #375

Earlier quoted context omitted.

Users of MacOS rarely have an active dislike for Windows, nor are they likely to announce this.

I use macos and I do actively dislike windows: here I announce it.

I liked the apple II, and the TRS 80 as I rather like basic. And then I didn’t hate DOS, and then I actively hated the graphical shell of Windows 3, but could not afford a Macintosh -so suffered through it where I had to, but mainly used DOS. Then I discovered UNIX, and did almost all of my work on a timeshare - in the early 90s!

Then Windows 95 came out and I actively hated it, but did think it was amazingly pretty - somehow this was the impetus for me to get a pc again, which I put Windows NT on. Which was profitable for freelance gigs in college. Soon after that, I dual booted it to Linux and spent most of my time in Slackware.

After that, I graduated and had enough money to buy a second rig, which I installed OS/2 warp on - which was good for side gigs. And I really liked. A lot. But my day job required that I have a Windows NT box to shell into the Solaris servers as we ran. Then I got a better class of employer and the next several let me run a Linux box to connect to our solaris (or Aix) servers.

Next my girlfriend at the time got a PowerBook G4 and installed OS X on it. It was obviously amazing. Windows XP came out, and it was once again so much worse than Windows NT - and crashed so much more - which was odd as it was based on Windows NT. (yes 98 was before this but it was really bad). Anyhow, right about here the Linux box I was running at home, died. And it was obvious that I was not going to buy an XP box, so I bought my first Mac.

And it’s been the same for the last 25 years - every time I look at a Windows box it’s horrible. I pretty much always have a Linux box headless somewhere in the house, and one rented in the cloud, and a Mac for interacting with the world.

And like the parent I actively dislike windows. And that’s interesting because I’ve liked most other operating systems I’ve used in my life, including MS-DOS. Modern windows is uniquely bad.

Post reply on HN