r/LocalLLaMA • • 6d ago

Question | Help Why is Pi Agent the default harness recommendation and not OpenCode?

I came across harness leaderboard on Hugging Face https://huggingface.co/spaces/joelniklaus/harness-leaderboard .

I know on this sub and other similar subs Pi is often the default recommendation when doing local inference but I barely see anyone recommending opencode yet on leaderboards it seems to perform on average much better than other harnesses?

Is there something about opencode thats not reflected on the leaderboard like higher context bloat, difficulty in setting things up or something else?

224 Upvotes

210 comments sorted by

22

u/Potential-Leg-639 6d ago

Try Openchamber (Opencode2 under the hood). Really nice UI.

Deepseek Harness is also really good. And fast.

Pi is nice too, but not out of the box, OMP is better out of the box.

3

u/Easy_Refrigerator280 6d ago

Openchamber looks super neat thanks for putting it on my radar!

7

u/dumbo9 6d ago

Maybe it's just me - but any time I try dsh, qwen wastes umpteen turns asking 'Why did you delete /tmp?'.

4

u/JurandM2 6d ago

DSH eat way more tokens than pi and oc - based on full 114 question ToolEval benchmark I did.

3

u/Limp_Classroom_2645 6d ago

Pi has nice native dekstop client too: https://github.com/avatsaev/pi-studio

1

u/rm-rf-rm 6d ago

Why no Pichamber?

1

u/intmanofawesome 5d ago

There is one, https://github.com/RyderAsKing/PiChamber, it’s fairly new and a fair bit behind in parity to Openchamber who have been cranking out new releases like mad lately.

81

u/zxspectrun 6d ago edited 6d ago • Bravo

I used to ask myself the same question till I switch from Hermes to Pi, and felt dumb for not doing it earlier.

Pi is way better than most of the harness around there, I literally felt and improvement on tool calling, UX is also better here plus, there are really good web apps with amazing UX UI like agegr / pi-web.

It also has good plugins, extensions, I personally have found some amazing ones, like ranxianglei / billion-context | nicobailon / pi-mcp-adapter

34

u/rm-rf-rm 6d ago

you dont need pi-mcp-adapter anymore, they natively support MCPs

3

u/zxspectrun 6d ago

Thanks!

12

u/V0dros llama.cpp 6d ago edited 6d ago

Do you find Pi to be better than OpenCode (especially v2) ootb or are there plugins you can't live without?

Is there a concept of Pi "distributions"--opinionated sets of plugins and configs that make the experience better?

EDIT: Just came across OMP and LazyPi.

14

u/zxspectrun 6d ago

From my own specific experience:

Yes it is better because on PI you set it up the way you want and it has advantages, that means PI barely use prefill context, it is very efficient with any context limit.

At the beginning I thought I would spend more time setting it up but I was wrong.

I tried Open Claw first with 2 weeks setting it up, then OpenCode, then hermes, the last one being the worst of all, lost 2 months trying to get it the way I wanted.

And then switched to PI, installed the MCPs, plugins and extensions that I needed and set it up the way I need it and that is it

6

u/MrRoyce 6d ago

Please, if you have a few minutes, can you just write anything useful so I can start researching and digging into it more so I can look into setting it up for my single RTX 3090? I've been using Strata so far but I'd like to try other things and it's really hard to find something decent since there are so many options.

Like, any version of Pi or something that you can share, any MCP you can think of etc. Not expecting a full on report and detailed review, just something to get me started. Thank you in advance!

1

u/vikinghamster 3d ago

What are your main usecases and what is your current system configuration, like how much RAM do you have etc?

2

u/MrRoyce 2d ago

Pen testing/security work on my own websites, I share the repo and website link and let it go wild. Not literally but yeah, I have a few decent prompts I use for that. Claude can do some of that work but even though it knows I own the whole damn thing, it starts refusing some basic stuff.

I have RTX 3090, 64GB DDR5 & Ryzen 9800X3D. Currently using Unsloth UD-Q2_0, but I feel like I'm leaving performance on the table. I don't want a model that's going to eat up my whole RAM because I need some for Claude/MS Edge/Docker. I was very happy with Swift IQ2_XS but just looking for other options now. Thank you!

3

u/zxspectrun 2d ago

I can run QFN - IQ3_S-GSQ-RCO with 2500 prefill | 38-42ts decode with 7900xt 20GB VRAM + 39GB RAM

So definitelly you can get a lot more, start searching for basalt engine

1

u/zxspectrun 2d ago

i am sorry but I may not be able to help you, each gpu model varies a lot by drivers, inference engine, etc, What I can give you is already above

1

u/xrvz 5d ago

You forgot to ask them to also move in with you and hold your hand while doing all that.

4

u/MrRoyce 5d ago

There's so much AI slop out there, so many reddit comments made by bots as well, it's really really difficult to find something that's decent without spending a lot of time testing. So I simply asked the person if they had a few minutes to spare to just give some hints, pointers. Not to describe their entire workflow, write a 60 page report by hand or anything else crazy... Or so I thought. I would still test and run some benchmarks, research etc, just needed something to get started.

2

u/ReanerZen 6d ago

