Live data from Hacker News

ZCode – Harness for GLM-5.2

zcode.z.ai

251–260 of 382 posts

Re: ZCode – Harness for GLM-5.2

#251

Has anyone come up with a decent harness for small local models, say, gemma4 e4b? I'm trying to roll my own but man, the capability gap is real.

This is precisely what I've been working on targeting with https://dirge-code.github.io/ I've written up an explanation of what trips small models ups and how the harness can address that here https://yogthos.net/posts/2026-06-08-dirge-code.html

This is very impressive!

Re: ZCode – Harness for GLM-5.2

#252
post #82

It's impressive all these companies are getting away with "base usage allowance included" [1] or "standard limits" [2], layering the higher plans as a multiplier of that "base" but never disclosing what it is. I guess the base is whatever the profit margin needs to be this month. [1]: https://zcode.z.ai/en#:~:text=Base%20usage%20allowance%20inc... [2]: https://support.google.com/gemini/answer/16275805?hl=en#:~:t...

Yeah, this is why I like the ACCC in Australia. They wouldn't allow this sort of thing to fly if this was an Australian company.

Re: ZCode – Harness for GLM-5.2

#254

Earlier quoted context omitted.

I don't run agents directly on my desktop/laptop machine. I run them in VMs or containers (sometimes in containers on VMs). There have been too many credentials stealing exploits via prompt injection and the like for me to be willing to let an agent roam around on my personal system. I've also started creating new github deploy keys for each repo in use on a VM, so the blast area for any given agent disaster is "a co…

I'm working on a credential broker that would keep credentials vaulted and parcel out access on a per-grant basis. Is that something you'd find useful or is your setup comprehensive enough? We would be allowing people to draft access policies with natural language, I figured it would be useful for things like vercel, stripe access etc.

Not at all would i ever within the current technology constraints trust a "natural language model" to secure access to my own credentials, i will always keep it as completely isolated from anything at all i would consider 'risky' and pre-define before it begins what it could possibly access through a brand new VM with only the absolute minimal access to any git repo's and completely restrict to the extent that is allowable, it's ability to do anything outside of it's own playground. The playground is disposable, the potential for the LLM to access any of my own accounts and wreak havoc on the trust in my network is unacceptable under any rules....

Re: ZCode – Harness for GLM-5.2

#256

I'm somewhat surprised that this is not open source (from what I can tell). Compare to Mimo Code https://github.com/XiaomiMiMo/MiMo-Code (which is a CLI, while this is a desktop app).

I'd prefer a CLI over a desktop. But then why don't I just use OpenCode?

Re: ZCode – Harness for GLM-5.2

#257

i like Chinese open weight model that offer cheap token but i only use it for my personal project. China have a history of stealing IPs/trade secrets and Chinese court favored its own local companies. while US have a robust court that can enforce IPs. if you want to risk your company's IPs/trade secrets/data for some cheap token. Go ahead and use Z.ai's services.

What's your top secret project?

Re: ZCode – Harness for GLM-5.2

#259

Earlier quoted context omitted.

have used both pi and opencode for the last 6 months, haven't opened a proprietary harness (cc, codex, cursor) in that same amount of time. right now i'm on pi and i can switch seamlessly between any model across any provider i want, even mid session. can even point them at locally running models. i think people don't realize how much better life is over on this side, cc and codex rely entirely on vendor lock in imo.

Does a mid-session provider switch result in loading the entire context into the new model, inflating session cost? I don't think I understand the token/cost implications of this feature

Yes you pay a big burst right after switching. After that, everything is cached and it's smooth sailing.
Post reply on HN