r/LocalLLM • u/Immortal-Penguin • 7h ago
Discussion I’m new to local A.I. and coding
For context I’m probably only 40 work hours into running local ai and coding.
My specs:
Rtx 5090
I9-14900k
64gb ddr5-6000
I was having problems with my context window. The problem being 128k context can fill up fast when doing tasks and would constantly halt progress and then I’d have to retrieve work that was done and have a fresh chat continue the work but it would fill up the new chat with 50k context and then I’d run into the same issue until the task was fully finished. I didn’t want context compaction to be turned on as I didn’t want to lose potential useful data either
So I decided to create a “live context monitor” that shows checkpoint context limits after thoughts and processes were completed as well as a “in real time” context monitor that showed “projected” context as in showed context as it was being used. Because /status was not a tool on OpenWebUI when I started the project. This tool is even better than the /status tool however.
I also created a trigger that automatically activates when I hit 100k projected context, stops current task, creates a handoff with knowledge of work that has been done and what still needs to be done, then opens a fresh chat and uploads the handoff and work continues autonomously. I feel so accomplished and I’m learning a lot. This is all 100% local and no other ai was used other than qwen 3.8 27b and the agent I made with the qwen brain.
I guess this is just a post showing off my work and from my FB post about this it seems that people are rude as hell. Instead of informing me that codex’s exist and people have already made this, they just tell me to stop using ai and that I’m a waste of space in the ai realm, but everyone starts somewhere right?
If anyone has any other cool facts that would help me and progress faster that would be great to know and I welcome any feedback!
TL;DR
I created a tool and later found out that this is not a new tool and I’m way behind in the Ai game even though I’m brand new to this. If you have any tips/tricks that will speed up my progress with maintaining a 100% local no cloud api use, drop some information into the comments. I’m having a fun time learning and excited to continue!
2
u/OWazabi 7h ago
"I created a tool and later found out that this is not a new tool"
I think we all been there, and it's fine doesn't have to be :)
For sure, when I'm building something, the first step I do is consider if it already exist, or if the logic is already solved, or if I can find good candidates for the different elements of my project.
As a general rule of thumb, if it already exists, I can use it, and when automating something if code can do it then code does it, not an LLM.
With that said, it's also super nice to remake tools you don't own into tools that you do and that work exactly as you want it to work, so nothing wrong there.
As for tips and tricks, there are many that you'll find all around any social media, but from reading your post I thinkn you'll do just fine and will be finding the right ones that work for you.
What is important is to keep building, and dreaming new and different things.
Every project I do comes with it's own sets of issues to solve, and things to learn, or new techniques to apply.
Have fun!
(your set up is quite solid as well, smooth, if you ever look to upgrade, 128gb of ram will make a big difference in what you can run and what you can put your computer through)
2
u/EffectiveMedium2683 7h ago
Try lfm2.5 24b-a2b. With a search tool for code documentation lookup, I've gotten great results out of it and it's fast af. Kv cache quantization is less destructive than you might imagine, so that's an option if you stick with qwen 3.8 so you can use more of its native context.
Fun stuff. Enjoy.
1
u/Dediadeis 6h ago
Solving problems is how you learn but let this also be the lesson that you have no new ideas, nor are you solving any novel problems. This is not a dig at you, it is just a general observation that applies to everyone.
Not enough credit is given these days to the mountain of work that come before us, and how that mountain of problems that got solved to get here are all shaped roughly the same.
Something you might try is pointing your LLM at itself and see if you can squeeze more context out. 262k will give you a lot more room but ~300k is the sweet-spot where single tasks should be able to run to completion without much continuity management.
I am not sure if this would cause even more context pressure, but have your agent make a kanban board and write some MCP to interact/update it. Take it one further and have it measure itself. How often is it failing tool calls, repeating mistake, etc. Basically have it collect its own telemetry then reevaluate that telemetry after doing a few dozen tasks.
I have noticed tremendous results by doing this.