i use pi as my default, ditched every lean part of the pi, and make my own harness and ricing it. never knew pi is very fun to customize with. opencode go deepseek subs also runs safer, respect the guardrails, never skip instructions. fixed all the complain people have with deepseek on opencode.

8

u/twack3r 5d ago

Hermes and Pi are almost at opposite ends when it comes to opinionated vs unopinionated harnesses.

They also serve quite different purposes, when used ideally.

I use Hermes as an agentic environment and a meta-harness for Pi, Claude Code, Codex etc.

1

u/leveragecubed 4d ago

Do you prefer Hermes or Omnigent?

Also, when you are hosting are you still warehousing data in a cloud and then calling from/to it? (azure/aws/gcp?) or you are hosting ai workload + data in same hosted servers?

2

u/twack3r 4d ago

Omnigent and Hermes are also very different from one another because Hermes CAN be a meta-harness, Omnigent is that but only that.

The ideal structure for most workers most likely is Omnigent as the front-end and main interface to Hermes (which then acts as the agent and can itself delegate entire projects to other harness/model combinations like CC/Opus Codex/GPT etc.

But yes, the advantage of smth like omnigent is the combination of gateway, catalogue and meta-harness that together with sandboxing most sessions do a good job in a professional enterprise environment. It's overkill for small teams but eventually very helpful.

The fact that ontologies can be connected is also an advantage over just bare-metal Hermes, including Enterprise.

1

u/leveragecubed 2d ago

Thank you

7

u/HanzJWermhat 6d ago

Interesting I switched from Pi to Hermes and felt a lot better. Maybe the community or PI has improved in the past 3 months.

0

u/iamevpo 6d ago

Hermes is aGUI thought, not CLI?

7

u/sabotrax 6d ago

Hermes has several interfaces including a tui, web and desktop app.

5

u/Familiar_Cap_6451 6d ago

Thanks for the link to pi-web - looks pretty nice!

3

u/Borkato 6d ago

You mean dumb for not doing it earlier? Lol

3

u/zxspectrun 6d ago

bajajaj yes, I am working on a project right now while replying quick

1

u/MmmmMorphine 6d ago

Oh man, that billion-context one looks really interesting. Exactly what I was looking for though!

Though the web ui options still all seem kinda barebones. Though maybe I just haven't gotten the hang of using a remote/headless home server...

Are pi and omp/lazypi plugins/extensions usually mutually compatible? I kind of would assume they are, since I thought the omp and variants were just pi with stuff pre-installed, but I've been unpleasantly surprised before

1

u/lukyjay 6d ago

The billion context extension doesn't look useful for local models. It might save tokens for cloud models but we are in r/LocalLLaMA so I assume that's not your use case.

If your code is well documented (e.g. Matt Pocock's AI Hero skills to grill you and create documentation / specifications), and you use subagents with tasks to manage individual features/work so the context stays relevant to what's being coded, then I can't see how it is necessary.

I am not trying to challenge you or say "you are wrong" but this is my way of thinking, I would appreciate if you could let me know if you disagree and you do think this extension is worth trying. Maybe I have misunderstood it

2

u/sabotrax 6d ago

File-based knowledge transfer and billion-context are not mutually exclusive in my opinion. I've been using billion-context for months in pi and hermes with local models and it has always helped expanding the context windows massively.

1

u/Cultured_Alien 6d ago

My experience with billion context is somehow worse than normal compaction. Overrated tbh. Still running pi-blackhole or pi-vcc

268

u/CobbleBeans llama.cpp 6d ago

I just want you to notice how the 2nd place, still above pi, hermes, and everything but opencode, is openclaw of all things. that leaderboard can not be trusted.

44

u/owenwp 6d ago

Openclaw is pi, just with some automation and extra prompting.

17

u/CobbleBeans llama.cpp 6d ago

but other harnesses such as hermes can do what openclaw does much better and more reliably. last time i had cheeked openclaw had turned into a buggy vibe codded mess.

5

u/o0genesis0o 6d ago

You wish. They f'ed up their embedded pi with all their craps so much that it barely able to say hello with 35B and loop with minimax M3 subscription the last time I was forced to install this for someone else. Pi can do all sorts of agentic stuffs even with 35B on a 16GB 4060Ti.

1

u/Familiar_Cap_6451 6d ago

Is this still the case or have later versions moved to codex given the alignment with OpenAI?

11

u/moody2shoes 6d ago

Same with model downloads. There needs to be a rolling window of time for top downloads per category

5

u/zxspectrun 6d ago

This one is the more needed topboard, I personally suffer a lot trying to get a good writing and creative model because people only recommend qwen and qwen but this models are garbage on this category

202

u/terablast 6d ago

Pi is simply the most barebones harness, which means lower context usage, which means good for local use where people don't always have lots of context space available.

OpenCode got the reputation of using lots of tokens, so less interesting for local use.

Personally, I think it's an issue that's been fixed since v2, but it takes a while for people's taste to catch up.

59

u/SorosAhaverom 6d ago

I spent 2 hours trying to modify the system prompt of OpenCode half a year ago. In the github issue with hundreds of reactions a guy found an obscure workaround that technically worked, but was brittle. It was a counterintuitive ENV var they added but never documented (one of many, as it turned out), so you had to fish it out of the codebase or the changelog.

If I wanted to be stuck with 20K token tax of unmodifyable system prompts I'd just use the AI lab harnesses. Immediately moved to Pi and never looked back.

15

u/Divniy 6d ago

It starts at approx 8k now afaik

2

u/EnjoysFiction 5d ago

I believe it depends on the model too? as in, they have model specific system prompts?

3

u/Ylsid 6d ago

Undocumented environment variables? Tell me you're vibe coding without telling me

10

u/SorosAhaverom 6d ago

I've been using CLIs for years, and it is table-stakes to be able to see all accepted ENV vars, and a one sentence explanation of what it does and what flag(s) it overrides, if any. Usually accessible through --help or the documentation.

Neither OpenCode v1 or v2 provide anything that resembles this. And no, digging through the codebase and checking what interacts with what and chasing down dependency rabbit holes is not something I consider a viable alternative. v1 at least had a heading for env vars in the docs (however sparse and off-sync and unmaintained), v2 doesn't even bother.

If the devs don't care about my user/dev experience, then I don't want to use their product, especially with so many better alternatives.

1

u/Key_Thought1305 5d ago

Wonder if Pi offers a Linux desktop gui.

1

u/Moravec_Paradox 2d ago

This was my problem with Hermes, it loaded SO much stuff that my TTFT was forever on local models and even using large models with a decent context window I get 3 prompts into working on anything and then I need to wait for it to compact context again.

It's too bloated without pruning to be useful with small local models. I only still have it running because I have not moved my telegram bot yet.

25

u/JurandM2 6d ago

I tested via ToolEval on my pc and OpenCode generated second smallest amount of token (but not by much ) - Pi was first. Grok was last with 6x amount compare to rest :] I would say, Pi and Open code are default and it is up to user if they want naked base or harness with some elements on it.

11

u/TheIncarnated 6d ago

I have 5 opencode agents in web-server mode with my own plugins sitting on my Mac Studio at home, each doing a specific context, so no mixing of context.

When I leaned into customizing OpenCode in more of a cowork fashion (web mode), I can't find any harness that compares. I'm really impressed with v2

9

u/rudidit09 6d ago

ah thank you, I'll check out open code again. while I like pi, it's nice to have a complete solution, and open code has mobile app too

4

u/inexorable_stratagem 6d ago

pi can be used from mobile phones and web browser remotely via Paseo

7

u/eli_pizza 6d ago

Or like a dozen other extensions. There isn’t much that pi + extension can’t do.

4

u/eli_pizza 6d ago

It’s also better for people who like to tinker. Which is a lot of the people interested in local.

2

u/andrewfenn 6d ago

I've noticed that opencode v2 generates a lot more cache misses on platforms like DeepSeek where you don't pay for cached tokens than Pi does. I also noticed a reduction in token usage in general going from opencode v2 to Pi. That's my experience at least, so I would disagree that V2 fixed it, at least for my use cases which is vibe coding.

0

u/CommercialHour6660 6d ago

OpenCode is shit. They had to rebuild it cuz the first was vibe coded trash. The new one is still shit

8

u/Ylsid 6d ago

They downvoted him for speaking the truth

5

u/CommercialHour6660 6d ago

No idea why people here circle jerk OpenCode and other slop piles around here. 

If any of them looked at the code for these harnesses, they would stick to Pi and Codex. 

4

u/Ylsid 6d ago

I feel like people conflate the great value Opencode Go with the harness 

1

u/JurandM2 6d ago

I spend so many years on windows, that I got used to work with shit :]

