Remix.run Logo
▲ unitedfirmware 4 hours ago

That hasn't been a problem for quite some time. MCP hosts effectively manage tool selection and don't cram all of the tools into context.

▲dofm 4 hours ago | parent [-]

On demand tool discovery does most of this I suppose.

But (it seems to me as a relative novice that) this approach has another advantage, which is not needing "code mode" to combine tools; the model can do it with bash scripts, python scripts, whatever it is already working with, and doesn't need that semantic layer of indirection to redesign the tools?

Indeed at a certain level it doesn't even need to know it has tools; if they can be mounted into the project directory as a filesystem, the model can discover them as it would files.

So this ends up being like setting up a virtual machine environment by installing tools, except they are projected into the environment from the outside.

▲unitedfirmware 3 hours ago | parent [-]

It would still essentially be code mode if it has to write a bash or python script. You're also going to miss out on the tool descriptions and argument types since the files and directories will be just that, not even command line tools that you can run `-h` on to get more info. I'd still like to play with it though.

▲dofm 3 hours ago | parent [-]

It would be like code mode, but it has some advantages. It can be code in any language on that server, or with any tool, including for example the app the agent is building.

You have to explain to a model what code mode is. It is a layer of indirection. With this, there is no indirection; the model doesn't even need to grapple with the idea of combining declared tools, because there's no boundary between the MCP tool and the filesystem tools. It just does what it does.

No reason at all that the tools should miss out on tool descriptions, though. FUSE can present virtual executables, and they seem to be making use of that?

https://github.com/openai/mcpfs#files-and-names

So in principle if a tool can be projected into the environment and run this way, it can also answer to --help. Which is how they are doing it. And you can have a README or expose the skill file (not sure if I understand how a skill file can be written agnostically, though presumably an AGENTS.md addition can explain how to map the MCP's skill documentation into the filesystem space)

▲hamandcheese 3 hours ago | parent [-]

> though presumably an AGENTS.md addition can explain how to map the MCP's skill documentation into the filesystem space

and now we are back at "You have to explain to a model what [thing] is". I don't see much difference between explaining what code mode is, and explaining how its MCP-over-FUSE environment works.

▲dofm 2 hours ago | parent [-]

I mean to say, the agent does not need to be told how this environment works, in the sense that it just needs to be pointed at what amounts to a bin/ directory and told there are tools in it and it can call --help.

What I meant by the "mapping" thing is that a big library of MCP tools will have some tool documentation that refers to facilities as tools and talks about them in that separate way, whereas for the agent, that has become irrelevant: these are just basically a bin/ directory. So when it encounters the SKILL files, it may possibly need a bridging explanation, because it is no longer making calls to the tools, but calls to a terminal tool that runs commands.

Beyond that bridging, which seems lightweight and surmountable (even just based on the model's ability to interpret language), this feels obviously better than code mode. Not least because it has become "code-" tool-agnostic.

Perhaps I am not explaining myself well, but I think the value of this approach will prove itself over time as others adopt it. It feels like a fully natural fit with Zed or Pi.