Hacker Newsnew | past | comments | ask | show | jobs | submit | forgingahead's commentslogin

What are people using for a local offline harness? I've heard that OpenCode has lax approach to security and has some default dial home settings. Aider? Want to use Qwen3.8-27b locally for coding on 24gb VRAM. Best option?


I'm in the same boat. I was the primary advocate for fixing the config security regressions in the OpenCode tool (separate from the console hack days after the fix). My impression is that they are improving quality across the board. I will not being updating to v2 because I do not jive with the new UX. I would recommend checking it out, it's the best open harness I've used so far, though I'm only interesed in TUIs.

I'm currently using the Pi harness as well, it's closer to OpenCode v1 with a few plugins. However, I have zero faith in their security or maturity after several communications with the CEO. Pi is also developed by an Israeli team, if that is something that matters to you, re: Mossad concerns or Palestinians rights.

I'm going to go back to my own custom harness and do a full rewrite, now that I have seen what 6+ other harnesses offer.


Security is not the harness' job, it's the sandbox's job. These are two different tools, you need both of them.


harness have a say in security too, sandboxes are one part of posture, but not the only one

You can decide for yourself: https://github.com/earendil-works/pi/issues/10895

Anthropic, OpenAi, and OpenCode all support this feature, we have non-developers to support and MDM is widely used.

For comparison, this excellent reply from Aiden on the OpenCode team: https://github.com/anomalyco/opencode/pull/54921#issuecommen...


Anthropic, OpenAi, and OpenCode all support this feature

... which is a foolish mistake.

Also, they have an economic incentive to make themselves the kitchen sink.


> which is a foolish mistake

Why do you think it is mistake?

How do we provide org / ops determined configuration that users and agents cannot change while still giving them some flexibility to set the values we do not determine?


Last time I checked Pi is developed by Austrians?


We may both be partially right, the main dev I interacted with has Tel Aviv on his GitHub (also 'Hanna' being around the project, but apparently that is a surname not a first name, and a mistaken extrapolation on my part)

https://github.com/davidbrai

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

The lack of professionalism or seriousness was mainly in a private email chain with Armin. He added a single comment to this issue after that chain which was the gist of a couple of his replies, less snarky. Either way, the interaction left me disappointed, not a founder who seems interested in listening or learning imo.


I see, thanks for clarifying.


I think you are more right than me, so thank you for clearing up my understanding


That's alright, was just wondering if I missed something. Not that interested in being "right".


I wrote my own harness designed to feel like a unix util. If you're worried about security, mine is a single file shell script less than 1,000 loc. It only depends on llama-cli and a few posix shell tools. So it has no way to dial anywhere and no security problems hiding in some dependency.

But it's not optimized for coding specifically. It can edit files fine using Aider style edits. I've used it to write to do lists as a test. But I more designed it with the idea to be my personal debugging tool if I ran into any weird things while using Linux on a laptop.

github.com/patrickjh/ssa


Thanks! I've been fiddling with my own single html file mini-harness myself, not coding ready yet, but been fascinating to better understand how some of these models work.


One thing that might help you.

I heard in a youtube video of a conference talk that many of the more modern models have been designed to output correct JSON. Like the model creators have done something with the next token prediction. When you are asking for JSON, they do some special stuff to basically force the model to output correctly escaped JSON. In the past, getting all output as JSON could lead to malformed JSON and parsing problems. With modern models that basically does not happen any more.

If you are doing a single HTML file harness, you have access to javascript. You might consider getting all model output as JSON. Should be pretty easy for you to parse and then use the output with javascript.

Dealing with JSON in posix sh would have been too many loc for my harness. So I used other techniques. But you don't have to do that.


I'm using Qwen 3.8 27B with Unsloth's UD-Q4_K_XL quantization[0] via llama.cpp with 131k context - full command line:

llama-server --model Qwen3.8-27B-UD-Q4_K_XL.gguf --ctx-size 131072 --parallel 1 --cache-type-k q8_0 --cache-type-v q8_0 --host 0.0.0.0 --port 8080 --spec-type draft-dflash --spec-draft-model dflash-Qwen3.8-27B-Q4_0.gguf --spec-draft-n-max 3 --spec-draft-type-k q8_0 --spec-draft-type-v q8_0 --mmproj mmproj-BF16.gguf --no-mmproj-offload --image-min-tokens 2048 --reasoning-preserve

