Remix.run Logo
▲ buremba 4 hours ago

Can anybody let me understand why someone should prefer mcpfs instead of codemode approach?

mcpfs feels like an obscure implementation and FUSE will cause more latency overhead. Luna/Terra performs better on filesystem but for Sol, it doesn't really make a huge difference as it's clever enough to find the more efficient approach.

As we know models are gonna get better over time, isn't abstractions like this lead to less stability?

▲searealist 3 hours ago | parent | next [-]

Maybe the advantage is it can write python scripts that call these CLIs?

▲dofm 3 hours ago | parent [-]

I have been building a little Mac app. I'd forgotten that Swift can run as a shebang script, until the LLM did it!

Immediately you can see that if the model doesn't have to engage with a "mode", it's going to be able to work with tools more naturally — piping input directly into a command it is testing etc.

Codemode is clever, and it obviously has a much more valuable place where there is no 'code' project being written. But it feels like a bodge. It is a clever bodge.

▲jauntywundrkind 3 hours ago | parent | prev | next [-]

Let me first say, I don't know! But trying to intuit out a reply:

This feels obscure to us, but making everything act like a normal executable on a system flattens, makes interaction consistent. An LLM already knows how to call executables! It can do that via bash tool or codemode very effectively, or both (scripting from within codemode; I have zx in my codemode and it's great!). The ability to pipe data in and out is a well known, clean and concise way to compose. Too few programming languages have great pipe operators, concise short file io and streams standard lib, but in shell these things are very brief and concise.

Being available at the shell level is also compostable in other ways. The ai has to keep writing code mode, again and again, a one off thing it emits for execution. If there's a repetitive task, with mcpfs, it can emit a script and keep calling the script.

Or perhaps the LLM is working more indirectly? What if instead of the LLM doing the work, it's using computer use or using some scripting interface to control another program? The LLM doesn't have a way to hand off its tools to that other program. If it wants kicad to run the auto router tool, it has to do the work. With mcpfs, we can imagine architectures where kicad is the one calling into mcpfs, without the LLM having to act as the data plane across these systems.

In short: codemode is an abstraction bespoke to the LLM. Today, it has no presence on the system (I have some experiments around exposing promises to the system via fuse though). In most harnesses it has no persistence, leaves no trace after execution, is a execute only space that's then disposed of. But mcpfs extends the system itself, forms part of the cohesive persistent whole of the system. It uses what is already known, executables, that can be operated on by a wide variety of existing system tools. CodeMode is powerful, but it remains an internal environment, something for the LLM, that operates in an inner space. Leaving that closed domain and entering into the system domain is both unifying and consistent, and it allows for free composition of tools and systems.

I, for one, at least in concept, love it. I've tapered off, but for a while was using mcp-cli pretty heavily to get similar. It was also a joy having things I could easily reproduce. That I could ask the LLM to show me how to use tools. And then try myself. Being able to get in, to bring myself into the loop more felt like such a humanizing connection to regain, to reclaim, from this space that has arbitrarily been designated LLM only.

This lacks strong argumentation, but, nicely put:

> 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

https://news.ycombinator.com/item?id=50772184

▲mbreese 3 hours ago | parent | prev [-]

I didn’t even think of this as something that an agent would use. I thought of this as an easier way for me to manually call/discover MCP tools. The remote protocol is a bit (ahem) difficult to use manually, so a FUSE interface would be nice for me.

For an agent? No. They already speak MCP, so it wouldn’t make much sense to me.

Am I missing something?