| ▲ | FreeHand(microsoft.github.io) |
| 143 points by jhack 9 hours ago | 77 comments |
| |
|
| ▲ | padolsey 3 hours ago | parent | next [-] |
| It is a pleasant sort of 180, that we obsessed with MCP and other myriad harness techniques only to discover that in the end it is the primacy of the unix shell that comes most naturally to LLMs, and so the only thing we should obsess with now is how to appropriately sandbox that latent competency (to be clear: nobody ever said you had to let an agent legit run bash on an actual system, only that it's how they like to 'talk'!!). Unix already solved how to let things represent state and hierarchical memory/context (files and dirs lol), advertise capabilities (yes, it's just --help), talk to other things (stdin/out, pipes, sockets), etc. It was always right in front of us. It should be humbling us that we keep stepping over ancestors' footsteps. |
| |
| ▲ | agentdev001 41 minutes ago | parent | next [-] | | You've stated the reason why MCP things still have a place without directly pointing it out, haha. "the only thing we should obsess with now is how to appropriately sandbox" Kinda-counterpoint, "how do we sandbox" is the same question as "how do we give all agents an MCP client", in the fact that you are giving a capability to a fleet of agent clients. The first one is (generally) really hard to do at enterprise speed, if you're on prem. The second one is already solved- so, that's not a big lift to lean into. Additionally I will note that MCP-advertised tools are Harness-level, ie same part of the hierarchy as Bash. Not super relevant in this comment but I want to use this opportunity to inform passerbys. :) | |
| ▲ | traceroute66 2 hours ago | parent | prev | next [-] | | > in the end it is the primacy of the unix shell that comes most naturally to LLMs Given that LLM's learnt by scraping the likes of Stack Overflow, I'm not sure why it comes as such a surprise that shell wizardry is the path of least resistance ? | | |
| ▲ | hackyhacky an hour ago | parent [-] | | > Given that LLM's learnt by scraping the likes of Stack Overflow, They also scraped Renaissance French poetry, but for some reason that's an awkward way to communicate with them. | | |
| |
| ▲ | xg15 3 hours ago | parent | prev [-] | | > (to be clear: nobody ever said you had to let an agent legit run bash on an actual system, only that it's how they like to 'talk'!!) Bash and Python, apparently. The irony is that there would have to go a lot of effort and complexity into a "harness" that looks like a bash shell with python installed from the inside but is really something completely different on the outside. It would be much easier with a model defaulting to e.g. JavaScript or TypeScript instead, as JS runtimes are already built with sandboxing and arbitrary host environments in mind. | | |
| ▲ | cyanydeez 17 minutes ago | parent | next [-] | | I hard forked opencode and am devising a "protocol" switch that forces all the tooling through ssh or docker or a vm. I think the archtectural decision of loading your harness on bare metal is what makes it unsafe and instable. Afterall, this is all just text. Text. If we can't make text safe, then linux engineers were way to praised for their capabilities. | |
| ▲ | fizzbuzzbarbazz 38 minutes ago | parent | prev [-] | | xonsh.ai, lfg |
|
|
|
| ▲ | ohaodha 3 hours ago | parent | prev | next [-] |
| For those interested in higher model autonomy, Autolith [1] is a Lisp-based harness that allows the agent to modify the harness as it's running. I personally haven't experimented with it yet but the idea is certainly cool. [1]: https://autolith.rocks/ |
| |
|
| ▲ | trollbridge 6 minutes ago | parent | prev | next [-] |
| How is this not just pi? |
|
| ▲ | childintime 6 hours ago | parent | prev | next [-] |
| This seems major. The source: https://github.com/microsoft/FreeHand. No Windows version, what?! |
| |
| ▲ | arcanemachiner 6 hours ago | parent | next [-] | | It's also related to SkillOpt, another "self-improving" concept that I thought was pretty neat: https://microsoft.github.io/SkillOpt/ | |
| ▲ | AyanamiKaine 5 hours ago | parent | prev | next [-] | | probably because it uses bash. I wonder why they didnt use powershell? As it also exists for linux. | | | |
| ▲ | sorrywhat 2 hours ago | parent | prev | next [-] | | "It's a 200 word prompt!" Meanwhile the repo has an install.sh, 10 READMEs, src/ with 20 python scripts, 100 tests and a docs/ with a few dozen .md files. | | |
| ▲ | Crestwave 28 minutes ago | parent [-] | | I'm guessing the prompt minimalism was referring to the scope of what the LLM has access to, not including the rest of the setup. |
| |
| ▲ | amelius an hour ago | parent | prev | next [-] | | Claude, please write me a better Windows. | |
| ▲ | lmpdev 3 hours ago | parent | prev [-] | | Welcome to Microsoft post ~2016 |
|
|
| ▲ | carlosneves 5 hours ago | parent | prev | next [-] |
| Why wasn't mini-swe-agent included in every bar chart result? I have a feeling it might not have been given due credit, as it's the harness most similar to the one described here. Confusingly, your legend for codex has the lines tilted in one direction, while the lines in the bars tilt at a different angle. Why so much gray scale? Just makes it harder to distinguish. Using colors would probably make it more readily understandable. |
|
| ▲ | agentdev001 an hour ago | parent | prev | next [-] |
| I'm concerned about Cache reuse. I would wonder if ANT/OAI offer any knobs that would help alleviate potential weak prefixes here. Im glad that kv cache busting is atleast mentioned- but it'd have been nice if they specified the cost attributed to it in their testing here. "Unedited prefixes retain standard provider prompt-cache hits automatically, while editing trades a partial cache rebuild against permanently lower context volume on all subsequent turns." |
| |
| ▲ | richardcrng 11 minutes ago | parent [-] | | I was thinking a bit about this too, but I think it being net cheaper in spite of cache busting is an interesting finding. |
|
|
| ▲ | leobg 5 hours ago | parent | prev | next [-] |
| > Freehand, a general-purpose harness built on one rule: give the model a shell, its own memory, and a meter—and let it decide everything else. Wasn't that the basic insight that Zechner had when making Pi? AFAIK his was even more radical, because he also chiseled away memory, saying the model is going to be smart enough to write .md files. |
| |
| ▲ | richardcrng 5 hours ago | parent | next [-] | | My impression from a skim is that Freehand's notion of modifiable memory is "let the agent edit the transcript that will be fed in the next turn", i.e. prioritising model autonomy over cache hits. (The harness still lets the model write other files via bash, and I don't know if conversation history modification is something Zechner has done or is doing with Pi.) I didn't see any discussion of the cache miss implications in my skim, but the charts suggest it still works out cheaper per task. (I can believe this; their examples show dramatically fewer turns.) EDIT: found in the full paper, "Unedited prefixes retain standard provider prompt-cache hits automatically, while editing trades a partial cache rebuild against permanently lower context volume on all subsequent turns." | |
| ▲ | PaulKeeble 5 hours ago | parent | prev | next [-] | | Its repeatedly proved to be one of the better approaches when harnesses are tested. Sometimes it wins, somethings its in the top few depending on the model and task but its never bad it seems to be a capable approach. It makes me nervous though because there is nothing stopping the AI doing whatever it wants and if it makes a mistake on an rm -Rf there is going to be no prompt for you to stop it. Given the advances in the billion-context plugin I imagine memory advances are largely going to come for Pi at some point. I have been fine managing context and burning tokens rereading files but I guess at some point it would be nice for complete project knowledge to just work including my entire history with it. | | |
| ▲ | threatofrain 5 hours ago | parent | next [-] | | > It makes me nervous though because there is nothing stopping the AI doing whatever it wants and if it makes a mistake on an rm -Rf there is going to be no prompt for you to stop it. Then constrain the risk by putting it on a test instance. | |
| ▲ | dist-epoch 4 hours ago | parent | prev [-] | | This harness is not targeted at people who still approves their agent tool calls or who run the agent on their main environment. |
| |
| ▲ | retinaros 5 hours ago | parent | prev [-] | | yeah basically it is what everyone did just calling the API and give a shell. Memory even is a harness problem in itself as model capabilities evolve. |
|
|
| ▲ | unglaublich 3 hours ago | parent | prev | next [-] |
| Nice, I just had a similar plain 'harness' mixed with unkernel.dev.
Agentic chat interface left, terminal right.
Agentic chat has `bash` tool call, and gets its own context from file on `unkernel`.
Really powerful local 'computer use' setup! |
|
| ▲ | virtualritz 2 hours ago | parent | prev | next [-] |
| Whatever model I use seems to prefer writing python to modify source (if no tool use instructions are provided). Surely that can't use less tokens than something like ast-grep? What am I missing? |
| |
| ▲ | cyanydeez 14 minutes ago | parent | next [-] | | the local models I have start with the read/edit commands, but as soon as they realize they can do something with python, that's all they want to do. | |
| ▲ | thenthenthen 2 hours ago | parent | prev [-] | | How can these researchers access blocked models |
|
|
| ▲ | AnonC 3 hours ago | parent | prev | next [-] |
| This looks interesting, though my knowledge on it is quite limited at this point. It says, “the model builds what the task needs”. Wouldn’t this be susceptible to hallucinations, wrong tool creation, etc.? How does one verify and correct it? With the myriads of tools with the current harnesses, we bring in predictable and deterministic results with some human effort in order to keep boundaries and controls on the probabilistic results of a model. |
| |
| ▲ | sorrywhat 2 hours ago | parent [-] | | I don't think there's a ton of value in these tools anyway. I've noticed that agy/cc/codex, running on Windows at least, the models tend to ignore tools in favor of single-use scripts. I know that because every 5th message on Windows is "Whoops, I mangled the PowerShell quoting!" followed by "Whoops, I retried it in bash, but it ran in Git Bash and converted half the codebase from CRLF to LF!" | | |
| ▲ | jacmilts an hour ago | parent [-] | | I wonder how much tokens I've lost to mangled PowerShell quotes, I keep seeing it. | | |
| ▲ | disgruntledphd2 an hour ago | parent [-] | | They're actually pretty bad at getting stuff working first time. You generally need to expand the tool calls/thinking to notice though. To be fair, so am I and they're much faster than me. |
|
|
|
|
| ▲ | dawdler-purge an hour ago | parent | prev | next [-] |
| I wonder if I use this with my ChatGPT subscriptions, will I get banned? |
| |
|
| ▲ | 9dev 42 minutes ago | parent | prev | next [-] |
| It’s always frustrating to me how I cannot try all of these alternative harnesses, because Anthropic locks me into theirs with the subscriptions. I cannot even fathom paying for my usage in API prices, so that’s out of the question. It also means, though, I can never try tools like these… |
| |
| ▲ | trollbridge 4 minutes ago | parent | next [-] | | Go sign up for ChatGPT or Mistral (which has excellent access to DeepSeek), or if you’re okay with Chinese/Singaporean data locality, DeepSeek and Xiaomi MiMo themselves. | |
| ▲ | nunodonato 16 minutes ago | parent | prev [-] | | thats why we abandoned anthropic a long time ago. I can't stand that kind of lock-in. |
|
|
| ▲ | bananaflag 4 hours ago | parent | prev | next [-] |
| It had already been predicted that the harness will be consumed into the model. |
| |
| ▲ | haolez an hour ago | parent [-] | | Yeah, that was the bitter lesson for me. I've tried more than once to use those complicated harnesses mixed with kanban boards, but I always gravitate back to something that is just a chat and a lot of agent tools. | | |
| ▲ | agentdev001 22 minutes ago | parent [-] | | I must be speaking a different language here. Regardless of how complex the tool surface- its still a harness. What MS is proposing here- is still a harness. The current API surfaces are not shaped to allow for the harness to be killed. We still are telling the model "hey heres bash" and then running what is asks. | | |
| ▲ | cyanydeez 9 minutes ago | parent [-] | | This is the grey middle they're indirectly referencing: https://huggingface.co/harness-hub Post training, you can teach any given model how to better use the tools. So there likely will be a middle model in the stack between "purely deterministic user driven ui" and "purely non-deterministic reasoning machine". |
|
|
|
|
| ▲ | skrebbel 5 hours ago | parent | prev | next [-] |
| The thing I hate the most about the future is how we simply gave up on writing. This page is a good example. It is (to me) needlessly hard to parse. It’s not terrible AI slop or anything but it still makes me feel slightly stupid in exactly the way Claude keeps doing. |
| |
| ▲ | origini 4 hours ago | parent | next [-] | | I don't have the feeling that Claude is hard to read, but what I find very irritating or weird, that apparently I recognize Claudes writing. I'm vibing a lot right now with Claude and few words/sentences of that page feel exactly the same and the weirdness of it is, it is like reading text from the same person but they are not connected with each other at all. | |
| ▲ | gobdovan 5 hours ago | parent | prev [-] | | Any section you find hard to parse in particular? Only things that sound LLM-level bad are 'The Bitter Lesson *holds* that' instead of simply 'says that' and 'For weaker models these presets are a crutch; for frontier models they become a cage'. | | |
| ▲ | skrebbel 3 hours ago | parent [-] | | Hm yeah hard to point out. Again I'm not saying this is badly done AI slop. But eg > It also outperforms OpenCode, Pi, DeepSeek Harness, and a bash-only harness that still fixes its workflow and timeouts, while with lower-tier models the first-party harnesses win again. I had to re-read this sentence twice. Maybe I'm just an idiot. But I used to not feel like such an idiot all the time a couple years ago. There's something weird going on here and I can't really figure it out. Like, "it outperforms X, and $DETAIL" is a present tense thing, and objective statement of fact. But "while with lower-tier models the first-party harnesses win again" suggests this is more like the report of a benchmark they just ran. It's not wrong grammatically, but it's this weird subtle mixup of state/eventuality that trips me up. I lack the language-fu to even describe my complaint properly. I can't imagine anyone saying this out loud in a classroom. It'd become "We benchmarked it against OpenCode, Pi, DeepSeek Harness and $DETAIL, and it outperformed all of those. But when we used a lower-tier model, those harnesses won again". It's just, super unnatural. And this page is full of stuff like this. (and then obviously the super detailed bash thing seems out of place, like AIs do all the time. I think a human would relegate that to a footnote or skip it entirely) | | |
| ▲ | gobdovan an hour ago | parent | next [-] | | > I can't imagine anyone saying this out loud in a classroom Mandatory https://paulgraham.com/talk.html mention. I like analysing LLM prose and trying to figure out its genealogy, thanks for pointing this sentence in particular, since it's pretty loaded: The present tense is usually used in marketing, as it tries to shut off your brain. If they said 'it outperformed xyz in our tests', there'd be space for the mind to ask 'But does that generalise? Is the experiment rigorous?' If they tell you 'it outperforms', it sounds like a fact. There's no room for the reader to form an objection to what's presented. Then, if they gave the negative result its own clause and also used 'but', suddenly the centre of attention would shift there. The reader would once again break free from the presentation flow and could think about what that negative result means. They use more words in the first part of the sentence to draw attention to it and emphasise how many things their harness beats, it beats a and b, and c, and ultra-mega-detailed-d, while the second part is tiny and deemphasised. Also worth noting is the asymmetry in word choice: their harness 'outperforms' (objective, technical), while the others 'win' (do better in a game). And if you think people don't put effort into these things, here's Dr Judy Swan in 2013 explaining persuasion techniques in scientific writing, many of which are similar to those above (but used with more mastery and elegance): https://www.youtube.com/watch?v=jLPCdDp_LE0 There was also a free Coursera course from Michigan Law (this was one of the lecturers, Prof. Patrick Barry, can't seem to find the course now: https://www.youtube.com/watch?v=we1iDQAM4HY) where they presented even more of the recognisable persuasive techniques used by AI. Bear in mind that legal professionals usually use ambiguity instrumentally, something most people aren't accustomed to doing consciously. But AI might have picked up a few of these tricks. | |
| ▲ | agentdev001 an hour ago | parent | prev [-] | | Agree 1000% here- this is the pain I have with output from Anthropic models, and the gpt-6.2 family now. My theory is that when a model is trained for density of information in English, you get these super weird grammatically correct + cognitively heavy statements. There are like 5 statements in that single sentence. Freehand vs Pi, DSH. Freehand vs Bash only + fixed workflow and timeouts. Freehand vs Codex+gpt, Freehand vs CC+claude. And then all of that again, with model ablation. What a pain. Im finding Neon doesnt do this fwiw. |
|
|
|
|
| ▲ | zith 6 hours ago | parent | prev | next [-] |
| It makes sense that this is the way things are going as models get more capable. As an aside, are people not embarrassed by putting put work with such tired LLMisms? "Four cases, up close", "the whole PDF, or the lines that matter", "same task, one prompt apart". My eyes glaze over and I automatically lose a lot of interest when I run across such prose. |
| |
| ▲ | arcanemachiner 6 hours ago | parent | next [-] | | Well, the authors of the paper are all Chinese. This is one of the few situations that I consider vibe-slopped prose to be acceptable. But yeah, not a great look for a product. | |
| ▲ | 6 hours ago | parent | prev [-] | | [deleted] |
|
|
| ▲ | tim-projects 3 hours ago | parent | prev | next [-] |
| I don't want this. I don't want to become 110% dependent on a frontier model. So I'll keep my complicated harness that keeps working when the frontier models don't, thanks very much. |
|
| ▲ | small_model 3 hours ago | parent | prev | next [-] |
| Interesting idea, the models are now intelligent enough that pesky human rules constrain it, can see where this is going. Why even have a shell written by humans, straight to sys calls. Though it doesn't work with subscriptions (Claude/Neon etc) it seems. |
| |
|
| ▲ | throwa356262 5 hours ago | parent | prev | next [-] |
| Given that this improves weaker models more, why not test it on really small models like Qwen 35B and alike? The authors of this work are all Asian, some from universities in China. I am sure they have heard of qwen before. |
| |
| ▲ | richardcrng 4 hours ago | parent | next [-] | | It's the other way around: stronger models benefit from their approach. There's some charts showings this: - Sonnet 5.5 and GPT-6-Sol are better in first-party harnesses, worse in Freehand - Opus 5.5 and GPT-6-Astra are better in Freehand, worse in first-party harnesses Here's an intuition for that: weaker models need the help and constraints of an opinionated harness, but stronger models can figure it all out and benefit from being unconstrained. | |
| ▲ | origini 4 hours ago | parent | prev | next [-] | | The article itself states, that the Frontiermodels are limited by the harness (therefore FreeHand helps to free it) while the others do not | |
| ▲ | tiagod 4 hours ago | parent | prev [-] | | [dead] |
|
|
| ▲ | QuantumNomad_ 4 hours ago | parent | prev | next [-] |
| Not to be confused with Macromedia FreeHand, which was also spelled and capitalized in the exact same way :p https://www.adobe.com/mena_en/products/freehand/ Edit: Capitalizing that way with uppercase H is not how Microsoft themselves write it on the linked page. That was the work of the HN story submitter it seems. Edit 2: However, the GitHub repo name does use capital H in the repo name; https://github.com/microsoft/FreeHand |
|
| ▲ | thatsabadlook 3 hours ago | parent | prev | next [-] |
| I have never engaged with a webpage for this long of a time to come away with zero understanding of what its purpose is. Even seo spam can be understood. The charts are crazy confusing. the premise lacks any meaningful details. Yet after all of this I still find the claims, that I think I understand, dubious. What a mess. |
|
| ▲ | vrganj 4 hours ago | parent | prev | next [-] |
| Only benched with closed American models. How's it fare with Deepseek, GLM, Kimi? Are those "frontier" enough? |
|
| ▲ | preommr 3 hours ago | parent | prev | next [-] |
| maybe hot take: never in history have benchmarks been more abused. Benchmarks were always kind of misleading (like webservers and db being bottleneck). But AI is so much worse. These numbers mean absolutely nothing, I basically have no context to interpret them, and the effort to contextualize takes so much effort, and everything moves so fast that it's not worth the effort. |
|
| ▲ | dools 2 hours ago | parent | prev | next [-] |
| So what I take away from this is that you can save a shit tonne of money by having a good harness |
|
| ▲ | gsoff 4 hours ago | parent | prev | next [-] |
| terrible ai slop... |
|
| ▲ | varispeed 5 hours ago | parent | prev | next [-] |
| That looks like AI slop and sounds like written by Claude. |
|
| ▲ | georgemcbay 6 hours ago | parent | prev | next [-] |
| Oh, are they bringing back [Aldus|Macromedia|Adobe] Freehand...? Nope. Just yet another AI project that doesn't mind a name collision. At this point I have to believe they are doing it on purpose just to mess with us. |
| |
| ▲ | arcanemachiner 6 hours ago | parent | next [-] | | You're upset that they reused the name of a graphic design application that hasn't been updated in almost two decades? | | |
| ▲ | Bengalilol 4 hours ago | parent | next [-] | | Upset, no. But I had the same reaction. | |
| ▲ | speps 5 hours ago | parent | prev | next [-] | | I'm not too upset and I also thought it was the old software. I'm upset because it's an awful name for an AI harness... | |
| ▲ | georgemcbay 5 hours ago | parent | prev [-] | | Not upset, just mildly annoyed at how often AI projects seem to name collide other existing things. |
| |
| ▲ | rcoveson 5 hours ago | parent | prev [-] | | "George"? As in "George {Washington|Foreman|Clooney}"? Were your parents messing with you? |
|
|
| ▲ | aktenlage 4 hours ago | parent | prev [-] |
| [dead] |