| ▲ | hahahaa 2 hours ago | |||||||
MCP is the answer to not using bash, right? Bash is a great control surface anyway for LLMs as it is wordy and powerful. | ||||||||
| ▲ | firasd an hour ago | parent | next [-] | |||||||
Yeah as far as what I'm talking about bash CLI vs MCP doesn't matter (there could be a file_sample MCP tool)---I'm saying that by default Windows, Linux etc don't have this venetianblinds affordance of seeing equally spaced samples. It's a trivial algo but it's very handy these days cause LLMs can't really just be like 'okay I'm gonna open this file at random and scroll around'--the file itself is an unknown blob (JSON data, Python, Typescript, a log file etc) without coordinates. So they fall back to thinking they've gotten a good sense of the file from head/grep or they write ad-hoc Python to manipulate the file. Another venetianblinds survey, of the Paul Graham 'What I Worked On' article that's used in many LlamaIndex examples: npx github:firasd/venetianblinds pgworkedon.txt | ||||||||
| ▲ | LelouBil an hour ago | parent | prev | next [-] | |||||||
Also, this is a trivial example but I would rather an LLm call a recursive "grep" than using 1000 read_file MCP calls. Having a scripting language as a tool is powerfull, and can help remove unnecessary stuff from the LLM's context. | ||||||||
| ▲ | ElectricalUnion 2 hours ago | parent | prev [-] | |||||||
Problem is that bash is too sharp to handle to smart and gullible clankers without a sandbox - That I think everyone should be using anyways, for everything, even things not related to clankers - Android and Qubes are right. The app/vm, and whatever it tries, should not be considered trusted by default. | ||||||||
| ||||||||