NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
▲OpenCode 2.0 (anoma.ly)
denysvitali 3 hours ago [-]
Their installer (curl | sh) was taking so long yesterday for me.

It turns out it's incredibly slow... because of the progress bar rendering. This is insane. The installer took 6 minutes to reach 10%:

curl -fsSL https://opencode.ai/v2/install | bash

Managed to fix it by running this instead:

curl -fsSL https://opencode.ai/v2/install | bash 2>&1 | cat

himata4113 3 hours ago [-]
Isn't that an issue with your terminal? Why is stdout so slow?
mayli 2 hours ago [-]
I think it's due to they are doing a funny business to parse the progress, that's pretty much vibed and no one care. Like instead of using curl's progress, they re-invented a progress tracking with the tracing interface (--trace-ascii), byte by byte :(

https://github.com/anomalyco/opencode/issues/22998 https://github.com/anomalyco/opencode/issues/53702

himata4113 46 minutes ago [-]
Okay nevermind this is pretty bad. Although humans do this too and I've also done this without realizing it, only noticed when I was trying to move a file bigger than few kilobytes.
serf 2 hours ago [-]
I don't think fast gpu rendering terminals should be mandatory for this kind of thing, and if you should have an option that facilitates the need for one then might I suggest falling back to something sensible rather than stalling out for forever when the user doesn't render glyphs as fast as you want them to?

either that or fail outright; dont waste my time.

himata4113 2 hours ago [-]
My terminal has gpu acceleration disabled due to being wasteful with vram and while I don't use opencode I've ran the script and it was completely fine using minimal cpu.
devmor 2 hours ago [-]
Well, stdout is not typically implemented for the purpose of simulating graphics rendering via character manipulation.
himata4113 41 minutes ago [-]
htop? btop(meh)? iotop? docker build?

...

claude code?

wetpaws 2 hours ago [-]
[dead]
srid 60 minutes ago [-]
If you have Nix, you can run it using:

    nix run github:juspay/agent-distro
https://agent-distro.nixos.asia/ brings auto-updating coding agents managed by Nix, along with https://agent-plugins.org/ based profiles.
verdverm 2 hours ago [-]
I suspect heavy eyes free coding. I spent the last week helping them understand a major security regression in config loading, took two issues/pull requests. Our hunch is the Ai told them what they had was good, not enough human critical thinking.

https://news.ycombinator.com/item?id=50075319

I've switched to Pi because I do not like the direction v2 has taken UX. Nor do I trust the security posturing going forward. There is also the social media stunts of the CEO that push me away.

I'm now trying to advocate Pi adopt system level configuration for similar security reasons. If any HNers would like to add their thoughts, please do so here

https://github.com/earendil-works/pi/issues/10895

calebkaiser 2 hours ago [-]
Ive anecdotally never found OpenCode to have a real axis where I find it "best". But I havent tried it in a bit, mostly because I don't have a real gap in use case coverage between Codex/CC/Pi. Anything more specific in need probably gets a custom harness.

Maybe the Go plan is changing that for others?

verdverm 2 hours ago [-]
The Go plan is quite good, possibly the best deal out there. I recommend it for anyone interested in trying open weights ($10/month, very generous quota), and you can use it with any harness or direct curl. I have my Go sub configured through GoModel (no relation, my gateway of choice, also very good).
yuhond 50 minutes ago [-]
[flagged]
tjwebbnorfolk 57 minutes ago [-]
This is a you problem

time curl -fsSL https://opencode.ai/v2/install | bash

real 0m24.975s user 0m9.537s sys 0m14.904s

cyanydeez 47 minutes ago [-]
and they probably haven't stopped hijacking copy paste.
lofaszvanitt 1 hours ago [-]
And they created the slowest webpage on the planet Earth. Full throttle slop.
EagleEdge 3 hours ago [-]
They need DHH!
acedTrex 2 hours ago [-]
chuckling
solarkraft 3 hours ago [-]
It's good.

