| ▲ | LLMs learn what programmers create, not how programmers work | |||||||||||||
| 37 points by noemit 2 days ago | 14 comments | ||||||||||||||
I ran an experiment to see if CLI actually was the most intuitive format for tool calling. (As claimed by a ex-Manus AI Backend Engineer) I gave my model random scenarios and a single tool "run" - i told it that it worked like a CLI. I told it to guess commands. it guessed great commands, but it formatted it always with a colon up front, like :help :browser :search :curl It was trained on how terminals look, not what you actually type (you don't type the ":") I have since updated my code in my agent tool to stop fighting against this intuition. LLMs they learn what commands look like in documentation/artifacts, not what the human actually typed on the keyboard. Seems so obvious. This is why you have to test your LLM and see how it naturally works, so you don't have to fight it with your system prompt. This is Kimi K2.5 Btw. | ||||||||||||||
| ▲ | shomp 2 days ago | parent | next [-] | |||||||||||||
Great observation. The brain of a programmer is still a "black box" to the feed-forward network of nodes . But in theory, if you pumped a lot of the live-coding videos from something like youtube into the process, you could get a bit of that "what's your approach"-erism to bleed into the model. There might not be enough material there to truly "train it to think" but it would be interesting to try and "fill the gaps" of black-box-ed-ness in the LLM with supplemental "here was the process that got us there" video feeds. The next natural move might actually be recording thousands of hours of footage of developers working with the LLMs directly like in Cursor or another IDE that has LLM live-pair-programming , maybe calling it "pair programming" is generous , but it might be a reasonable foray into teaching the next generation of LLMs the "thought process" behind things. In reality you'd be teaching it which files to inspect, which windows to open/close, which tools to switch to and focus on. And while it might be imperfect, it might just be enough. | ||||||||||||||
| ▲ | paulwelty 4 hours ago | parent | prev | next [-] | |||||||||||||
You found an interesting example of the fallacy of following and defining rules You can't define a system with only rules. Eventually, you run out of rules on how to apply the rules. Eventually, you need judgment and interpretation. | ||||||||||||||
| ▲ | Areena_28 a day ago | parent | prev | next [-] | |||||||||||||
I know even we hit the same thing building internal security tooling. our model kept formatting output like documentation, not like how we would or any person in place of us would read in a terminal at 2am during an incident. I am a bit curious, did you find this behavior consistent across models or is it more pronounced with certain ones? | ||||||||||||||
| ||||||||||||||
| ▲ | infosecphoenix a day ago | parent | prev | next [-] | |||||||||||||
not just for coding, for any profession, LLMs only learned what people created but not how professionals work. | ||||||||||||||
| ▲ | acters a day ago | parent | prev | next [-] | |||||||||||||
Instead of telling the LLM that "run"works like a cli, maybe just tell the LLM that "run" will execute sh/bash/zsh/etc scripts? | ||||||||||||||
| ||||||||||||||
| ▲ | seertaak 2 days ago | parent | prev | next [-] | |||||||||||||
Is that really true? I would have expected by now that AI companies nowadays are doing RL on git histories, not just on the HEAD. | ||||||||||||||
| ||||||||||||||
| ▲ | mpalmer 2 days ago | parent | prev | next [-] | |||||||||||||
The novice came to the master. "I have figured it out, the rules for how LLMs understand CLIs. It gives the right commands, but adds colons. It was trained on the visual shape of terminals, not keystrokes." "Clear the session," the master said. "Run the same prompt again." The novice pressed return. The model output: `ls -R /tmp` "The colons are gone," the novice said. "But my theory explained them perfectly." "You built a cage for a cloud," the master said. "Do not mistake a single roll of the dice for the rulebook." | ||||||||||||||
| ||||||||||||||
| ▲ | Art9681 2 days ago | parent | prev [-] | |||||||||||||
Is "how programmers work" a useful and provable metric? No? Then it belongs in philosophy discussions. How you work and how I work is different. Your work may have ended up in the LLM training and my work did not. Or vice versa. Can you objectively analyze how VSCode adapts to your way of working without our interference? Did you test your theory with the actual frontier LLMs (which Kimi K2.5 is not BTW?) | ||||||||||||||