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.
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.
They are talking about the system prompt given to the agent. Did you imagine a 200 word prompt is used by the end user to build the harness from scratch? Honestly that would probably work fine too but does require another harness to bootstrap.
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).
unironically me the last couple weeks. I am building a better OS experience on top of Ubuntu LTS 26.04 but I am combining the best aspects of all major operating systems not just windows.
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).
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.
> 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.
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.
> 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.
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.
> 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.
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."
> 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?
> 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?
TBH, I think this question (and perhaps the original comment starting this thread) are diverting us from the most important conceptual point.
To my mind, Freehand is about granting agents greater general freedom.
A subagent is an example of a pretty general tool. But the philosophical point here, imo, is "We should try to stop thinking and asking 'does the model have a tool to do X?'; we should give it the most general freedom at the meta-tool level instead."
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.
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.
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'.
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)
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.
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.
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 a model extrapolates (write a title for this section) rather than reasoning from first principles (what's the best way to communicate this idea?)
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.
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.
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.
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.
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.
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".
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.
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.
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.
> (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.
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.
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.
> 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 ?
> 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
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. :)
By that argument isn't the shell you give the LLM in place of MCP also the sandbox? If you hand it a real shell that allows "rm -rf /" then that's up to you.
I feel like neither is really what is meant by the word "sandbox". Sandboxyness is a feature of the runtime environment, not the interface. It's what the environment allows not what the interface allows.
But if were talking about what the interface allows, then it's much simpler to define a restrictive mcp interface than a restrictive bash like interface.
Sure, if you are looking at safety of agents from the perspective of effect-bound autonomy- you could say that the 'sandbox' is the total of the limits of its toolset.
I think the main useful thing about MCP is if you are really sure you want the model to read something. Like when QA'ing things, if you just tell the model "QA this resource" and the resource has multiple files, the model might decide to read only part of some files, or totally ignore them. With an MCP the model asks for the resource and the MCP shoves all the data directly into the model's context in one go.
But I'm not sure what MCPs offer for sandboxing. Whatever API they're using, the API needs to be authed and prevent access to things it doesn't need access to. filesystem or REST are no different from MCPs, they can be sandboxed or not.
MCP aren't primarily a way to sandbox an agent. The sandbox needs to rely on OS primitives that are well-assured, and its best if the code wrapping the sandbox - which is easy to get wrong - exists in one place and not in 20 different MCP servers or a massive agent harness accepting dozens or hundreds of PRs a day.
In my company, MCP is primarily useful for remote contexts because it drives more standardized documentation and authentication standards enabling simpler integration of various tools used in an enterprise.
Rereading my comment, the point I was trying to make was a bit confusing; early morning posting. I still can't fully translate my thoughts- TLDR at the end.
To clarify a bit, I'm trying to contrast the point of "only to discover that in the end it is the primacy of the unix shell that comes most naturally to LLMs".
I agree with what you're saying here- I'm voicing my experience with trying to roll out on-prem sandboxing (EBPF/MicroVM/Network Control/TLS term/etc). If we set aside HITL + synchronous use of 'coding' agents, getting both a (true) shell, and enterprise resources, available to asynchronous agents is near impossible- without true best-practices sandboxing infra.
So- back to my original comment. Bash as a tool is a capability you give to an agent, an MCP client (ie, the bit in the harness that allows for connecting MCP Servers and resources) is as well. The former is really hard to do at scale (sanely) if you don't already have the infrastructure to support it, the latter is already solved.
Yes, everyone doing AI things knows that every agent under the sun should have a shell. The statement of "the only thing we should obsess with now is how to appropriately sandbox" is disjointed from "we obsessed with MCP ... only to discover ... unix shell ... comes most naturally to LLMs". The two exist together- neither is a replacement for the other, MCP still offers a smooth path through "hey but is this safe?" conversations.
I fear I am still doing a poor job of explaining. TLDR; one cannot say 'mcp bad' without reckoning with the reality of how best-practice looks if no sandboxes are available.
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.
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.
I never got the hype of MCPs, its like an API wearing a hat.
I personally have never used any of these super advance AI coding things people talk. I have a simple VM that can fully get rekt for all I care, I ssh into it and run opencode and use my favorite models to code, sometimes i just use opencode to get "agentic tasks" done also because it can kindda do everything I want from the shell as long as it has appropriate permissions.
Never faced an issue with my setup and have shipped actual software to actual clients. I feel people get a bit lost with AI coding how to fully optimize it (in part as a reaction to how some of the biggest orgs are doing it) but my simple AI coding loop has lowkey changed my life and i love it and more importantly, fully understand it since i live in the terminal as well and just watch the fucker how it deals with things and intervene when needed.
Would things be better if i have some VM orchestra with pi and hermes making my to do list using MCPs etc but all that i feel is a distraction from actually building which is what we use ai coding for, right?
But no, we must push the frontier with our nerd cowboy hats and break encryption or else AI is not worth even a dollar.
This works because what you want to use your LLM agent for is as a coding pair programming buddy.
If you show up to pair on a coding exercise with a human you assume as a baseline ‘we will have a computer running dev tools which we can use to code on’.
But there are other things people want to collaborate with agents on.
For example if what you want your agent to do is be a data research buddy to help you answer inquiries from customers you are handling on the phone, it’s not obvious that that would be facilitated by your buddy showing up with a full Unix shell and a working python venv. What they probably do need is access to some knowledgebases and constrained APIs for checking customer history. That’s where MCPs fit in.
Well, two things: I talked about the coding part as a personal anecdote, and while it was related to the MCP comment, they are different. I don't really see what unique value MCPs provide in that example that APIs don't, you're just putting a hat on it and while yeah its valuable i guess but nothing that is like paradigm-defining like its often marketed. I still remember Anthropic making a big song and dance when they released the MCP Protocol and then I think a foundation around it? Like I feel it gets a bit overhyped for what it actually is. Nevermind the tech influencers talking about it like it will change the way every app will work ever and how its amazing that apps can now "TALK TO OTHER APPS"!!! like come on man
Indeed, Unix is itself the extensible platform. And AIs are very good at using it (they have memory of all the commands and how to use them, and for those they don't, they can discover by reading --help or a man page). There is no need to invent other systems on top of it (in-process plugins, MCPs, etc).
FreeHand here seems prototype quality, if you'd want something in similar minimalist bash-centric direction, but more polished and ready for actual use, try hax - https://usehax.dev/ (disclosure: I am the author). Watch the Ubuntu Summit talk about it here: https://www.youtube.com/watch?v=4mS7UvCFc6c ("An AI coding agent as a lightweight Unix tool").
>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,
I'm too stupid and lazy to understand Docker, so I just gave it a Linux user.
I should get around to setting it up on its own device, though, so that it can do GUI stuff more conveniently.
Similarly, everyone's like "how do I stop claude from bricking my server." Solution: Just rent a $3 server and make it root. It blows it up? You are down $3. (Well, you're not even down $3. Just reset the server!)
Give it a credit card with a $10 limit.
Expect doom, and simply design it so that doom is okay.
That's not something exclusive to Unix. Have the underlying LLM do post training in a brainfuck environment and it will speak fluent brainfuck too. Its more of a fuck up by Microsoft that more high level software engineering and R and D now predominantly happen in UNIX environments.
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.
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.
this makes so much sense and is actual neural-symbolic system. we're going to see many more of these, and sure as hell frontier labs run some behind closed doors and toss us pity leftovers of it al.
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.
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!
VM side:
- unkernel runs Linux on wasm in the browser
- read-only base image with overlay fs stores modifications
- tcp network goes over websocket via Wisp proxy
Agent side:
- Calls into Antrophic API (or whatever fits you)
- Single tool available: bash -> execute whatever in VM
- Context/Prompt: read directly from file on VM: context.json
- Metering: 'harness' (tiny) injects usage stats (money, tokens, time) into the context.
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.
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!"
plenty of python training mustve gone into, but is indeed very irritating. perhaps needs explicit listing of the tools, at least for me it did in order to get it to make us of rg/fd-find and alike.
but then perhaps exploring ML hypotheses with LLMs was and still is a primary feat these all should be capable of. and then they make them be.
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."
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…
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.
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.
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.
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.
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.
I would think documentation in text files managed by Git would be pretty close to ideal. That's what I do. I use Claude Code, but I instruct the agents to maintain documentation in each project, and I also have them maintain an append only log of actions in sqlite. I also have skills to clean-up and prune documentation and review the log once a month for any dropped items and meta issues. My agents don't use the Claude Code's built-in memory feature at all.
> 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?
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.
> 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).
> 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.
What you said is right except the field is full of FAKE stuff. Intentionality fudged to get a PhD grant or something along the line. Factions fights disagreement etc are all OK. Nobody is complaining about it.
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.
A bit crazy but thank you for your work. The world ontology is lodged in my brain as of recently.
It troubled me a bit that I can't seem to motivate myself to learn about agentic system (other than the RLM paper), this week something clicked, must have found my problem space.
> What worked well: a vector index of everything the agents do+search tool. An indexed shared kv storage managed by the agents.
you are too generous to everyone to reveal this... hint, but really was on the top of my mind for so long, and haven't really found the time to try it.
of course it should work and particularly if you can directly feed the compacted vectors back in. i cannot think of faster more streamlined RAG. only trouble is it wouldn't work with some proprietary subscriptions/models as they perhaps don't take vecs.
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.
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.
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.
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.
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?
Pleasantly surprised by the report. The insight that smaller/open models do better with first party harnesses but smarter models do worse for me at least gives some credibility to this and reinforces the "harnesses help at first but overconstrain later" hypothesis
They show this in the article. Sonnet, Sol and other weaker tiers still benefit from their harness. It's the highest tier of the current models that are actively hindered.
Deepseek somewhat did this first with dsh's D-Wave tool, allowing the model to edit its conversation by rewinding to an earlier turn once it has a better understanding of the problem. Nice to see a more generalized version of that trick -
But in order to safely edit the context file, if the model has to read it to understand the regions / file format, that's a context blowout. What tricks let the model safely edit that file without reading it first?
> You are a coding agent. You run inside a minimal framework: one loop that sends this conversation to you, executes the tools you call, and appends their results. Nothing else is decided for you. How you approach the task, how you use your context, and so on are all yours to manage. We do not restrict how you complete the task; your goal is to complete it
as efficiently and accurately as possible, giving it your best effort. Tool: bash. Your editable context is stored in {transcript_path}. The framework writes it after every turn. You can edit it to remove, shorten or reorganize anything; if the file changes, your version is what gets sent next. Good context management should reduce overhead and remove irrelevant information from the context so you can stay more focused and do better work. To
view an image, add it as {image_part} to {transcript_path}; you will see it on the next turn. After each turn the framework appends one line with the turn number, the current context size, tokens and cost so far, and elapsed time. When the task is done, reply without calling a tool: that reply ends the task, so say what was produced and where.
I find it interesting that even though they claim it's a general purpose harness, the first sentence tells the model they are a coding agent specifically.
They seem to calculate cost per task at API token prices. I suppose it makes it easier but first-party harnesses come with highly discounted tokens. E.g, Claude Pro defo gets you more than $17 over API. It would be interesting to see how cost compares with this taken into account.
zith | 17 hours ago
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 | 17 hours ago
But yeah, not a great look for a product.
timedude | 6 hours ago
georgemcbay | 17 hours ago
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 | 17 hours ago
speps | 16 hours ago
georgemcbay | 16 hours ago
Bengalilol | 16 hours ago
rcoveson | 16 hours ago
childintime | 17 hours ago
No Windows version, what?!
arcanemachiner | 17 hours ago
https://microsoft.github.io/SkillOpt/
AyanamiKaine | 16 hours ago
agentdev001 | 12 hours ago
lmpdev | 14 hours ago
ray_v | 9 hours ago
sorrywhat | 8 hours ago
sorrywhat | 13 hours ago
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 | 12 hours ago
basch | 8 hours ago
jeremyjh | 5 hours ago
amelius | 12 hours ago
iagiagiag | 11 hours ago
amelius | 9 hours ago
> 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.
karimelgazar | 6 hours ago
iagiagiag | 11 hours ago
Tldr: Don't do that, use pi.
stackskipton | 11 hours ago
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 | 7 hours ago
e12e | 10 hours ago
algoth1 | 9 hours ago
sbinnee | 2 hours ago
leobg | 16 hours ago
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.
retinaros | 16 hours ago
PaulKeeble | 16 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.
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 | 16 hours ago
Then constrain the risk by putting it on a test instance.
dist-epoch | 16 hours ago
iagiagiag | 10 hours ago
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.
VulgarExigency | 7 hours ago
Run it with bubblewrap (or seatbelt on mac) so that it cannot do that.
richardcrng | 16 hours ago
(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 | 10 hours ago
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?
richardcrng | 3 hours ago
TBH, I think this question (and perhaps the original comment starting this thread) are diverting us from the most important conceptual point.
To my mind, Freehand is about granting agents greater general freedom.
A subagent is an example of a pretty general tool. But the philosophical point here, imo, is "We should try to stop thinking and asking 'does the model have a tool to do X?'; we should give it the most general freedom at the meta-tool level instead."
andai | 2 hours ago
https://news.ycombinator.com/item?id=46844822
carlosneves | 16 hours ago
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 | 8 hours ago
skrebbel | 16 hours ago
gobdovan | 16 hours ago
skrebbel | 14 hours ago
> 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)
agentdev001 | 12 hours ago
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.
skrebbel | 3 hours ago
gobdovan | 12 hours ago
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.
foltik | 8 hours ago
> 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 a model extrapolates (write a title for this section) rather than reasoning from first principles (what's the best way to communicate this idea?)
origini | 15 hours ago
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.
p_j_w | 6 hours ago
throwa356262 | 16 hours ago
The authors of this work are all Asian, some from universities in China. I am sure they have heard of qwen before.
richardcrng | 16 hours ago
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 | 15 hours ago
iagiagiag | 10 hours ago
varispeed | 16 hours ago
gsoff | 16 hours ago
bananaflag | 15 hours ago
haolez | 12 hours ago
agentdev001 | 12 hours ago
cyanydeez | 11 hours ago
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".
vrganj | 15 hours ago
QuantumNomad_ | 15 hours ago
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 | 11 hours ago
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.
padolsey | 15 hours ago
xg15 | 14 hours ago
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.
fizzbuzzbarbazz | 12 hours ago
xg15 | 11 hours ago
cyanydeez | 12 hours ago
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.
xg15 | 11 hours ago
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.
akho | 7 hours ago
Vax- | 4 hours ago
chrisweekly | 3 hours ago
krzyk | 11 hours ago
traceroute66 | 13 hours ago
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 | 12 hours ago
They also scraped Renaissance French poetry, but for some reason that's an awkward way to communicate with them.
macleginn | 12 hours ago
gumby | 11 hours ago
traceroute66 | 9 hours ago
Now I want to build a Renaissance French API endpoint ! ;)
simonh | 8 hours ago
beepbooptheory | 11 hours ago
agentdev001 | 12 hours ago
"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 | 10 hours ago
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.
auggierose | 7 hours ago
bigmadshoe | 6 hours ago
Sammi | 6 hours ago
But if were talking about what the interface allows, then it's much simpler to define a restrictive mcp interface than a restrictive bash like interface.
auggierose | 4 hours ago
agentdev001 | 5 hours ago
lukeschlather | 6 hours ago
But I'm not sure what MCPs offer for sandboxing. Whatever API they're using, the API needs to be authed and prevent access to things it doesn't need access to. filesystem or REST are no different from MCPs, they can be sandboxed or not.
jeremyjh | 5 hours ago
In my company, MCP is primarily useful for remote contexts because it drives more standardized documentation and authentication standards enabling simpler integration of various tools used in an enterprise.
agentdev001 | 4 hours ago
To clarify a bit, I'm trying to contrast the point of "only to discover that in the end it is the primacy of the unix shell that comes most naturally to LLMs".
I agree with what you're saying here- I'm voicing my experience with trying to roll out on-prem sandboxing (EBPF/MicroVM/Network Control/TLS term/etc). If we set aside HITL + synchronous use of 'coding' agents, getting both a (true) shell, and enterprise resources, available to asynchronous agents is near impossible- without true best-practices sandboxing infra.
So- back to my original comment. Bash as a tool is a capability you give to an agent, an MCP client (ie, the bit in the harness that allows for connecting MCP Servers and resources) is as well. The former is really hard to do at scale (sanely) if you don't already have the infrastructure to support it, the latter is already solved.
Yes, everyone doing AI things knows that every agent under the sun should have a shell. The statement of "the only thing we should obsess with now is how to appropriately sandbox" is disjointed from "we obsessed with MCP ... only to discover ... unix shell ... comes most naturally to LLMs". The two exist together- neither is a replacement for the other, MCP still offers a smooth path through "hey but is this safe?" conversations.
I fear I am still doing a poor job of explaining. TLDR; one cannot say 'mcp bad' without reckoning with the reality of how best-practice looks if no sandboxes are available.
jameshart | 10 hours ago
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.
gavinray | 10 hours ago
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.
altmanaltman | 6 hours ago
I personally have never used any of these super advance AI coding things people talk. I have a simple VM that can fully get rekt for all I care, I ssh into it and run opencode and use my favorite models to code, sometimes i just use opencode to get "agentic tasks" done also because it can kindda do everything I want from the shell as long as it has appropriate permissions.
Never faced an issue with my setup and have shipped actual software to actual clients. I feel people get a bit lost with AI coding how to fully optimize it (in part as a reaction to how some of the biggest orgs are doing it) but my simple AI coding loop has lowkey changed my life and i love it and more importantly, fully understand it since i live in the terminal as well and just watch the fucker how it deals with things and intervene when needed.
Would things be better if i have some VM orchestra with pi and hermes making my to do list using MCPs etc but all that i feel is a distraction from actually building which is what we use ai coding for, right?
But no, we must push the frontier with our nerd cowboy hats and break encryption or else AI is not worth even a dollar.
jameshart | 5 hours ago
If you show up to pair on a coding exercise with a human you assume as a baseline ‘we will have a computer running dev tools which we can use to code on’.
But there are other things people want to collaborate with agents on.
For example if what you want your agent to do is be a data research buddy to help you answer inquiries from customers you are handling on the phone, it’s not obvious that that would be facilitated by your buddy showing up with a full Unix shell and a working python venv. What they probably do need is access to some knowledgebases and constrained APIs for checking customer history. That’s where MCPs fit in.
altmanaltman | 4 hours ago
OleksandrC | 3 hours ago
FreeHand here seems prototype quality, if you'd want something in similar minimalist bash-centric direction, but more polished and ready for actual use, try hax - https://usehax.dev/ (disclosure: I am the author). Watch the Ubuntu Summit talk about it here: https://www.youtube.com/watch?v=4mS7UvCFc6c ("An AI coding agent as a lightweight Unix tool").
andai | 2 hours ago
I'm too stupid and lazy to understand Docker, so I just gave it a Linux user.
I should get around to setting it up on its own device, though, so that it can do GUI stuff more conveniently.
Similarly, everyone's like "how do I stop claude from bricking my server." Solution: Just rent a $3 server and make it root. It blows it up? You are down $3. (Well, you're not even down $3. Just reset the server!)
Give it a credit card with a $10 limit.
Expect doom, and simply design it so that doom is okay.
Expect blast; Minimize blast radius.
Onavo | 2 hours ago
tim-projects | 15 hours ago
So I'll keep my complicated harness that keeps working when the frontier models don't, thanks very much.
preommr | 15 hours ago
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.
ohaodha | 14 hours ago
[1]: https://autolith.rocks/
rcarmo | 10 hours ago
jeremyjh | 5 hours ago
andai | 2 hours ago
jeremyjh | an hour ago
yewenjie | 10 hours ago
larodi | 4 hours ago
small_model | 14 hours ago
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 | 11 hours ago
thatsabadlook | 14 hours ago
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 | 9 hours ago
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.
unglaublich | 14 hours ago
krzyk | 10 hours ago
unglaublich | 7 hours ago
Agent side: - Calls into Antrophic API (or whatever fits you) - Single tool available: bash -> execute whatever in VM - Context/Prompt: read directly from file on VM: context.json - Metering: 'harness' (tiny) injects usage stats (money, tokens, time) into the context.
UI: Two-pane: agentic chat; terminal interface
AnonC | 14 hours ago
sorrywhat | 13 hours ago
jacmilts | 13 hours ago
disgruntledphd2 | 12 hours ago
To be fair, so am I and they're much faster than me.
dools | 13 hours ago
virtualritz | 13 hours ago
Surely that can't use less tokens than something like ast-grep?
What am I missing?
thenthenthen | 13 hours ago
cyanydeez | 11 hours ago
larodi | 4 hours ago
but then perhaps exploring ML hypotheses with LLMs was and still is a primary feat these all should be capable of. and then they make them be.
dawdler-purge | 13 hours ago
agentdev001 | 13 hours ago
micaeked | 9 hours ago
It's basically a limited version of the api that draws on your subscription quota
agentdev001 | 12 hours ago
"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 hours ago
9dev | 12 hours ago
nunodonato | 11 hours ago
trollbridge | 11 hours ago
trollbridge | 11 hours ago
krzyk | 10 hours ago
esafak | 9 hours ago
olaird25 | 5 hours ago
olaird25 | 5 hours ago
They tested six harnesses. If you exclude their own, then Pi wins on score in 4/5 benches, and Pi wins on cost in 5/5 of the benches.
pshirshov | 10 hours ago
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.
rcarmo | 10 hours ago
pshirshov | 9 hours ago
rcarmo | 8 hours ago
basch | 9 hours ago
Context needs its own versioning system with workflow and process management.
pshirshov | 8 hours ago
A shitton of custom slop!
basch | 8 hours ago
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.
istjohn | 5 hours ago
istjohn | 5 hours ago
Alifatisk | 9 hours ago
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 | 9 hours ago
JHonaker | 9 hours ago
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 | 8 hours ago
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.
CrimsonRain | 7 hours ago
zby | 7 hours ago
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.
barrenko | 5 hours ago
It troubled me a bit that I can't seem to motivate myself to learn about agentic system (other than the RLM paper), this week something clicked, must have found my problem space.
larodi | 4 hours ago
you are too generous to everyone to reveal this... hint, but really was on the top of my mind for so long, and haven't really found the time to try it.
of course it should work and particularly if you can directly feed the compacted vectors back in. i cannot think of faster more streamlined RAG. only trouble is it wouldn't work with some proprietary subscriptions/models as they perhaps don't take vecs.
Powdering7082 | 8 hours ago
evmar | 8 hours ago
wrs | 8 hours ago
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.
Noe2097 | 8 hours ago
jeremyjh | 5 hours ago
akho | 7 hours ago
lloydatkinson | 6 hours ago
Unable0841 | 6 hours ago
lowbloodsugar | 6 hours ago
_boffin_ | 5 hours ago
Now inference providers need to provide different ways of caching than just Prefix. Look at CacheBlend and friends.
_boffin_ | 4 hours ago
Couldn’t edit my comment
zactato | 5 hours ago
Frontier models are great, but can also get expensive.
Where is the break even point? At what size model do harnesses remain important?
Obviously, the focus of this is the Bitter Lesson, but not everyone is doing all their coding in Fable
dreis_sw | 5 hours ago
gilgoomesh | 2 hours ago
sombragris | 5 hours ago
kreek | 2 hours ago
elschneider | 5 hours ago
mappu | 3 hours ago
But in order to safely edit the context file, if the model has to read it to understand the regions / file format, that's a context blowout. What tricks let the model safely edit that file without reading it first?
lore_emu | 3 hours ago
> You are a coding agent. You run inside a minimal framework: one loop that sends this conversation to you, executes the tools you call, and appends their results. Nothing else is decided for you. How you approach the task, how you use your context, and so on are all yours to manage. We do not restrict how you complete the task; your goal is to complete it as efficiently and accurately as possible, giving it your best effort. Tool: bash. Your editable context is stored in {transcript_path}. The framework writes it after every turn. You can edit it to remove, shorten or reorganize anything; if the file changes, your version is what gets sent next. Good context management should reduce overhead and remove irrelevant information from the context so you can stay more focused and do better work. To view an image, add it as {image_part} to {transcript_path}; you will see it on the next turn. After each turn the framework appends one line with the turn number, the current context size, tokens and cost so far, and elapsed time. When the task is done, reply without calling a tool: that reply ends the task, so say what was produced and where.
I find it interesting that even though they claim it's a general purpose harness, the first sentence tells the model they are a coding agent specifically.
teddyh | 3 hours ago
sbinnee | 2 hours ago
andai | 2 hours ago
Hubcap (Aug 2023) - 24 lines of PHP
https://github.com/dave1010/hubcap/blob/main/hubcap.php
Mario Zechner: What I learned building an opinionated and minimal coding agent (Nov 2025)
https://news.ycombinator.com/item?id=46844822
Minimal Agent (Dec? 2025) - 50 lines of Python (by the mini-swe-agent folks)
https://minimal-agent.com/
Pro tip in minimal-agent, if you wrap the while-loop in another one for user input, you can actually use it as... an agent :)
pointlessone | an hour ago