It just barely fits in my RX 7900 XTX's 24GB of VRAM (TBH i'm not sure if dflash is much better than MTP - which is included as part of the GGUF - and MTP saves ~1GB of VRAM). I'm using Linux with Xorg/Window Maker as my DE so it uses no VRAM at all (Qt-based stuff - and i guess modern Gtk too - tend to use some VRAM for themselves, even opening Kate shows up in amdgpu_top :-P). The above gives me on average ~50 tokens/sec generation (drops to about 35 when the context is close to full) and ~700 tokens/sec prompt processing, which while not particularly speedy is fine for agentic stuff as i just give the AI a task and leave it in the background doing things. To save some VRAM i run the multimodal projector for vision on the CPU (the --no-mmproj-offload) and only one task is ever executed at the same time (--parallel 1). Also the kvcache is quantized to q8_0 - supposedly this makes the model a bit dumber, though the extra VRAM needed for the full f16 kvcache makes it more than ten times slower :-P (and AFAIK dense models like the 27B aren't as affected by it as MoE models are).

I'm using Pi[1] (a slightly older version that i've had remain offline and disabled the telemetry) for now (will replace it at some point since i'm not a fan of the ~500MB dependency tree, the almost-dark patterns for online access/telemetry and the increasingly worrying push for the devs' services, but i do like how it approaches compaction and that for the most part it doesn't need any handholding when some error happens - which is ideal for "let the AI do something and check it some time later").

It is running inside a container so it doesn't get any access to my real stuff (mainly to avoid the LLM making any mess - of which it sometimes does in the container, but well, it is contained :-P). In the container Pi gives the LLM some basic tools - read, write, edit and bash - and the last one is basically used to do most of the work (i've also made a bunch of tools the LLM can use via the CLI).

[0] https://huggingface.co/unsloth/Qwen3.8-27B-GGUF/blob/main/Qw...

[1] https://pi.dev/


+1 to the RX 7900 XTX and also the RX 7900 XT model (20gb), much more affordable if you're trying to dip your toes into localgen


