I consider my own coding agent bloated at just 1mb (yes 1mb) because it uses postgresql package as db tool, and it works wonders.
* edit 1: Upon further scrutiny, 35 dependencies make up for 1.4gb, what they are for? I don't even see postgres in there so I guess that would be another plugin. 1.5gb of basic functionality?
* edit 2: Most of the time I use the terminal but also developed a web ui for my agent [1] and it is only 20mb with postgres, git, web, file tools, etc I definitely want to know why the bloat
Found the culprits, anthropic and openai models are 250mb each. So if we use only deepseek I guess it should be ok to remove them, but still some tests to do just in case
Exactly, node_modules, but being a single page app with nothing much other than calling AI in the background and beautifully presenting the results, what are those modules for? I suspect the culprit is react, typescript and its entourage of useless stuff not appropriate for a simple app in its structure, even if extremely complex for producing results.
I consider my own coding agent bloated at just 1mb (yes 1mb) because it uses postgresql package as db tool, and it works wonders.
* edit 1: Upon further scrutiny, 35 dependencies make up for 1.4gb, what they are for? I don't even see postgres in there so I guess that would be another plugin. 1.5gb of basic functionality?
* edit 2: Most of the time I use the terminal but also developed a web ui for my agent [1] and it is only 20mb with postgres, git, web, file tools, etc I definitely want to know why the bloat
[1] https://github.com/kuyawa/mecha-ui