Live data from Hacker News

Annoying and alarming things about OpenCode

wren.wtf

11–20 of 309 posts

Re: Annoying and alarming things about OpenCode

#11
My bet:

In a years time the discussions on using CC, Opencode, Pidev etc. will be redundant as we will be building our own tooling with whatever programming language and tooling you want.

Some will repurpose a popular opensource tool or harness, others will build it from scratch in an hour or so.

Re: Annoying and alarming things about OpenCode

#12
I feel that a better title for this article would be: "Some minor annoyances that, when fixed, would improve OpenCode"

# Prompt Cache Misses

> It globs your filesystem and re-reads AGENTS.md (injected in turn-0 system prompt) on every SSE turn. If you put a quick note in AGENTS.md to be read in the next session, you immediately force a full re-evaluation.

> Personal favourite: it puts the current date in the turn-0 system prompt and re-evaluates every SSE turn. If you’re using OpenCode at midnight you get a full prompt cache miss.

Okay, I can live with those.

# Compaction

> Want to sit for 10 minutes while the LLM server prefills the entire session with a new prompt prefixed to it, just to turn it into 5 bullet points that go at the top of a new session? Me neither. I get what they are going for, but I’ve not seen it work well. Neither compaction nor pruning is implemented well, and they interact poorly.

Is this an OpenCode specific issue? I've seen the same with Codex and Claude

# System Prompts

> The default system prompt is opinionated (fine) but it has shit opinions (not fine). It took me a while to figure out why my agent kept saying “Use ABSOLUTELY NO COMMENTS” when dispatching subagents.

Okay, so change it? Any LLM is opinionated, this system prompt enforces consistency across different models which seems reasonable.

Re: Annoying and alarming things about OpenCode

#14
post #9

I switched from OpenCode to Pi and there was a big improvement in terms of tool calling performance and I find the experience less buggy. OpenCode has also seemed to have disappeared from https://openrouter.ai/apps/category/coding

yeah I noticed it missing on the openrouter leaderboard -- very interested to know what that's about

Re: Annoying and alarming things about OpenCode

#15

Opencode offers free models with 200/requests over 5 hours. That's why I use it. It is the only reason I care about. What's the alternative there? Gemini used to have free tiers. Qwen used to. AMP used to. Ollama cloud used to. Codebuff used to... None of them have those programs anymore The reason I use it is purely financial. I do not have an employer and I'm writing free software Edit: pi.dev doesn't have free inf…

There are other OSS agent harnesses.

Re: Annoying and alarming things about OpenCode

#18
Good sentiment, wrong target. I took some liberties to fix the beginning:

> If you don’t know what AI is, imagine a boot stamping on a human face forever. The boot is made of shit and the face is everything we have learned about security and systems software since the invention of the electronic computer in the 1940s.

Re: Annoying and alarming things about OpenCode

#19

> If you don’t know what OpenCode is, imagine a boot stamping on a human face forever. The boot is made of TypeScript and the face is everything we have learned about security and systems software since the invention of the electronic computer in the 1940s. I nominate this for a Bulwer-Lytton prize in the Tortured Metaphor category.

If you don't know what OpenCode is, imagine a dark and stormy night.
Post reply on HN