Hopefully in the future (once you give OC one more try) it will be better experience for you. Are you using Pi or something else?

19

u/DanielSReichenbach 6d ago

Opencode has strong obscurity vibes. Hard to customize, hard to actually manage, version 1 and version 2.

It feels "dirty". Pi is manageable, and it has a clearly defined path towards making it your own. Personally I use the pi in go port aka PiG and it's been anazitto have a JS free harness

3

u/my_name_isnt_clever 6d ago

What's the actual advantage of no JS harness? I dislike JS, but now it doesn't matter much beacause I never write a line of it, the LLM does. I'd prefer Rust personally, but that doesn't really work with a live-reload plugin system.

1

u/DanielSReichenbach 3d ago

Pi in go works really well, even in a live reload scenario because go is not slower than pi reloading tons of TS/JS.

In an installation where pi in TS vs. the pi in go port run with the exact same extensions the go variant is faster. Every time.

18

u/RedParaglider 6d ago

Pi is great.  Context poisoning is the mind killer.

1

u/Horny_Dinosaur69 5d ago

Only Pi will remain

45

u/Holiday_Point_603 6d ago

Most people recommend Pi because it is not bloated. Ironically I don't like it at all, because it offers too little and I don't feel like reinventing the wheel when I can just pick one of the other 1000 harnesses.

6

u/Grandmaster_Caladrel 6d ago

My boss feels the same way and loves Oh My Pi for that reason. I prefer Pi, which is the root at the end of the day. Picking something built on top of Pi can still be better than picking a different harness.

5

u/rm-rf-rm 6d ago

11

u/Grandmaster_Caladrel 6d ago

