frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Replacing my OS process scheduler with an LLM

https://github.com/mprajyothreddy/brainkernel
13•ImPrajyoth•5h ago

Comments

ImPrajyoth•5h ago
OP here. this is a cursed project lol, but i wanted to see: What happens if you replace the OS scheduler with an LLM?

With Groq speed (Llama 3 @ 800t/s), inference is finally fast enough to be in the system loop.

i built this TUI to monitor my process tree. instead of just showing CPU %, it checks the context (parent process, disk I/O) to decide if a process is compiling code or bloatware. It roasts, throttles, or kills based on that.

Its my experiment in "Intelligent Kernels" how they would be. i used Delta Caching to keep overhead low.

p_ing•5h ago
You can't replace the NTOS scheduler. This is more of an automated (?) process manager.
ImPrajyoth•5h ago
you are technically right (the best kind of right). i am running in userspace, so i cant replace the actual thread scheduling logic in Ring 0 without writing a driver and BSODing my machine.

think of this more as a High-Level Governor. The NTOS scheduler decides which thread runs next, but this LLM decides if that process deserves to exist at all.

basically; NTOS tries to be fair to every process. BrainKernel overrides that fairness with judgment. if i suspend a process, i have effectively vetoed the scheduler.

p_ing•2h ago
> NTOS tries to be fair to every process

This is a super simplification of the NTOS scheduler. It's not that dumb!

> if i suspend a process, i have effectively vetoed the scheduler.

I mean, I suppose? It's the NTOS scheduler doing the suspension. It's like changing the priority level -- sure, you can do it, but it's generally to your detriment outside of corner cases.

devmor•3h ago
This is a pretty funny project, you've outsourced the neurotic developers that keep their task manager open and kill off processes they don't like.

I wouldn't call it replacing the scheduler though - more that you've made a scheduler manager.

2001zhaozhao•1h ago
It really is cursed to be spending hundreds of watts of power in a datacenter somewhere to make a laptop run slightly faster.

Show HN: 22 GB of Hacker News in SQLite

https://hackerbook.dosaygo.com
218•keepamovin•5h ago•69 comments

Show HN: Claude Cognitive – Working memory for Claude Code

https://github.com/GMaN1911/claude-cognitive
4•MirrorEthic•17m ago•1 comments

Show HN: I remade my website in the Sith Lord Theme and I hope it's fun

https://cookie.engineer/index.html
25•cookiengineer•4h ago•12 comments

Show HN: Tidy Baby is a SET game but with words

https://tidy.baby
25•brgross•6h ago•6 comments

Show HN: One clean, developer-focused page for every Unicode symbol

https://fontgenerator.design/symbols
159•yarlinghe•5d ago•62 comments

Show HN: A Claude Code plugin that catch destructive Git and filesystem commands

https://github.com/kenryu42/claude-code-safety-net
51•kenryu•4d ago•55 comments

Show HN: Brainrot Translator – Convert corporate speak to Gen Alpha and back

https://brainrottranslator.com
12•todaycompanies•5h ago•2 comments

Show HN: Replacing my OS process scheduler with an LLM

https://github.com/mprajyothreddy/brainkernel
13•ImPrajyoth•5h ago•6 comments

Show HN: Stop Claude Code from forgetting everything

https://github.com/mutable-state-inc/ensue-skill
180•austinbaggio•1d ago•212 comments

Show HN: Superset – Terminal to run 10 parallel coding agents

https://superset.sh/
93•avipeltz•1w ago•85 comments

Show HN: A 45x45 Connections Puzzle To Commemorate 2025=45*45

https://thomaswc.com/2025.html
72•thomaswc•6d ago•22 comments

Show HN: Slide notes visible only to you during screen sharing

https://cuecard.dev
2•thisisnsh•4h ago•0 comments

Show HN: Aroma: Every TCP Proxy Is Detectable with RTT Fingerprinting

https://github.com/Sakura-sx/Aroma
80•Sakura-sx•5d ago•49 comments

Show HN: See what readers who loved your favorite book/author also loved to read

https://shepherd.com/bboy/2025
125•bwb•1d ago•37 comments

Show HN: Z80-μLM, a 'Conversational AI' That Fits in 40KB

https://github.com/HarryR/z80ai
490•quesomaster9000•1d ago•114 comments

Show HN: Euclidle – Guess the Coordinates in N‑Dimensional Space

https://euclidle.com/
17•bills-appworks•4d ago•4 comments

Show HN: My not-for-profit search engine with no ads, no AI, & all DDG bangs

https://nilch.org
191•UnmappedStack•1d ago•73 comments

Show HN: Cck ClaudeCode file change tracking and auto Claude.md

4•takawasi•6h ago•0 comments

Show HN: MCP Mesh – one endpoint for all your MCP servers (OSS self-hosted)

https://github.com/decocms/mesh
6•gadr90•6h ago•0 comments

Show HN: Financial calculators with no tracking, no signup, no email gates

https://www.financialaha.com/financial-calculators/
3•stefanneculai•6h ago•0 comments

Show HN: Flipper Zero MCP – Control Your Flipper Using AI via USB or WiFi

https://github.com/busse/flipperzero-mcp
2•busseio•6h ago•0 comments

Show HN: Minimum Viable Parents (MVP)

https://yaz.zone/essays/mvp
3•plawlost•6h ago•0 comments

Show HN: Tetris Time

https://tetris-time.koenvangilst.nl/?mode=countdown&to=2026-01-01T00:00:00.000Z&speed=3
8•vnglst•12h ago•3 comments

Show HN: Lazy-image – Node.js image library with static binaries (Rust/NAPI)

https://github.com/albert-einshutoin/lazy-image
4•einshutoin•13h ago•1 comments

Show HN: Paper Tray – dramatically better file organization for Google Drive

https://www.papertray.ai/
2•affine_variety•9h ago•0 comments

Show HN: Spacelist, a TUI for Aerospace window manager

https://github.com/magicmark/spacelist
41•markl42•3d ago•6 comments

Show HN: Per-instance TSP Solver with No Pre-training (1.66% gap on d1291)

18•jivaprime•1d ago•3 comments

Show HN: Evidex – AI Clinical Search (RAG over PubMed/OpenAlex and SOAP Notes)

https://www.getevidex.com
36•amber_raza•1d ago•33 comments

Show HN: Vibe coding a bookshelf with Claude Code

https://balajmarius.com/writings/vibe-coding-a-bookshelf-with-claude-code/
276•balajmarius•1d ago•206 comments

Show HN: Make 67 – a tiny maths game

https://simondarcyonline.com/67/
4•sidarcy•12h ago•0 comments