Many of the annoyances from V1 are gone. Skills and plugins reload automatically (finally). Tasks can be backgrounded (though I think this doesn't happen automatically yet). There's a built-in skill for editing the configuration (finally I can retire mine). The front-end got some love. Apparently they re-architected the loop around Effect. Sub-sessions can be communicated with better. Configuration is loaded from the folder the session is created in rather than where the server was started.

In general, this update largely takes OpenCode into the current age features-wise and is a good overhaul quality-wise. Just in time to stop my early switching away efforts, which would've been a pain because I know few other harnesses with such a strong server/client model.

tacomagick 2 hours ago [-]
Tasks can be backgrounded by the model you are using automatically. It is not just manual fyi
solarkraft 2 hours ago [-]
Yeah, but only I can click to move a task to the background when it takes longer, which could and IMO should happen automatically. The model can’t always judge that. (I see how my comment wasn’t clear enough that I mean this)

In general, the preventable “model gets stuck” class of annoyances has not been fixed quite yet - there are also stil no timeouts for permission requests, at least by default.

andersonpico 2 hours ago [-]
> the preventable “model gets stuck” class of annoyances has not been fixed quite yet

I thought it was just me. The damn thing get sucked when standing up my applications like half the time

verdverm 2 hours ago [-]
To me, there are more annoyances in V2, so many that I've switched harnesses to Pi (for now?). I think the hot-reload is another security misalignment. An agent should not be able to modify plugins and have that immediately reloaded for availability.
hi_hi 5 minutes ago [-]
Took me a little while to figure out this was a llm harness for coding (also called an agent, I suppose, but that term seems overloaded and ambiguous to me)

There are many of these available, alongside the provider ones.

Are there any benchmarks which help me decide which ones I should try over the standard codex/claude?

afruitpie 3 hours ago [-]
Native apps connecting to the OpenCode server is a great way to run sessions on remote hosts!

I wish Claude Code would adopt the same model. The desktop app deploys a separate engine that restarts and clobbers long-running sessions upon reconnect (Remote Control is their recommended solution but requires a Claude.ai account).

I’ve been vibe coding a native macOS Claude Code app that spawns a server that wraps Claude Code on remote hosts, but the UX and features are always lagging behind.

avereveard 3 hours ago [-]
Claude code agents have a protocol that's usable for the same purpose it just listen locally but it's usable i have my own claw-like that has options for claude, codex, and pi (my subscription, wife subscription, and i got a yearly sub on glm when it was cheap)
dofm 2 hours ago [-]
I was experimenting with Paseo for this.

The Opencode desktop app could already connect to a remote web session; does it now talk to the server directly?

my002 3 hours ago [-]
I really hope we don't get a slew of WebGL-intensive sites.
0x696C6961 3 hours ago [-]
I can hardly scroll this page on my pixel 6.
unrented7977 3 hours ago [-]
Wait, but OpenCode got renamed to Crush and the original dev went on to that new project. Where did this come from? Is this a fork? Who is behind it?
kzsh 3 hours ago [-]
Someone from Opencode went to Crush, but Opencode continued.

EDIT: as a rewrite, owning the name. but not code.

https://x.com/thdxr/status/1933561254481666466

incrediblers 3 hours ago [-]
TIL - there was business in TUIs that actually warranted “acquisitions”. Always considered developing them a hobby…
bayindirh 3 hours ago [-]
A well written TUI, esp with keyboard shortcuts is a power multiplier. One of the biggest bus companies in my country used real terminals well into 2000s, and continued to use the same TUI inside a terminal emulator then.

It was efficient, bug free and fast after that many years of polish and refinement, it became one of the defining pillars of the experience. Imagine doing something and that thing can be reproduced reliably by muscle memory. You can trust that system.

Trading consoles are basically TUIs which can be driven with their specialized keyboards at great speeds and reproducibility, as well.

WillAdams 2 hours ago [-]
Moreover, it's a UI which should be ADA-compliant and readily used by the blind and visually disabled
chrysoprace 3 hours ago [-]
I don't think that's the case. This is from anomalyco, the company who made sst.dev. Crush is from Charm. I think OpenCode may have originally been written in Go but nowadays their codebase is TypeScript.

Edit: I'm missing some context others have pointed out.

3 hours ago [-]
jauntywundrkind 8 minutes ago [-]
I'm really tired of this being retread time and time and time again.

It's just not interesting, it doesn't seem to matter, they are are separate projects and both doing great. The inside baseball about old history doesn't feel like it goes anywhere, adds anything. It didn't the last 5 times opencode got submitted!

kbrannigan 3 hours ago [-]
With websites i went back to 90s styles. Hyper dense in information. Anything clickable is a link. A button is for Write actions.

Interactive element are distinct from text.

If webpage page is an interactive canvas , make the canvas the main thing ad text as support.

If you start mixing the two idk..

dormento 3 hours ago [-]
My notebook took up flight and launched itself through the window and died trying to render this site.
wy35 46 minutes ago [-]
My M3 Pro noticeably stuttered when I opened it :/
vadepaysa 3 hours ago [-]
I love opencode, but not this website. so difficult to use.
LaurensBER 3 hours ago [-]
Interesting and I'll definitely give this a try, the client/server and plugin system do look very powerful.

However, I've been using OMP in combination with Tern (the terminal) lately and it's an incredibly smooth operation. It's hard to find a decent terminal on Windows (corporate device) but this is the best I've found so far.

DylanBohlender 9 minutes ago [-]
There are dozens of us, dozens!
nater5000 3 hours ago [-]
Based on this post, it sounds like a ton of great improvements.

I've only used OpenCode a bit, but I found it was sufficient for the workloads I was throwing at it. It wasn't quite enough to beat out Codex or Claude Code as my go-to choice, though. Perhaps I'll give this version a shot and see if they've gotten it over the hump.

dsauerbrun 3 hours ago [-]
out of curiosity, how or what do you use codex/claude code for that beats opencode?
nfriedly 3 hours ago [-]
I've been using OpenCode 2.0 indirectly via OpenChamber 2.0 and I've been very happy with it.

Once I got past the initial hurdle of having to upgrade my server and clients all at once, everything has been smooth sailing.

bluerooibos 9 minutes ago [-]
OpenChamber ftw! I'm surprised it's not more popular - so much nicer to use than the TUI.

I'm always confused when people at work show me their opencode or Claude code setup of 6 terminal windows open simultaneously with the same illegible walls of text. No idea how people still prefer that over a nice GUI.

sksduck 2 hours ago [-]
Otherwise called OpenMemoryLeak, it eats memory like a piece of cake.
archerjax 3 hours ago [-]
Is this related to https://opencode.ai/?
kibae 3 hours ago [-]
Anomaly is the company behind OpenCode (https://github.com/anomalyco/opencode)
probabletrain 3 hours ago [-]
[dead]
tomrod 2 hours ago [-]
Nice work!

Are there any recommended sandbox patterns to use? Custom linux users or bubblewrap and managing openbao is getting to be a lot to manage each harness by themselves!

circularfoyers 1 hours ago [-]
I've been using https://nono.sh which uses landlock instead of bubblewrap. I had a look at all the similar alternatives when I started using it and everything else I could find was far too vibe coded for me to trust, especially for this.
jlkuester7 3 minutes ago [-]
[dead]
kingds 3 hours ago [-]
it feels like a clear improvement across the board but a heads up: i got bitten by upgrading - since all tool calls now go through the background process, the sandbox that i use to wrap the TUI process quietly became useless. took me a day or two to realize that web fetches, etc. which should have been blocked were succeeding.
LeBit 1 hours ago [-]
Yeah, it is a regression IMO.

You need to run it with —standalone to properly sandbox it.

Those tools should be designed to be sandboxed.

verdverm 2 hours ago [-]
There are at least 3 security regressions (imo) in the initial v2 release

1. configuration loading (now fixed) dropped support for system level, then restored it incorrectly, now it is better, but still some issues in user space

2. hot-reloading of plugins, agents can now change them with immediate effect

3. this, which I was unaware of

I wonder how many more there are given this much has been found already

techcomthanh 1 hours ago [-]
[flagged]
oblongsquare69 4 hours ago [-]
I enjoy this program, and 2.0 is a great improvement.
an0malous 30 minutes ago [-]
ah man, I wanted this domain but I'm pleased to see it's at least being put to use instead of squatted
361994752 3 hours ago [-]
The background task / subagent feature and the ability to specify a model when starting a subagent are so far my favorite improvements. Small things but make huge QoL difference in everyday development.
amelius 2 hours ago [-]
I'm a Vim user and I actually like the web interface of AI better than the TUIs, which is weird perhaps.
verdverm 1 hours ago [-]
I was a Vim user that switched to VS Code (for reasons) and now the TUIs are where my Vim personalization efforts have been redirected. Pi is a good harness for vim users to consider if they want to try a TUI experience. The Pi plugin ecosystem is a slopfest though. There are vim bindings for Pi and OC (and VS Code) because I'm never going to give those up.
mawadev 3 hours ago [-]
The site took a minute to load in completely and when I scrolled to the bottom I couldn't read the SDK text, it was literally cut off, kinda resembling the current state of coding very accurately lmao
montroser 3 hours ago [-]
OpenCode is a beast. Does it still try to take a disk snapshot of my working directory, even when it contains hundreds of millions of files? Does it still eat all of my memory? Does it still have a super-gigantic system prompt that wastes a solid percentage of my context window before I've even begun?

I switched to pi some months ago, and I have no complaints. It just does what it says, with no shenanigans. They updated the rendering approach recently so scrollback is nice and smooth now.

verdverm 1 hours ago [-]
I switched to Pi after experiencing OpenCode V2 about a week ago. Dislike the UX direction a lot. I took some effort to sift through the Pi plugin ecosystem to get my setup in a good place.

I will say OpenCode has likely improved significantly from your experience. I never experienced any of that since ~May of this year when I picked up OpenCode the first time.

MatthiasPortzel 3 hours ago [-]
For me the distinguishing feature of OpenCode is the web ui/desktop app. I’m using OpenCode because it’s the only open-source agent-harness I’ve tried that runs outside of a TUI. I like terminals but not TUIs and especially not for prose-based interactions like prompting.

But that’s a shallow moat, and the rest of the features here are not particularly interesting to me. I don’t have a use for plugins or a model-server proxy (I can connect other tools directly to the model provider).

bluerooibos 2 minutes ago [-]
The OpenCode UI was OK to use for the first few months but then it basically didn't improve at all in the next -insert-too-many-months-.

It's long been surpassed by better UIs like OpenChamber. Looks like I'll be trying Paseo out next.

brianfryer 2 hours ago [-]
dizhn 1 hours ago [-]
Paseo <3
bluerooibos 6 minutes ago [-]
Huh, this looks like a literal clone of OpenChamber, or maybe it's the other way around as Paseo has more stars and forks.

TLDR of the benefits over OpenChamber?

circularfoyers 1 hours ago [-]
You should try dsh then. It also had a web ui.
blahblaher 2 hours ago [-]
hermes also has desktop app.
Saris 55 minutes ago [-]
What the heck is this website, it completely locks up the tab it's in for 15 seconds and none of the text shows up at all until it finishes.
0xbadcafebee 3 hours ago [-]
Same OpenCode team who ignore bug reports, don't respond on their discord, don't have modern CI/CD test suites (often shipping regressions), don't have bots to triage bug reports or PRs, and have what might be the worst open model subscription service available today.

OpenCode users: switching to Pi takes about 5 minutes, and customizing it to work just like OpenCode takes another 30 minutes. Better design, better devs, better community.

bluerooibos 26 seconds ago [-]
There's an actual team? I had the same experience and figured it was basically just one guy. Their issue backlog does seem a total shambles though.
mattkevan 2 hours ago [-]
What open model subscription services are there that’s better. Genuinely interested in knowing.

I thought $80 of deepseek usage for $10 was a pretty good deal, but I’d be delighted to hear of better ones.

strobe 2 hours ago [-]
ollama cloud, syntetic - they both has much more care about quality of model hosting
verdverm 1 hours ago [-]
OpenCode Go is the best deal in the market right now imo. Their quotas are so generous I often assume they are burning money, but I think they are largely thriving off of the subscription revenues and making it work, or their vendors are subsidizing things.
verdverm 1 hours ago [-]
While I just switched from OpenCode to Pi, I'm still unclear on which is better in terms of handling github issues/pull-requests. I do give OC credit here, especially after the last week.

Here's the Pi issue for a security feature request, derived from an opencode v2 security regression I was able to work through with the OC team. This issue links to the OpenCode ones too.

https://github.com/earendil-works/pi/issues/10895

The Pi dev does not seem to grasp the issue after several back and forths.

I do really like their CONTRIBUTING.md

https://github.com/earendil-works/pi/blob/main/CONTRIBUTING....

markerz 3 hours ago [-]
This game is quite interestingly fun despite how basic it is.
aniceperson 3 hours ago [-]
having a daemon PID helps for web gui, but may bite in unexpected ways under extensive parallization.
emerongi 3 hours ago [-]
I had no clue you have to scroll down.
esafak 2 hours ago [-]
OC is all right -- it's my daily driver -- but it could be better. I'd like a harness to let me customize the GUI, not just add MCPs and plugins. For example, I'd like add buttons to merge a PR, and show indicators for CI. Claude Code does a lot of this out of the box. Give me UI building blocks (buttons, labels, etc.) and wire them with my own functions. Could Code Mode enable this?

The built-in browser is a most welcome feature.

PS(A): Opencode Go is a great deal and now has a $40 plan.

dizhn 1 hours ago [-]
Look at Paseo and build your own backend and UI plugins while still using opencode.
verdverm 58 minutes ago [-]
https://github.com/getpaseo/paseo (first time I'm seeing this, reading through I'm not sure this is for me)

Scion was the tool I'd been using for this, but haven't been doing that kind of stuff for some time.

https://googlecloudplatform.github.io/scion/overview/

tontinton 3 hours ago [-]
Everyone copies https//maki.sh. I've been the first!
ingen0s 10 minutes ago [-]
oh coolio
arialdomartini 2 hours ago [-]
curl | sh should die
StrLght 2 hours ago [-]
The monkey's paw curls, now it's "Give your agent a link to our SKILL.md!"
rfgplk 3 hours ago [-]
Goes to check the repo out

> TypeScript

Considering the whole thing is LLM produced I would like an explicit answer as to why C++ or Rust weren't used to write the project in.

k__ 2 hours ago [-]
Probably because of Effect.
verdverm 53 minutes ago [-]
Compiled languages make 3rd party plugins harder.

Also, the Rust ecosystem is annoying with demands for explicit answers to why their preferred language was not used.

metaltyphoon 45 minutes ago [-]
> the Rust ecosystem is annoying with demands

One person != "the ecosystem"

verdverm 25 minutes ago [-]
If you hang out on HN, you see this kind of statement a lot, it's happens so often (more than any other language right now, used to be TypeScript), it's the outside perception of the ecosystem. If they chill out on the superiority claims, that perception can change like it did for TypeScript.
suprjami 3 hours ago [-]
2.0 is a big disappointment so far.

Several basic things don't work, like hiding the sidebar.

With 3.2k open GitHub issues there's no point reporting anything.

esafak 2 hours ago [-]
Somehow I manage to get issues noticed and PRs merged. They aggressively cull old issues but if they take notice things get done. I contributed just this week.
verdverm 1 hours ago [-]
I too have been able to get several issues addressed and pull requests merged (not mine, others had noticed first).

I had one this week that, while took some effort to explain the why, was handled better than I expected. (https://github.com/anomalyco/opencode/pull/54921)

Being the most popular open harness, they get inundated with slop and are doing their best (imo).

keyle 3 hours ago [-]
I was annoyed that it takes just as much ram if not more than 1.0
moralestapia 2 hours ago [-]
These guys stole money from me. It amounts to like 10 US or something, so not significant, but still...

Their models have pricing published in their docs, like any other LLM provider. I measured the tokens I consumed, did the math, and it was always off, in their favor. One model (GPT Luna) was about 2x as expensive as advertised.

I joined their Discord, which is apparently how you get support from them. I filed a bug and someone from their team replied, we verified the data, and he said that something was indeed off and that he'd escalate it. Then silence. After 2–3 weeks, I followed up and was now ignored.

As I said, the amount isn't material to me, but if they do this a million times, they could make some decent money out of it. No idea if it's on purpose, I'll leave that to the reader to speculate.

Overall, their complete lack of interest after acknowledging the "bug" left a really bad taste in my mouth, so I decided to leave.

jambutters 2 hours ago [-]
Ahh. I recall their opencode go plan offered $60-$80 worth of Deepseek for $5-10 or something? I was debating if I should try it out but I think this is convincing me not to...Thanks for the heads up
andersonpico 2 hours ago [-]
Can you link to the discord thread? I'm very much interested and I'll be double check my usage vs. their rates.
ingen0s 12 minutes ago [-]
Bros - that opening disk transfer interaction is peak awesomeness. I copied about 4 files and did not want to stop...Id sit there all day and do all of them just to see what happens in the end...perhaps later this weekend.
fg137 2 hours ago [-]
> We've built a minimal JavaScript interpreter

Huh?

alitaj32 3 hours ago [-]
[flagged]
techcomthanh 1 hours ago [-]
[flagged]
qainsights 3 hours ago [-]
[flagged]
3 hours ago [-]
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 00:44:05 GMT+0000 (UTC) with Wasmer Edge.