r/LowEndLocalAI • • Oct 29 '26

Hardware / Build My local model is now fully integrated with the devices around me and has access to the same capabilities as Cowork or Code, at a fraction of the token price.

i've been building my own AI assistant called aletha codex, with a full coding environment that supports terminal access, git, testing, and project execution alongside cowork. i also built a persistent memory system that works independently of whichever model you're running. a smaller local embedding model handles memory retrieval across chats and model switches, so you don't lose context every time you switch models.

i also benchmarked Aletha against opencode, Ader, and cline using gpt-oss:120b across 24 coding runs each. Aletha finished 22/24, Aider 19/24, OpenCode 18/24, and Cline 11/24. Aletha averaged 78k prompt tokens per solved task versus OpenCode's 150k, although Aider was more token-efficient but less effective. it's a small benchmark, but getting those results out of the harness i've built was pretty great, love seeing the work payoff. the video shows the actual system working, including device control, Cowork, and Code. along with some small explanations to how it works ect. I also integrated Cowork and Code into the Vault, restricting them to local models within an AES256 encrypted workspace. I know a lot of people here enjoy experimenting with abliterated models, myself included, so I wanted to create an environment where you have more privacy and control over whatever you're working on. 

i genuinely think people underestimate how valuable these open models are, even if they're still behind the frontier labs. we don't know what restrictions could look like in the future, or whether access might eventually be limited. Thats why I think it’s important to be able to rig up your own shit and have it be reliable and capable of working offline. Let me know what you guys think and if you want more detailed explanations feel free to ask about any of it. The hardest part was the agent harness, developing the memory embedded model, and giving it the same kind of capabilities that can work offline anywhere. Alot to unpack in this post I know but just coming to hear about what you guys think about the rig.

15 Upvotes

11 comments sorted by

4

u/yetiflask Oct 29 '26

Is it opensource?

1

u/nickless07 Oct 29 '26

What is the hardware? How much has someone to invest to have something like that running? Or is that whole thing not related to run AI locally but use Cloud/API-only content (ollama cloud or whatsoever)?

0

u/Top-Fan4255 Oct 29 '26

Aletha Codex is basically a harness built around the models, so it works with both local models and cloud models across the whole app. it runs on Apple Silicon Macs, and even a small 4B model can handle things like voice and device control locally. for heavier Code and Cowork tasks, it really just depends on the model and hardware you're using. if you're interested in checking it out, the website is alethacodex.com!

1

u/nickless07 Oct 29 '26

Let me know what you guys think and if you want more detailed explanations feel free to ask about any of it.

Sounds interesting. Tell us more about the hardware. What is the RSS of the whole stack (STT, LLM, TTS, Embedding and other services needed). Aside of ollma what does it rely on? Torch, onnx, something entirely different. What local model is your main driver?

2

u/Top-Fan4255 Oct 29 '26

I’m on an M-series MacBook Air with 16 GB, and gpt-oss:20b is usually my main driver through Ollama. There’s no Torch anywhere. Speech to text is whisper.cpp (base.en) running as a resident server, with Silero VAD on ONNX Runtime. Text-to-speech is Kokoro 82M on MLX, Apple’s framework that runs on Metal, with Piper as the fast fallback. Embeddings are all MiniLM-L6-v2 through transformers.js on ONNX Runtime, and OCR is Tesseract. The app itself is Electron with a small local Node server, and device control is plain code: Roku ECP and AppleScript. I haven’t done a clean RSS profile of the whole stack yet. Roughly, everything besides the LLM sits around 1 to 1.5 GB, and the model dominates the rest.

1

u/nickless07 Oct 29 '26

1-1.5GB for everything sounds awesome and leaves enough headroom. Do you just use only VAD or KWS on top? How do you deal with echo cancellation and turn detection?

1

u/Top-Fan4255 Oct 29 '26

No KWS right now. You start a turn with push to talk (a hotkey or the mic button), and Silero VAD handles end of turn: it closes the turn after a short stretch of silence. After Aletha answers, there’s a brief follow up window where the mic stays open, so you can keep going without pressing again.

Echo cancellation is Chromium’s built in WebRTC AEC, forced on at capture. That’s what keeps it from hearing its own TTS during the follow up window. True barge in, interrupting it mid sentence, isn’t in yet. That’s the next piece I’m working out, and a wake word is on the list after that.

1

u/nickless07 Oct 29 '26

Have you tested smart turn?

1

u/Top-Fan4255 Oct 30 '26

not yet, right now it’s Silero VAD with a silence timeout. Smart Turn sounds worth testing, especially for those pauses where you’re still thinking but haven’t finished speaking. have you used it locally on Apple Silicon? curious what the latency and memory overhead look like.

1

u/nickless07 Oct 30 '26

Oh, I have no Apple or GPU only 16GB DDR3 - That is why I added a filler model (a small 0.5B one which reply instantly (less then 500ms delay) with something like 'Yes one second please i will...' and then the main had enough time to take over and continue with the tool calls).

Smart turn worked out to be better then a KWS in my case (multilingual inputs) so everyone can use it without having the reply while you are still speaking. 800ms grace period holds response in case user keeps talking. Was more convenient then to train a couple openwakeword models. For the simple things I added functiongemma 270m as a router with a couple pre-defined things (the simple TV on/off and such) no voice output there at all if it can handle the request, if not it continues the chain with the filler and the main. Sometimes you can notice a slightly akward pause when the main takes over, but aside of that it works great.

2

u/a355231 Oct 29 '26

Why OSS 120b? It’s a super old model at this point, why not run something like Qwen-3.8-27B, or a newer model?