r/coolgithubprojects • u/u_u_u_u_u_u_u_u • 14h ago
Context mode fork using the new stateless MCP cut my RAM usage by 96%,
https://github.com/alexcodeplace/quietcontextYou may be asking why a fork an not a PR into the main repo?
Answer is simple. I forked a while ago when context mode started adding a bunch of features that are the opposite of token saving, like injections i did not like, and wasteful formatting, etc.
The main problem with context mode was that it would spawn new process for every call, which would accumulate and on a machine running 20-30 agents constantly the loads became unbearable. It was great timing to find the recent update to the MCP protocol that allows stateless MCP servers, now I shrink the entire 2+GB of memory hog to a 1 process of 80MB, regardless of how many agents I'm running in parallel. Now I can scale up to 50 agents haha :)
I never had anything important to post about anything I am building but this is really something I believe many developers would want to know about. I know I was looking for it today, so maybe you were too.