Yeah though AFAIK it is discontinued now (or at least i can't find it in the local price aggregator). I think R9700 is a decent alternative, a bit slower (256bit bus vs 384bit bus) but has 32GB of RAM, still isn't too overpriced (at least compared to Nvidia alternatives) and has an opensource stack too (which is why i went with AMD in recent years).


opencode connected to ornith 1.5 35b q8 running on a jetson agx orin


It was a good entertaining movie. I found all the online right-wing hysteria about this really silly and stupid. The moral of the story should actually appeal to reasonable moderates everywhere: Zeus's Law, whereby strangers (refugees/immigrants) are welcomed, should not be taken advantage of, ie when the strangers (refugees/immigrants) misbehave and spit in the faces on their hosts, lest they break the culture and tolerance that allowed them to be welcomed in the first place.


> But there were unspoken conditions to our acceptance, and that was the secret we were meant to glean on our own: we had to be grateful. The hate wasn’t about being darker, or from elsewhere. It was about being those things and daring to be unaware of it. As refugees, we owed them our previous identity. We had to lay it at their door like an offering, and gleefully deny it to earn our place in this new country. There would be no straddling. No third culture here.

> That was the key to being embraced by the population of our town, a community that openly took credit for the fact that we were still alive, but wanted to know nothing of our past. Month after month, my mother was asked to give her testimony in churches and women’s groups, at schools and even at dinners. I remember sensing the moment when all conversation would stop and she would be asked to repeat our escape story. The problem, of course, was that they wanted our salvation story as a talisman, no more. No one ever asked what our house in Iran looked like, what fruits we grew in our yard, what books we read, what music we loved and what it felt like now not to understand any of the songs on the radio. No one asked if we missed our cousins or grandparents or best friends. No one asked what we did in summers or if we had any photos of the Caspian Sea. “Men treat women horribly there, don’t they?” the women would ask. Somehow it didn’t feel OK to tell them about my funny dad with his pockets full of sour cherries, or my grandpa who removed his false teeth when he told ghost stories.

From https://www.theguardian.com/world/2017/apr/04/dina-nayeri-un...


Hacker News sadly jumped the shark in the mid-2010s, and went into orbit after Trump was elected the first time. Since then there's been a lot of political performers here, which has killed the quality of discussion significantly. Lobsters (https://lobste.rs/) is apparently a possible alternative, but the original HN magic has been gone a long time.


I understand the frustrations, but...we're all grown adults here right? Who DOESN'T pay for seat selection if you want or need a good one? The insurance item is ridiculous, but...again, for grown adults with families/kids, do you really fly Ryanair?


> but...again, for grown adults with families/kids, do you really fly Ryanair?

Every time I'm on a Ryanair flight to Spain, it's very family-heavy. Like, why wouldn't families go on Ryanair? If nothing else, they have a near-monopoly on certain routes.


As a many times Ryanair user I don't. I get allocated some crappy random seat, enter the plane last and sit somewhere else, often a row to myself.


Is there a reason for wanting to run these agents on your own local machine, instead of just spinning up a VPS and scp'ing whatever specific files you want them to review, and giving it Github access to specific repos?

I feel like running it locally it just asking for trouble, YOLO mode is the way to make this whole thing incredibly efficient, but trying to somehow sandbox this locally isn't the best idea overall.


You may be right. I plan to try out some remote approaches. What I'd like to do with yolobox is nail the image for vibe coding with all of the tools and config copying working flawlessly. Then it can be run remotely or locally.


Belgium gave me one of the more annoying train experiences when I was a younger man. I was in Leuven for a conference, and had decided to bring my then girlfriend (now wife) for a trip, after which we would take the Eurostar to London. On the ticket, it said Brussels-Midi, but after happily boarding the train, we only saw the following related options on the train map for stops:

1. Brussel-Noord

2. Brussel-Centraal

3. Brussel-Zuid

So here we were, not speaking the language, rushing for a train that we were at risk of being late for, and not having a clear idea of the actual stop to get off of.

And the people on the train? Totally unhelpful. "Eurostar"? Shrug. "Train to London?" Blank looks.

Anyway we winged it and made it, but still a damn stupid set up if you want to be welcoming to tourists (and their money).


Brussels in particular perhaps is sort of non-intuitive because, even (or perhaps especially) if you know a little bit of French, the station names don't obviously correlate to their relative locations. There is a logic but it's not obvious to someone not used to it--and, honestly, I'd have to go online to figure it out again.


Was it Centraal? That would have been my guess.


Nope, the biggest station is actually Midi/Zuid.


Hah nope! Even as a Belgian I find the naming of the Brussels train stations maddening. Brussels-Midi is the south station, so Brussel-Zuid. Midi allegedly means south in French, but I've never actually heard it being used over "sud", also south.

In conversation, midi also means noon (e.g. used as "meet me at noon"), which for my brain correlates more with central than south, given the context of a day.

Not a linguist, so what do I know, maybe someone else can chime in.


This is indeed the bizarre convo I was having with myself, having (allegedly) taken some French classes, I was racking my brain on which was the correct answer. We always used "sud", and Midi didn't seem to be south, eliminating Zuid (Since Zuid/Sud seemed similar), and yes Midi seems "mid-day", so maybe "Central" since it's the center of the day, but then there's "Centraal", so why would there be Centraal and "Brussels Middle"?!

So we winged it and got off at Zuid (since Noord felt wrong and Centraal definitely seemed wrong) and luckily it was the right one.

We did have a wonderful evening (perhaps too much so) the night before at a nice craft beer bar in Leuven which had 100 beers on tap, and it had just bought over by a nice young couple as well. So perhaps neither of us were in the right state that morning to navigate a confusing train map! Good memories.


Southern France is also called le Midi!

BTW, Ukrainian shares the same logic, but it also calls the north "midnight" (північ). Meanwhile, Armenian calls the east and west "sun exit" and "sun entrance" (արևելք, արևմուտք) respectively.


In Europe (and anywhere else north of the Tropic of Cancer), the sun is always approximately due south at noon. That’s the reason for the connection, and “midi” indeed means both south (in some contexts) and noon in French.


Makes a lot of sense, thanks for the insight!


I was in Belgium going to Antwerp and sometimes the French name -- Anvers -- was used. At least in e.g. Valais in CH cities that have dual names are shown with both, e.g. Sierre/Siders.


My sense is that this has happened over the last 20-30 years as overall competence has just dropped in many of these key positions. COVID was a good example of this - lots of humming and hawing about why decisions were being made, and garbled messaging about the reasons. Basically they get angry and defensive about blaming the "peanut gallery" or "armchair experts" while not being specific, because they themselves don't know why or how something is being done, and therefore being unable to defend their own positions from solid ground.


Nice work! What hardware are you running ComfyUI on, specifically the Wan2.2 workflow? It must be expensive having a GPU running for a hobby project like this?


Thank you. I'm running it locally on a 4090 (24 GB).

I was running into OOM issues with Wan 2.2 before, but I found the latest version of ComfyUI can now run it (using about 17 GB of VRAM for what I assume is a quantized model?).


I truly enjoy how the naming conventions seem to follow how I did homework assignments back in the day: finalpaper-1-dec2nd, finalpaper-2-dec4th, etc etc.


Where does "Smol" come from? It's supposed to mean "Small" right? If yes then what's the etymology and reason for popular usage?


It's just internet speak from the days of tumbler. It usually has cutsie connotations.

Tumbler speak has a bunch of whacky things, notably "chimkin nuggers."


In the specific case of SmolLM, it originates from the meme in this dataset https://huggingface.co/datasets/bigcode/the-stack-smol


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: