FreeHand

(microsoft.github.io)

264 points | by jhack 13 hours ago

35 comments

  • pshirshov 2 hours ago
    I've wasted I guess a couple of billion of tokens trying to reproduce and reevaluate results from 20+ agentic memory/context surgery papers.

    Re bash. After my experiments, I think that the idea of a lean tool set is great but once it comes to your own infrastructure, tools get much more valuable than bash -- they shorten discovery.

    Re context memory/compaction - I've tried similar strategies. So far, I've failed to reproduce most of the results in terms of token savings/higher efficiency.

    What worked well: a vector index of everything the agents do+search tool. An indexed shared kv storage managed by the agents. A context surgery tool which replaces old entries with references to their originals plus, again, a search tool for the archived entries.

    Long story short: "academic" papers are full of bullshit/irreproducible results/omissions.

    • zby 18 minutes ago
      That is also my conclusion - the tests test a particular setup, but the conclusions about some general rules. Most of the experiments are very poorly designed. On the other hand those that are careful have results that are often so 'small' that are irrelevant.

      IMHO what is lacking is a careful 'mapping of the design space' of all possible agentic systems - so that we know what are the main categories that can be built - what are the characteristics, what are the fundamental limitations.

      I have no philosophy training - but I believe we need an ontology of agentic systems and I am trying to build it in https://zby.github.io/commonplace/index.html (it is all generated - so be warned - but I believe it is still valuable - even if the value is different from human written text).

      I have even a system for automatic analysis of agentic systems (available via Github) and I did some basic comparisons of about 150 systems in https://zby.github.io/commonplace/agentic-systems/index.html - I did it mostly for internal consumption - but maybe someone will find it useful.

    • basch 2 hours ago
      What do you actually use for the what worked well. What you describe is how I would expect context should work. You essentially want the current best draft plus a changelog. Everything else should be available for recall when asked. And that applies to anything not just code. If im working on a recipe or a story, i dont want old drafts accidently overwhelming context and reindroducing old elements, i dont want to forget how we got where we are, i do want to be able to undo any change at any time by reverting specifics to their old way without undoing the whole stack of changes. You also need higher level tracking of goals, attempts, failures, decisions, filters, todo.

      Context needs its own versioning system with workflow and process management.

      • pshirshov 1 hour ago
        > What do you actually use for the what worked well.

        A shitton of custom slop!

        • basch 51 minutes ago
          let me ask, it is as simple as a single high level management skill?

          like this conman.md https://pastebin.com/qrGne8Z6

          instead of context being appending, its a rewritten historical document run on every turn? thats what transformers should be good at is modifying a document.

    • JHonaker 1 hour ago
      > Long story short: "academic" papers are full of bullshit/irreproducible results/omissions.

      I take umbrage with this statement. Not because it or anything else you said isn't true, but because what you described is the scientific process.

      People often think of research and science as if it is a process that produces insightful, definitive knowledge paper by paper, bit by bit, but really research frontiers are a fuzzy mess of factions, fights, and disagreements. You replicating those processes, getting different or worse results are all part of that working as it does.

      There's no need to enquote academic to cast it down. It's important to see what people have tried (even if I will admit the incentive is to sell it a bit more definitively than it was).

      • pshirshov 58 minutes ago
        > but because what you described is the scientific process.

        I agree, yes, I agree. The problem is that I read about an applied result and expect it to reproduce. I was able to reproduce two results out of 26 experiments (just checked). That's depressive and expensive.

        Good thing is that I have resources and stubborn enough to experiment. Bad thing is that I would never publish a paper.

        Also, I'm not convinced that the authors always publish their crap in good faith.

    • rcarmo 2 hours ago
      I've got one of those, but haven't quite nailed the tool surface yet: https://rcarmo.github.io/projects/memento
      • pshirshov 2 hours ago
        It's not about the tool set that much, it's more about the token budget you can afford and a fair amount of compute to distill and fine-tune your embedding model.
        • rcarmo 39 minutes ago
          That's why I fine-tuned a model from Cactus to provide guidance :)
    • Alifatisk 2 hours ago
      > Long story short: "academic" papers are full of bullshit/irreproducible results/omissions.

      If I read a paper, I would have wished if there was a quick way to find this out early before I waste my time. I guess the only way is to search for other mentions of it and see if there is any critics?

      • JHonaker 1 hour ago
        The more papers you read, the more you learn to read and filter in stages: Abstract first. If that survives, intro section, skim methods and conclusions. How good is their explanation, and are their claims grandiose or nuanced with the appropriate levels of skepticism and honest about the limitations. If it survives that, then you actually read the thing.
  • padolsey 7 hours ago
    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.
    • jameshart 3 hours ago
      It shouldn’t surprise people who use computers as tools that the best way to level up an LLM agent’s capabilities is to give it a computer to use as a tool.

      Nor that when such models can only really process text in and text out that they would prefer to interact with those computers through a command line.

      Turns out bots need bicycles for their mind just as much as humans do.

      But I think we should be cautious about assuming that all the problems we can turn bots to solving can best be aided by just giving them a computer to use and hoping they figure out how to use it right.

      Much as how we don’t generally like it when every individual employee in a company uses their own bespoke excel spreadsheet to track their expenses, but instead give them all a common tool to do that with, rather than just trusting agents to figure out how to do things with the computer you give them, it makes sense to at least do things like install particular software into the computer you issue them with, give them access accounts on specific shared systems, and tell them how you want them to handle certain tasks.

      MCPs are one way to do that; another is to just drop a set of instructions in a markdown file in their home directory called README.md and hope they take a look at it when they log in.

    • traceroute66 5 hours ago
      > 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 5 hours ago
        > 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.

        • macleginn 4 hours ago
          Renaissance French poetry's vocabulary for building API endpoints is arguably not very rich, and there are fewer worked-out examples.
          • traceroute66 2 hours ago
            > Renaissance French poetry's vocabulary for building API endpoints

            Now I want to build a Renaissance French API endpoint ! ;)

                401 Trespassant — you are not of noble birth
                429 Trop De Requêtes — the King tires of your petitions
                451 Hérétique — this endpoint has been burned at the stake
            • simonh 1 hour ago
              408 Croquer le marmoset - Request timeout
          • gumby 4 hours ago
            Yes but the language still had three genders at that point so arguably was more expressive due to having more degrees of freedom.
        • beepbooptheory 4 hours ago
          Only because you tell it that it's awkward.
    • agentdev001 4 hours ago
      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. :)

      • gavinray 3 hours ago
        An MCP client does not imply sandboxing or safe execution.

        It's just a message protocol, it says nothing about what the messages actually do.

        There's nothing preventing you from writing an MCP service that replies to every message by running "rm -rf /" in bash.

    • gavinray 3 hours ago
      I think it's less about Unix as a special thing, than going from "here's specific instructions and a narrow set of tools" to "Here's one tool you can do anything with, and very few instructions."

      Imagine if you asked Albert Einstein to work on a problem, but started by giving him a bunch of restrictions and narrow tools.

      You're better off just saying "Can you please solve problem XYZ" and letting him decide how to do it, without restrictions, because he's almost certainly smarter than you.

    • xg15 7 hours ago
      > (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.

      • krzyk 4 hours ago
        Unix has built in sandboxing (users) and built-in in containerisation. It is something they was there for long and I think should be the most rock solid out of any other.
      • cyanydeez 4 hours ago
        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.

        • akho 26 minutes ago
          Why not just run the agent in a container, with your project repo mounted in? Seems easier than modifying tools.
        • xg15 4 hours ago
          I like that idea, and I hope we will see more of it in the future.

          And I agree, the way most harnesses are running is actively contributing to the "AI agents are dangerous and can go rogue" perception.

          I find it strange how little consideration for security seems to be in the standard harnesses. It seems to go into the opposite direction. A year ago, the standard was still to inspect each tool call individual, however impractical that was. Now, Pi isn't even implementing permission checks for tool calls at all anymore, pointing to 3rd party plugins or telling you to vibecode your own if you want to have it.

      • fizzbuzzbarbazz 4 hours ago
        xonsh.ai, lfg
        • xg15 4 hours ago
          That gives you the shell syntax, but not yet the closed execution environment, simulated file system, etc. It's a good start though.
  • ohaodha 7 hours ago
    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/

    • yewenjie 3 hours ago
      Can anyone who uses it give a real-world example of a win?
    • rcarmo 3 hours ago
      One of the ideas behind https://github.com/rcarmo/gi is that it's self-extensible in Clojure. Just haven't had much time with it of late.
    • 7bit 7 hours ago
      [dead]
  • wrs 58 minutes ago
    Claude Code (with Opus/Fable anyway) lately has gotten quite comfortable doing a lot of this just with standard bash, python, SQLite, and curl.

    For example, it has started writing one-off Python scripts to make file edits rather than using its own Edit tool (the script is just open(), read(), replace(), write()). With just a one-sentence nudge, it uses ad hoc SQLite databases and little CRUD/search scripts to make a custom memory for specific workflows. It’s happy to use curl for external services rather than a custom MCP.

    The context editing is interesting. I wish Claude Code gave per-turn access to the context so one could experiment with this.

  • childintime 9 hours ago
    This seems major. The source: https://github.com/microsoft/FreeHand.

    No Windows version, what?!

    • stackskipton 3 hours ago
      Microsoft of today is not that committed to Windows. There is a part of the company that continues to make Windows/Windows Server because it's revenue stream for Microsoft and they would be insane to give it up. However, outside that side of the company, rest of it has "meh" to "hell no" to Windows. In fact, alot of Azure is powered by Linux and primary OS for greenfield from my understanding. DotNet (Core) has about ~30% performance gain running on Linux on average.

      As Azure using SRE, I've had meetings with Microsoft and had numerous Microsoft employees show up with Macbooks. I use MacBook myself since our software is all Golang/DotNet running on Linux Azure Kubernetes Service.

      EDIT: This also probably works fine on WSL.

      • croes 28 minutes ago
        I thought cross platform is just a prompt away
    • arcanemachiner 9 hours ago
      It's also related to SkillOpt, another "self-improving" concept that I thought was pretty neat:

      https://microsoft.github.io/SkillOpt/

    • iagiagiag 3 hours ago
      Yeah, I had to spend a bit of time to have it run on my Windows. And clearly it's still in beta for local AI, I do not recommend it for a fun experience. For local ai, you run it in wsl, start your inference server, allow the connection in windows with netsh, start freehand with --api=.., and to use my own model in the gui i had to start a conversation with my local model in the freehand console, stop the process, and relaunch it with freehand --web and continue the conversation (all in wsl). The gui was a mess to setup local ai and didn't work (default is chatgpt).

      Tldr: Don't do that, use pi.

    • e12e 3 hours ago
      Runs under Linux subsystem (WSL)?
    • sorrywhat 6 hours ago
      "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 4 hours ago
        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.
        • basch 1 hour ago
          So what we need us a universal harness browser, that loads different harnesses in tabs.
    • amelius 5 hours ago
      Claude, please write me a better Windows.
      • iagiagiag 3 hours ago
        Anthropic reported they did that, they made their own OS, but it looks more like an experience than a real thing.
        • amelius 2 hours ago
          Interesting, that news seems to have come from the press release of Fable/Mythos, though not much was said about this particular experiment:

          > As an experiment, one Anthropic engineer gave Fable 5.2 the task of designing a prototype operating system. Starting from an empty folder, the model coordinated over 1,000 subagents, working around the clock for eight days writing, testing, and reviewing code. It produced a working operating system that boots on a laptop, with its own core that runs the machine, drivers for the disk, keyboard, and network, permanent file storage, windows, a login screen, an installer, and built-in Claude functionality (see the video below).

          https://www.anthropic.com/claude-fable-and-mythos-5-2

          I suppose it's a matter of months now, not years. And Apple better start improving in the AI department, otherwise they will bite the dust.

    • algoth1 2 hours ago
      Someone vibecode one
    • AyanamiKaine 8 hours ago
      probably because it uses bash. I wonder why they didnt use powershell? As it also exists for linux.
    • lmpdev 7 hours ago
      Welcome to Microsoft post ~2016
      • ray_v 1 hour ago
        Having experienced MS from the beginning, watching them make this pivot has been pretty incredible - they were the KINGS of FUD for SOOO long that it's hard to believe how they've embraced OSS and the Linux ecosystem in general.
        • sorrywhat 51 minutes ago
          They figured out they can just let other people do the programming for free and still make a boatload of money.
  • Noe2097 56 minutes ago
    The "let's give it bash" resonates a lot with this blogpost from Cloudflare where they explained they replaced their many MCP tools with just one to execute a script https://blog.cloudflare.com/code-mode/ . Less tokens wasted reading output and preparing input, more flexibility in the approach, less limits on the amount of tools.
  • unglaublich 6 hours ago
    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!
    • krzyk 3 hours ago
      That is interesting. Do you have some more I fo about your setup I could read?
  • carlosneves 9 hours ago
    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.

    • darkxanthos 1 hour ago
      The way this experiment is set up I think they're trying to give the selected LLM the best chance to beat their harness. I don't think it's wild to say that's probably best achieved by giving it the harness made by the people who made it.
  • leobg 9 hours ago
    > 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 9 hours ago
      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."

      • radarsat1 2 hours ago
        > let the agent edit the transcript that will be fed in the next turn

        Is this functionally different from "let the model decide what a subagent is told", which is a method everyone is already using pretty commonly these days?

    • PaulKeeble 9 hours ago
      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.

      • VulgarExigency 21 minutes ago
        > 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.

        Run it with bubblewrap (or seatbelt on mac) so that it cannot do that.

      • threatofrain 9 hours ago
        > 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 8 hours ago
        This harness is not targeted at people who still approves their agent tool calls or who run the agent on their main environment.
        • iagiagiag 3 hours ago
          It shouldn't, but they don't say how problematic these agents can be, and they don't recommend against the installation for people who might not know what they're doing.

          When you present you harness as the best one, you should expect that some people who might not know what they're doing will use it. They do have a "Security" section on github.

          > For code you do not trust, use a container or VM: docs/container.md.

          I think it's a bit light.

    • retinaros 9 hours ago
      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.
  • virtualritz 6 hours ago
    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?

    • thenthenthen 6 hours ago
      How can these researchers access blocked models
    • cyanydeez 4 hours ago
      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.
  • agentdev001 5 hours ago
    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 4 hours ago
      I was thinking a bit about this too, but I think it being net cheaper in spite of cache busting is an interesting finding.
  • skrebbel 9 hours ago
    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 8 hours ago
      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 8 hours ago
      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 6 hours ago
        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 5 hours ago
          > 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 5 hours ago
          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.

        • foltik 42 minutes ago
          It feels like there's a small set of cliche sentence structures which every idea gets forced into (examples below). So an idea which is trivial to express (simplify the harness) instead gets "decompressed" into a wall of slop. Most sentences are redundant or meaningless, and what little signal there is gets unnaturally mangled and spread out.

          > The idea, drawn

          > an early model, on its own

          > From crutch to cage, measured

          > Four cases, up close

          > the whole PDF, or the lines that matter

          > a fixed 30 s limit, or the model’s own timeout

          > same task, one prompt apart

          I guess this is what you get when you have models extrapolate (write a title for this section) rather than reasoning from first prinicples (what's the best way to communicate this idea?)

  • AnonC 6 hours ago
    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 6 hours ago
      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 5 hours ago
        I wonder how much tokens I've lost to mangled PowerShell quotes, I keep seeing it.
        • disgruntledphd2 5 hours ago
          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.

    • annoyinghnusers 4 hours ago
      [dead]
  • dawdler-purge 5 hours ago
    I wonder if I use this with my ChatGPT subscriptions, will I get banned?
  • 9dev 5 hours ago
    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 hours ago
      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 4 hours ago
      thats why we abandoned anthropic a long time ago. I can't stand that kind of lock-in.
  • bananaflag 8 hours ago
    It had already been predicted that the harness will be consumed into the model.
    • haolez 5 hours ago
      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 4 hours ago
        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 4 hours ago
          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".

  • throwa356262 8 hours ago
    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 8 hours ago
      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.

    • iagiagiag 3 hours ago
      Yeah I don't know who they're targeting exactly. I feel local AI users are more interested in a very good harness for their "small" models, which need it more to compensate for their weaknesses. I'm not sure they need to or should compete with Claude Code or Codex.
    • origini 8 hours ago
      The article itself states, that the Frontiermodels are limited by the harness (therefore FreeHand helps to free it) while the others do not
    • tiagod 8 hours ago
      [dead]
  • akho 10 minutes ago
    The comparisons are all against first-party harnesses, which are benchmaxxing, not costminning. How does it fare against, e.g., maki, which actually makes some effort?
  • zith 10 hours ago
    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 9 hours ago
      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.

  • Powdering7082 1 hour ago
    My take away was that this is very minimal so I opened up some random files and was quickly greeted by:

        def _oklch(c: str) -> tuple[float, float, float]:
            r, g, b = [(v / 12.92 if v <= 0.04045 else ((v + 0.055) / 1.055) ** 2.4) for v in
                      (int(c[i:i + 2], 16) / 255 for i in (1, 3, 5))]
            l, m, s = [(x ** (1 / 3)) for x in (0.4122214708 * r + 0.5363325363 * g + 0.0514459929 * b,
                                                0.2119034982 * r + 0.6806995451 * g + 0.1073969566 * b,
                                                0.0883024619 * r + 0.2817188376 * g + 0.6299787005 * b)]
            L, a, bb = (0.2104542553 * l + 0.7936177850 * m - 0.0040720468 * s, 1.9779984951 * l - 2.4285922050 * m + 0.4505937099 * s,
                        0.0259040371 * l + 0.7827717662 * m - 0.8086757660 * s)
            return L, math.hypot(a, bb), math.atan2(bb, a)
    
    Sadly it really feels like increasingly you have to use an agent as an intermediary to cope with stuff only agents find is sensible.
    • evmar 1 hour ago
      Not to defend it, but oklch is a semi-standard function for color, and this code comes from a module used in rendering some sort of UI. It doesn't appear to feed into the AI bits of the project.
  • small_model 7 hours ago
    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.

    • trollbridge 4 hours ago
      Works fine with ChatGPT since they don’t lock you in.
  • tim-projects 7 hours ago
    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.

  • QuantumNomad_ 7 hours ago
    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

    • WillAdams 4 hours ago
      Yeah, that's what I was hoping for when I saw this story --- but it was Adobe which wound up buying Macromedia almost to the day that a Federal Judge told them that they couldn't buy a competitor (then Aldus) for a decade --- instead, it was Creaturehouse who had made Fractal Design's wonderful drawing program Expression (still available at: https://expressiondesign4.com/ ).

      Freehand is still at: https://www.adobe.com/mena_en/products/freehand/ but it hasn't run on the Mac OS since 10.6.8 (which coincidentally was the last version I liked) --- I still run Freehand/MX on my Windows boxes, and I despair of what I will do should it stop running --- Inkscape doesn't use the same keyboard shortcuts, Serif Affinity didn't adopt all of them either, and Quasado/GraviT hasn't done anything on GitHub for over a decade.

      Rather a shame VectorCraft is modeled on Adobe Illustrator rather than FreeHand.

  • vrganj 7 hours ago
    Only benched with closed American models. How's it fare with Deepseek, GLM, Kimi? Are those "frontier" enough?
  • trollbridge 4 hours ago
    How is this not just pi?
    • krzyk 2 hours ago
      Pi nowadays is not that simple.
      • esafak 1 hour ago
        People need some things to get work done so they get built. I bet it would be the same here if it went beyond a prototype.
  • thatsabadlook 6 hours ago
    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.

    • chrisra 1 hour ago
      Agreed, but to me the alternative is likely this thing not existing.

      So while it would be nice if the prose was better or the charts were well designed, oh well. It's a free product that they have no need to share.

  • preommr 7 hours ago
    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 6 hours ago
    So what I take away from this is that you can save a shit tonne of money by having a good harness
  • gsoff 8 hours ago
    terrible ai slop...
  • varispeed 8 hours ago
    That looks like AI slop and sounds like written by Claude.
  • georgemcbay 10 hours ago
    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 9 hours ago
      You're upset that they reused the name of a graphic design application that hasn't been updated in almost two decades?
      • Bengalilol 8 hours ago
        Upset, no. But I had the same reaction.
      • speps 9 hours ago
        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 9 hours ago
        Not upset, just mildly annoyed at how often AI projects seem to name collide other existing things.
    • rcoveson 9 hours ago
      "George"? As in "George {Washington|Foreman|Clooney}"? Were your parents messing with you?
  • umutsevdi 2 hours ago
    [dead]
  • aktenlage 8 hours ago
    [dead]
  • sick_of_slop 3 hours ago
    [dead]