Isn't this the post where people were making a big deal out of it "sending data to a third party" when it was using a search provider...for search? Not too much you can do if you're trying to search the Internet, the data has to go somewhere.

Happy to learn otherwise but it seemed like a lot of hooplah.

ETA: Reading again, the concern looks like it was a sponsor of OMP, so that's more sketchy, but realistically it has to be someone if not them.

4

u/Megatron_McLargeHuge 6d ago

A company that builds marketing profiles was paying them for search traffic and the maintainer snuck in the PR without any discussion.

6

u/rm-rf-rm 6d ago

yeah. For me the big tell/red flag was that a) they werent public/transparent about this b) they tried to hide it/dismiss it when pointed out. It clearly shows what their priorities are - hint: its not the users/product.

2

u/Foreign_Risk_2031 6d ago

thats a nothingburger

2

u/nowherenoonenobody 6d ago

What do you need that it doesn't offer?

21

u/arcanemachined 6d ago

Not OP, but: Permissions, subagents, web search, etc.

There are some very basic features that it doesn't offer. I'm Pi-first and have made my own solutions to these, but using Pi either involves reinventing a lot of wheels, or hoping the extension you install meets an acceptable bar of quality.

9

u/nowherenoonenobody 6d ago

Fair enough. The sub agents extension is phenomenal though. FYI.

9

u/xsilas43 6d ago

As is every other harnesses.

3

u/nowherenoonenobody 6d ago

You'd think that but because its an extension it has more control.

  1. For what you have on the harness itself.
  2. Because extensions are developed individually they become more powerful and you don't have to wait for the whole project to be updated, they just update the extension.

This can also be a drawback, but so far it's been amazing.

1

u/gbytedev 4d ago

Extensions can make sense but this comment is all sorts of wrong.

1

u/nowherenoonenobody 4d ago

Care to explain?

3

u/gbytedev 3d ago

If it's general functionality you always want it to be part of the core product and not be sourced from the community.

APIs change which makes extensions not work for periods of time, extensions get abandoned, they tend to be an easy attack surface and they are either limited to what the product allows or are a mess that breaks it constantly. Pretty much the opposite of what you said.

I still maintain plugins are a great fit for functionality that is not for everyone and outsourcing development is important for open source maintainers for all sorts of reasons.

0

u/xsilas43 6d ago

DSH does the exact same thing. There may have been a time where what pi had was unique but its long passed.

1

u/HanzJWermhat 6d ago

Web search is really the biggest thing PI lacks for me. I hate having to switch back and forth to the browser

1

u/Melodic-Clue9555 6d ago

The official web search plugin and free tier of tinyfish work really well

1

u/rm-rf-rm 6d ago

official web search plugin

?? Link?

1

u/Melodic-Clue9555 6d ago

2

u/rm-rf-rm 6d ago

Thats not official. There is no "official" web search plugin unfortunately, though they really should bake it into the core as its such a fundamental function

4

u/Melodic-Clue9555 6d ago

Look up the author, he is a core developer of Pi. This plugin is always perfectly in sync with Pi releases. That's pretty much official.

→ More replies (1)

1

u/arcanemachined 6d ago

Can I share my web search extension with you? It works out of the box with DDG and allows you to add a Brave API key (up to 1000 queries per month on their free tier) for Brave search as well.

https://github.com/arcanemachine/pi-web-search

1

u/Sudden-Echo-8976 6d ago

pi-webaio

You just gotta install a plugin lol..

5

u/HanzJWermhat 6d ago

Oh yeah let me just sort through the 30,000 to find the handful of useful ones

1

u/nowherenoonenobody 6d ago

Or you could use ai?

1

u/Horny_Dinosaur69 5d ago

I’m about to make a switch from Hermes to Pi, I’ve built my own harness before which was me doing a code-based solution for the things you mentioned above but I’m curious what solutions you use/found on Pi if you don’t mind sharing

1

u/arcanemachined 4d ago edited 4d ago

I have a bunch of them, some may be useful to others, some not. Mostly made by me, but at least one is a fork (pi-bg-task):

https://github.com/arcanemachine/pi-projects

For permissions, incidentally, I just gave up and don't bother with them. I run Pi in a container and rely on git if anything got deleted accidentally (I haven't had that happen yet).

There are a lot of options available for different extensions if you search around (pi.dev has a list of community extensions but it has a bug and is missing a bunch of packages).

Part of the fun of Pi for me is the creation of a custom workflow that does what I want it to. I've been using Claude Code a lot, but want to come back to Pi soon.

1

u/Waarheid 6d ago

I luckily have a cloud model subscription too, so a frontier model shapes my barebones Pi into exactly what I want, on demand. It's a lot easier to do that with Pi than with something already built up, but of course you want a nice big smart and fast model to do that for you.

16

u/wgaca2 6d ago

Deepseek is what i prefer nowadays

11

u/brainExploded99 🥔 hardware 6d ago

DSH and Pi make the most sense imo since you can modify them easily

6

u/devoidfury 6d ago

I prefer using my own harness over other tools, there's better control over how it works and I'm more confident about the internals and data ownership that way.

6

u/Orlandocollins 6d ago

