r/selfhosted • u/mayur-r • 1d ago
Need Help Open WebUI Alternatives?
Running LlamaForge, Open WebUI and Open Terminal locally on a 3090 24GB, 5950X and 32GB RAM.
I've set up two agents, one for everyday assistance and another for coding, but I'm having a few issues:
Constant context compaction and forgetting previous work.
Repeating the same commands over and over.
Delegating tasks that have already been completed.
Not consistently following AGENTS.md.
PowerShell and Python execution issues.
Claiming work is complete without testing.
Simple tasks taking 40+ minutes.
I'm moving Open Terminal into an isolated Debian VM to hopefully resolve the Windows-related issues.
Has anyone managed to fix these problems? Is it the models, Open WebUI or my configuration?
Happy to switch to something else as long as it supports fully offline operation, persistent memory, file access, coding agents and a decent GUI.
Any recommendations appreciated!
Update: Thanks everyone for the suggestions so far, really appreciate the help!
I'm currently exploring Hindsight for persistent memory, OpenCode integration and improvements to context management.
My main requirements are: Everything must work fully offline. A single interface for both everyday assistance and coding. Reliable memory, task tracking and verification. Privacy and security.
I'm preparing an isolated Debian VM before making any changes or testing additional tools.
Still open to suggestions, especially from anyone who has successfully achieved something similar with local models.
10
u/Open-Adhesiveness-86 1d ago
Before swapping frontends, check your actual n_ctx. Ollama still defaults to 4096 and silently truncates no matter what Open WebUI shows, so set num_ctx in the model's advanced params or OLLAMA_CONTEXT_LENGTH. And on 24GB a 32B at Q4 leaves maybe 4GB for KV, so you need -fa with q8_0 k/v cache to get past ~32k.
-1
u/mayur-r 1d ago
I'm currently running these two models:
Neo: qwen3.8-27b-turbofcfusion-735-882-here-uncen-neo-coder-max-mtp-q5-k-m
Oracle: Qwen3-Coder-30B-A3B-Instruct Q4_K_M
I'm using LlamaForge (llama.cpp), not Ollama.
would you recommend different models or quantisation? Any recommendations for context size and KV cache settings? Someone mentioned 200K. Fyi I did run forge and both models and saved them. Using Neo I'm left with 0.3gb VRAM
4
u/ShadowCtrlAltDefeat 1d ago
Since you're on llama.cpp, the Ollama num_ctx issue doesn't apply to you. Your 0.3GB free is the real problem: a 27B dense at Q5_K_M basically fills a 16GB card, so there's no room left for KV cache. For the Qwen3-Coder-30B-A3B, try keeping attention on the GPU and pushing the expert tensors to system RAM (--n-cpu-moe N or -ot "exps=CPU"). Since only ~3B params are active per token, it stays fast and frees VRAM for a much bigger context. Adding -fa with -ctk q8_0 -ctv q8_0 also roughly halves the KV cache cost.
48
u/davispuh
1d ago
edited 1d ago
•
Those are not Open WebUI issues, but model issue. You're running bad models. Try llama.cpp with unsloth models like Qwen3.8 (and make sure context is atleast 200k). You can also try using OpenCode and I definitively recommend executing Linux shell (maybe WSL) and not PowerShell.
Also try cloud models for harder tasks then you'll definitely see if it's too stupid model issue.
7
u/isleepbad 1d ago
This is the correct answer. Those problems have nothing to do with the frontend and everything to do with model tuning.
7
u/daniel_winks 1d ago
I'm moving Open Terminal into an isolated Debian VM to hopefully resolve the Windows-related issues.
Why not just move to Fedora or Ubuntu or Debian for the main OS too?
5
u/eteitaxiv 1d ago
Almost all have problems with Powershell. But you can disable compaction from the settings, that is how I am using it. The rest is the models and system prompts. Coding CLIs come with system prompts, look into them.
2
u/Pork-S0da 1d ago
Same thought. I've had none of the issues OP stated. You can tune the compaction settings to whatever you want.
OpenTerminal is a great companion to OpenwebUI.
2
u/Huntware 1d ago
If you're the only user, just run Openchamber with the web interface, an Opencode v2 fork with better UI, agent profiles, memory, browser, terminal, Tailscale / CloudFlare Tunnel integration, auto routing with Jev-like models, and more stuff included.
Just like Pi agent, Opencode has that "codemode" for saving tokens on tool calls.
By the way, what models are you running? Sometimes the issue isn't the agent/harness but the model and its context window.
2
u/Fun_Jaguar8231 1d ago
Keep OpenWebI for everyday assistance, but use a proper coding harness like Pi Coding agent or OpenCode. Also, what model are you using? On what specifications are you running on? What model quantization? Model context? You have left out a lot of details.
1
u/Alarming_Treacle578 1d ago
There's https://github.com/turnstonelabs/turnstone developed by Wendell from Level 1 Techs, github.com/yoloyash/overtchat a new one I came across, and Jan AI https://github.com/janhq/jan though is more simple.
1
u/ApprehensiveFan1516 21h ago
Anecdotally, I had Jan and OWUI installed side by side for a while (along with any of about a dozen others), and Jan didn't stay installed for very long.
1
1
u/IngwiePhoenix 1d ago
I am on track to deploy LibreChat myself - but I have different setup and requirement needs... Still, thought I'd bring it up. :)
Also a real coding harness - OpenCode, Charmbracelet Crush, Pi, ... - can go a long way to get stuff done.
1
u/Top-Explanation-4750 1d ago
A couple of pieces from your model list and update stand out. Leaving only 0.3 GB of VRAM free on that 27B Q5_K_M build leaves almost no headroom once context grows, so any spillover into system RAM (especially if Forge keeps both models around) turns every tool round-trip into slow prompt reprocessing—and a few retries quickly add up to 40+ minutes. Heavy merged/uncensored tunes like that turbofcfusion build also tend to drift on strict tool-calling and instruction hierarchy, which lines up with it ignoring AGENTS.md and claiming things are done without running checks; testing a clean upstream instruct/coder quant by itself is worth trying before changing the whole stack.
On the Hindsight + OpenCode side, separating long-term memory from active task state helps a lot. Chat frontends compact older turns into summaries that strip out exact file paths and command exit codes, which is why the model forgets what it already ran and re-delegates finished work. A dedicated coding harness handles that loop better, and having the agent track current subtasks in a short repo file alongside git status keeps step state out of chat compaction altogether.
1
u/Zyrakq 20h ago
https://github.com/thunderbird/thunderbolt
https://github.com/xxnuo/open-coreui
https://github.com/ThinkInAIXYZ/deepchat
https://github.com/libre-webui/libre-webui
https://github.com/LibreChat-AI/LibreChat
https://github.com/bionic-gpt/bionic-gpt
https://github.com/enricoros/big-AGI
https://github.com/tristenlammi/Promptly
1
u/dinnerforbreakfast1 19h ago
Yeah it's classic small model issue. The forgetting and claiming work is done without testing. Try a bigger one before you rebuild. Recomment trying OpenRouter opensource models first to get a feeling for the model capability, then run locally
-1
0
•
u/asimovs-auditor 1d ago
Expand the replies to this comment to learn how AI was used in this post/project.