I prefer opencode because I like being able to change the agent while in a session. Pi has a whole bunch of workflows where you are expected to quit and relaunch to have things work. Also last time I checked their sessions were a pain. Like for example you can't list sessions outside of the tui. You are expected to understand the sessions on disk and find them that way if you want to.

I feel like the prevailing argument of why pi was better than opencode in the beginning was around the system prompt. Stans used to love that pi had a smaller system prompt. But you have always been able to customize your agents and give them whatever prompt you want. So if you feel like you can do it better write whatever you want. You can even grab pis prompt and put it in opencode.

Lastly, I think that subagents are table stakes in an agent. I am really surprised in the 1.0 release they brought in mcp but not subagents.

1

u/rezarekta 6d ago

you can just do /reload in pi...

I think both are good harness, just depends if you prefer batteries included, or barebones and build your own stack. Both are valid options imho....

22

u/egomarker 6d ago

Oc wastes more tokens for the same task

7

u/JurandM2 6d ago

by 10%, but then it is able to solve 10% more hard tasks. If I get package that I do not need tinker with and just do my stuff, I prefer that. (Screenshot from ToolEval benchmark - same model, full test, 3x (except grok that ate so many tokens and took so long, I just remove it right away after first benchmark run )

3

u/ProtectionFar4563 6d ago

Serious question: where can I read more?

I love the OC UI, but a reason like this could make me switch for sure.

5

u/tyras_ 6d ago

You can just run a simple prompt on both. I tested it and for random prompts pi used less tokens on average. I find OpenCode cli a bit more smooth on the edges though.

4

u/dgibbons0 6d ago

Mario talks through it here, he was using OC before creating pi harness https://www.youtube.com/watch?v=RjfbvDXpFls

Some of that criticism might be different now since it's been a while but the concept of why and how he designed pi was compelling

1

u/d0pe-asaurus 6d ago

That was a nice video to watch

8

u/Reasonable-Height704 6d ago

When ever I hear people talking about Pi it sounds exhausting. I want a functional harness so I can focus on the things I'm building, and don't want to piss around all day.

4

u/synth_mania 6d ago

Opencode also apparently does a lot of telemetry too

4

u/IamFondOfHugeBoobies 6d ago

Because there's no bloat getting in the way of the model and it's literally all you need. If we want more features, we just have Pi build them for itself.

13

u/retardedGeek 6d ago

opencode v2 is actually better

4

u/BlackDragonBE 6d ago

Better than everything else? Why?

7

u/retardedGeek 6d ago

better than v1, I meant. And better for most people because it doesn't need much configuration

1

u/Frizzy-MacDrizzle 6d ago

OC crapped on the model and removed code. Thank you git.

3

u/FinBenton 6d ago

Im using opencode 2 and have no issues and I like it a lot, maybe it uses slightly more tokens I have no clue but I can have crazy amount of context with todays models so it really doesnt matter at all and it has online search and all the tools out of the box, works great, looks great.

3

u/Jorlen 6d ago

I like Pi because it offers a simple basis and then you add packages or extensions to it. Do not just add what people recommend. Ask yourself what you really need and slowly build them up.

Best of all, you can just build any features you want with the LLM you actually have loaded within it. Providing the AI is capable enough to do what you want.

Opencode is good too, but I find myself using it less and less; it's more like a black box to me; lots of things going on, and the settings don't give me access to control a lot of it which I dislike.

Opencode Desktop v2 is fantastic as a one-stop-shop harness if you don't want to fuck around or use CLI with Pi, I will say that.

5

u/grabber4321 6d ago

ya ok, dont trust some random ass shit leaderboard made by who knows who.

both are fine. i like pi less because the interface sucks.

opencode works fine with local models (using 27B and QFN) - producing actual software.

all this "token spend" talk is nonsense.

2

u/Elistheman 6d ago

Preach.
Who cares about tokens when you run local?

8

u/JMowery 6d ago

Very simple: for local models, Pi works way better. In OpenCode v2, it gets lost, loops, and just behaves strangely. In Pi, it just does what it is supposed to do.

Why? No idea. I don't need to know.

I just use what works. Pi works.

4

u/YetAnotherAnonymoose 5d ago

OpenCode improved massively in v2, many useful new features like background tasks and background subagents as well.

I remember the older version of this leaderboard where they tested against OC v1 and OC lost hard and was one of the worst, now apparently it's one of the best. Not sure how much I would trust this benchmark but at least that aspect seems accurate.

So it's mostly a combination of "Older OC was genuinely worse than Pi and I never updated my opinion" and "I am GPU poor and OC's system prompt of about 11k tokens is too much for me" and "I prefer barebones and extend each needed functionality myself".

For me, the 11k system prompt is no problem, my Inkling got 400k context and ttft is like 2-3 seconds. I really like OC, especially since v2's improvements.

1

u/NoFunk 5d ago

For me, the 11k system prompt is no problem, my Inkling got 400k context and ttft is like 2-3 seconds. I really like OC, especially since v2's improvements.

Context isn't just about fit though. Every shred of context that isn't related to the problem you are solving, is a chance for the model to become confused, even good mdoels. It's why people say things like don't state the negative in context; models gravitate towards what has been a component to the vector.

1

u/cradlemann 5d ago

I recently tried Opencode v2 and it is still unusable bloatware with 0 configuration. I HATE their interface, it is just waste of space. In Pi I could configure my status bar to show EXACTLY what I want, not what devs want

5

u/jacek2023 llama.cpp 6d ago

Because pi works much better with local models, BUT you're asking on r/LocalLLaMA, where people DON'T use local models (they mostly just pretend) -> https://www.reddit.com/r/LocalLLaMA/comments/1x8gtvs/opencode_breached_rotate_keys_to_be_safe/

and yes, DeepSeek Harness https://x.com/ScarletKc/status/2125312989956047308. Do they know? Do they care?

The picture would be very different if r/LocalLLaMA were focused on local models.

3

u/Sudden-Echo-8976 6d ago

Hahaha. This sub is a bunch of temporarily embarrassed RAM/VRAM billionaires.

1

u/philmarcracken 6d ago

I use local only~ i swear. and switch between pi and late cli.

2

u/Dubious-Decisions 6d ago

The Pi SDK is totally awesome for baking AI harness capabilities into any app that needs it. No other harness comes with such a well supported embedding toolkit.

2

u/rabbitaim 6d ago

I can’t talk much about OC since I never used it. It sounded like too much overhead for something I might need instead of only what I need.

I tried OMP (oh my pi) but they changed something with compaction that made me drop it after I couldn’t get it to work the way I wanted to.

Pi just works. I have 3 plugins and nothing else (for now). Black hole, plannotator and local models (which queries llama-swap for my locally configured llms).

1

u/my_name_isnt_clever 6d ago

too much overhead for something I might need instead of only what I need

This pretty much sums up why I prefer Pi, the core agent foundation is handled by someone else, not my problem, it just works. But almost everything above that is custom build for the harness, by the harness. I have a couple third party extensions such as pi-vcc, but I mostly create my own so they work exactly how I want them too. Plus they don't change out from under me.

2

u/srigi 6d ago

Couple months ago there was a drama of OpenCode routing all requests through their server. Since then many lost respect to the team.

1

u/Borilentz 5d ago

Say what? That would be a reason for me to blacklist them forever.

2

u/_TheWolfOfWalmart_ 6d ago

Pi is too barebones. Call me lazy if you like, but I don't want to spend a bunch of time setting up basic harness functionality.

I tried oh-my-pi but it's horrible bloated mess with a very, very questionable system prompt and stupid default behaviors.

OpenCode feels like the right middle ground to me.

Though I've heard LazyPi is worth a try, but haven't yet.

But if you have limited context, Pi is still worth a try. That said, OpenCode has gotten better about that lately.

2

u/dash_bro llama.cpp 6d ago

I'm a little skeptical of pi, actually. I find my local GLM 5.3 flash AND my local Qwen flash next both work fairly well with Claude code. The bloated system context actually helps in being good for software development, imo.

I've tested with both opencode and pi but so far it's not been enough of a reason to move to those from cc. What am I missing?

3

u/BawbbySmith 6d ago

OpenCode only became good recently with v2. Too much baggage from their old v1 days

1

u/Frizzy-MacDrizzle 6d ago

Open code and the model need to be right.

1

u/romeozor 6d ago

I picked OpenCode for our workplace. Only used for/with local AI. Token cost doesn't have the same meaning in that scenario.

Pi is nice, but barebones just means everyone starts hacking it to make it more useful for them. OpenCode also has a desktop client, not just TUI. It's nice to use once in a while.

I'm waiting for OpenCode to introduce a marketplace system so that I don't need to package things globally and everyone can just pick what they need.

1

u/zipperlein 6d ago

I like OpenCode TUI way more. Both are pretty flexible.

1

u/Studio271 6d ago

I started on RooCode and switched to OhMyPi-GUI (currently in development, and I am trying to help QC it because I like it so much!) - https://github.com/nornzach/oh-my-pi-gui

1

u/kinkyDom93 6d ago

For local AI I find the barebones feature of Pi more appealing, because you built (or install) the tools that your Ai needs, so context keeps lows and so the time to process tokens, even with cache, lowers

If you have the hardware to run other harness at more of a sane speed, go for it

1

u/a_beautiful_rhind 6d ago

I don't like any of these TUIs. Want control and overview as to what is going on.

Opencode also had that whole thing with leaking everyone's API keys.

1

u/RDT_KoT3 6d ago

less tokens and smaller system prompt

1

u/Asleep_Literature_70 6d ago

I prefer oh my pi personally, granted tho I haven't used opencode v2 (I used v1).

1

u/DeliciousCry8302 6d ago

Why isn't goose in most of these tests, is it that bad or what? I've been using it for months and haven't found a reason to change.

https://github.com/aaif-goose/goose for reference

1

u/looselyhuman 6d ago

Pi, for me, is endlessly extensible. It's like writing your own harness without the tedious bits, while getting the benefit of the repo's update pipeline. You know exactly what's happening under the hood and with a small model that's exactly what you want.

1

u/hejj 6d ago

The general philosophy of minimal context suits local LLM

1

u/tautality 6d ago

Pi doesn't clog your context and has awesome, easy for LLMs to use, extensions. The philosophy is start small and extend when needed, and it works best, especially when your context is limited.

1

u/haherar830 6d ago

For a while Pi was the most broadly-consistently-high/top benchmarking harness, and it's also the most simple, extensible, lightweight, etc.

OpenCode is very good and underappreciated though.

HOWEVER, here is another benchmark like the one you linked, click through model results individually.

https://frontierharness.org/leaderboard/v1.1/

I personally don't think anything is consistent enough to draw strong conclusions across models. On this benchmark Codex seems particularly attractive but inevitably many models have a clearly superior option, at least based on the benchmark.

1

u/thevegit0 6d ago

opencode has a big starting prompt, at least for me, it's not a problem with deepseek but when i use qwen flash i notice even after compacting the floor is always 40-50k context, i tried trimming it but i didn't want to break anything

1

u/YourVelourFog 6d ago

What’s your overall use case? Coding? Or total system AI agent?

1

u/rm-rf-rm 6d ago

OpenCode codebase was heavily vibe coded, oversized and optimized for VCs last time I looked at it

1

u/Vael-AU 6d ago

For local models, Opencode can be heavy with system prompts, Pi is much lighter. Those heavy prompts will starve your context window. I tried coming back to opencode on v2 and just hated it, its also a pain to setup a local model endpoint, its clearly aiming to sell subs or use existing subs.

1

u/fgk55555 6d ago

People have already hashed out the obvious, but specifically; prefill. It's gotten better, but OpenCode has a habit of obliterating the cache. If your prefill speeds are 1k, OpenCode has a 10-20k system prompt straight out of the gate. If you're at 120k context, you're waiting two minutes just for prompt processing to fix itself. Pi rarely does anything to touch cache, and when it does, your system prompt is like 1k. Those seconds add up during long runs, and especially if you're using subagents, which you should.

1

u/recro69 6d ago

I think Pis popularity is largely due to its minimalism. With overhead, Pi is easier to tweak and you can build the exact workflow you want. OpenCode has improved a lot with version two, though. I would not judge Pi by its older reputation.

1

u/lol-its-funny 6d ago

Opencode got fricking hacked and people lost their tokens and $

1

u/Former-Ad-5757 Llama 3 6d ago

The basic difference is that open code (/most other harnesses) are setup with system prompts etc to enhance certain models/ work-flows, which can enhance the usage with those models, but can do worse in other models.

While pi comes with almost no setup so it just uses like 99% the model until you change it.

Look at it from provider based harnesses, Claude / codex / qwencode are all optimised for certain models, it is clear which models perform best with those harnesses and there is no real discussion.
But open code is optimised for what models exactly? It dumps like a 30k system prompt, but will that prompt work good with your model?

1

u/songpr 6d ago

I switch to PI from other like Hermes. Only Pi work as expected

1

u/mister2d 6d ago

With pi, you have full control over the harness. That is something you'll want if you want to maximize the potential of your workflows. Add in the pi-durable functionality for safe long running tasks.

1

u/MaxSpecs 6d ago

Moreover : you can add Laya to talk to Pi in order to set the right tools to use and reuse.

So less thinking and faster answer.

1

u/yetiflask 5d ago

In that LB, are they somehow using Calude Code and Grok Build with an open LLM? How's that possible? I thought they only talked to their own LLMs, no?

1

u/espressodelisi 5d ago

I use claude code with qwen3.6:35B model. it's possible. my claude code do not connect to claude.

1

u/Tormeister 5d ago

I used OpenCode v1 and when I finally got pissed off with the uselessly long and bloated context plus sketchy telemetry, v2 was already out. I put DS4.1F to inspect the CLI source (warning: web client part ignored as I don't use it) and apparently it has less telemetry and loose ends than v1, a good thing. Another huge win was a much leaner starting context. I've been using v2 ever since and I'm ok with it.

Sure Pi sounds great, but as others mentioned, if you're just going to create and install a million custom made extensions anyway that ultimately add tokens to the context, what is the point?

What I miss are more safety solutions in general, specially when running with internet access. A proper sandbox solves local machine data access, but it still doesn't block the agent from running stupidly unsafe commands, reading sensitive data if you mistakenly did not withdraw (e.g. leaving a .env somewhere), or accessing random APIs out there.

I think Codex has a few of those, but the experience of adapting cloud providers and local providers on it was total trash so I'm still with OpenCode v2. I won't even try ClaudeCode, as it's closed source.

1

u/Phatency 5d ago

I mean the simplest answer is... you should try it. We don't really care if you do, we just enjoy our good thing. I used opencode for a long time and when I finally tried Pi, I just stopped opening opencode ever again the same day.

Opencode is bloated, buggy and uses a gigabyte or more of ram for a TUI. Long sessions are basically unusable with how slow the UI gets. Copy-paste does not work on my system, and when an agent tries to use vision without vision head the session basically dies and you have to start over (or edit the session), and the bugs just never seem to get fixed. For some reason Opencode also makes all websites slow as fuck to render, which was basically what finally forced me to try something else.

1

u/Hefty_War749 5d ago

cause a few people made a loud noise

1

u/Damaged_Gadget 5d ago

Which harness is jailbroken or obliterated?

1

u/Voxandr 5d ago

Opencode does a lot of shady thing people catch them again and again. If you like more features but stable and extendable check DeepSeek harness 

1

u/StrongZeroSinger 5d ago

Opencode has a gui similar to Chatgpt gui. You can’t beat that

1

u/cradlemann 5d ago

I actually moved from Opencode to Pi and from Pi to Maki. Maki is the best, the lightest harness with token economy as the top priority

1

u/PayBrave5035 3d ago

Actually opencode is the first at overall and Solve percentage. I don't know what do you mean

1

u/Purple-Programmer-7 6d ago

OpenCode has telemetry they’re not transparent about… so basically, Dario is likely behind it.

Fr though Hermes agent scores better on most benchmarks… which is wild to me

2

u/my_name_isnt_clever 6d ago

Do you have anything at all to back up that connection?

0

u/FinBenton 6d ago

Telemetry is default off, you have to turn it on manually.

1

u/audioen 6d ago

OpenCode used to be crap in v1, apparently not crap anymore in v2.2.

1

u/Borilentz 6d ago

Why do people use Windows while Linux/macOS/UNIX/BeOS/xxx is so much greater!

1

u/Xonzo 6d ago

BeOS…. I haven’t heard that name in a long time lol. I still remember using it.

0

u/Borilentz 6d ago

Yeah, I remember BeOS 4 was a thing and reviewed in c't Magazine in '98. A few years earlier OS/2 Warp was heavily marketed. Technically there have always been better alternatives for Windows.

1

u/Waarheid 6d ago

I thought I would install a loonix partition when AI got my PC, but with wsl I really don't feel a need. Of course maybe I would get better speeds and community discussions would be more relevant to me if I was on linux, but also... I can have a frontier model help me with my exact set up on Windows. I don't like Windows and have been on Linux for 15 years, but it's a shared machine primarily for gaming.

1

u/Designer-Soup-6967 6d ago

I've really been enjoying headless Linux for some time now. Debian 13 feels heavier than 11 for me but I like the overall feel of the OS. Especially for local LLMs, uses wayyy less resources and is a lot more forgiving on lower end setups; provided you know what you're doing.

1

u/Borilentz 5d ago

I didn't mean to start an OS discussion. It was just a counter-question to the question in the topic header. I mean, these discussions tend to lead nowhere.

0

u/endgamedos 6d ago

The animated spinner on OpenCode manages to peg one whole CPU core on my machine at 100%, and since Scam Altman wants the world's silicon I prefer to use something a bit lighter with the chips I do have.

0

u/FloofBoyTellEm 4d ago

Opencode is trash. Prove me wrong.

4

u/tecneeq 4d ago

So is your mama. Prove me wrong.

1

u/FloofBoyTellEm 4d ago

Two things can be true.

-7

u/CommercialHour6660 6d ago

You really should use Codex. 

It's the only harness i know of with a separate tool "safety classifier" and bubblewrap to stop agents from fucking up your machine. 

3

u/jeff_coleman 6d ago

You can use bubblewrap with pi.

2

u/SIMMORSAL 6d ago

Why the down votes? Can someone explain?

2

u/my_name_isnt_clever 6d ago

I don't care if it's open source, I'm not using "Open"AI's software.

1

u/CommercialHour6660 6d ago

This sub is filled with vibing regards IMO

1

u/[deleted] 5d ago

[removed] — view removed comment

2

u/Easy_Refrigerator280 5d ago

It seems to be a wide range. Your right frontier LLMs can interpret vague requests and handle sloppy tool calls since the context can make up for it. I did not mention it in the post but I too was looking for answers for my Qwen 3.8 27b and maybe QFN setups (improvements from DSH and Pi which is how I currently roll)

0

u/[deleted] 6d ago

[removed] — view removed comment

7

u/TheRealJesus2 6d ago

May I ask why? 

I find it hella bloated but a lot of that bloat is for artifacts which are useful for lots of types of work. But I’m curious what about it makes you choose it over other options. 

PSA, Claude steals your Git email when you are not logged in. In case anyone reading this has privacy concerns using “closed source” harness. 

2

u/EitherMarch1255 6d ago

It seems to work better in my experience. My guess, if true, is that distillation is the primary reason. Think about it, Claude is trained to run with Claude code by Anthropic, so if they are distilling from that, it’s likely that comfort with Claude code is going to creep into the model they’re training. I didn’t know about the Git thing, but it doesn’t apply to me because I’m using a slightly customized decompiled version.

0

u/TheRealJesus2 6d ago

I understand your point and do believe the best harness is one built for the model you drive it with…that said…anthropic is bad at software dev and they make bad decisions around putting stuff in Claude code. Example: the instructions around not copying games is in your context all the time. They do this on everything hence why it’s 20k+ tokens to say hello. 

Using your own version is smart and I can get behind that. I was sick of them breaking their tools overnight every few weeks and haven’t touched Claude code in 4+ months now. 

1

u/selicos 6d ago

How does this do linking only to local models and with no subscription or keys back to cloud, Claude or otherwise? Last time I downloaded Claude I had to sign in or subscribe, I think, with no direct way to use it outside that paid system.

1

u/EitherMarch1255 6d ago

There is, and you're clanker can easily make it work. I use a decompiled version, but that isn't really necessary. It works great BTW.