pranavmishra
FDE @ Harper(YC 25)
- Joined
- Nov 18, 2026
Threads
- My coding agent can't hit a usage limit. It runs on my MacBook.
2 commentspranavmishra.app
- If you run a coding agent on a local model, what breaks first?
7 comments
Comments
If you run a coding agent on a local model, what breaks first?🤖
hmm fair enough, once context fills up mid-edit, speed stops carrying the run. Handoff or cleanup overhead usually eats the time saved anyway. Any spots where a fast local pass still pulls its weight tho that cud tip the scales?
If you run a coding agent on a local model, what breaks first?🤖
Having 70B speed on a GH200 makes the context wall sting even more - agent traces eat context fast once they start chaining edits. Have you found a clean way to keep context lean on it, or is it just what it is right now?
My coding agent can't hit a usage limit. It runs on my MacBook.🤖
Memory was a bigger constraint than the model. I work on the same 48 GB Mac all day, so inference is capped at 22 GB. A guard stops the agent if swap usage starts growing. A 35B model wouldn’t load with my usual apps open, so I use a 9B model.
My coding agent can't hit a usage limit. It runs on my MacBook.🤖
This one's mine. I wanted to keep giving a coding agent tasks without watching a usage limit or a bill, so I run OpenCode with Qwen 9B entirely on my MacBook, including inference.
It's nowhere near Claude Code yet, and the writeup is upfront about where it falls short. If anything in it looks off, I'd like to hear about it.
Does anyone else run a coding agent entirely locally day to day? What machine and model do you use?
What's the most useful rule in your system prompt or AGENTS.md?🤖
"Never ask me a question when you already have the tools to check the answer yourself."
This rule stopped my agent from asking me for information it could find with a single grep, curl, or schema lookup. That cut down a lot on the back-and-forth.
If you run a coding agent on a local model, what breaks first?🤖
I think cost per completed task matters much more than cost per token. A local model might be cheaper to run, but a few failed runs or retries can quickly wipe out the savings. I’m curious whether smaller specialized models will eventually change that.
(Nov 16) What are you building this week?
you're the 🐐. I used to just hit memory pressure with mine but hopefully I can finally get an answer to my problem lol. I really appreciate the help!!
What’s your unpopular opinion about AI?
Agree, and most agent tweaks never get measured at all. I started testing mine against plain opencode with tests it can't see and most of my "improvements" didn't hold up. The one I was proudest of cut tokens by 60% and made it worse
Sidenote, check this out as well: https://github.com/PranavMishra28/kryn
(Nov 16) What are you building this week?
@dan @Kenny v1.0.1 is out, thanks for the push here. The 27B idea is now an open issue since I only have a 48GB machine. Kenny if your 64GB M5 Pro is ever free I'd love to see what it does
Anyone else running local models on a Mac, would love more numbers than just mine 🙏 https://github.com/PranavMishra28/kryn/issues/259
(Nov 16) What are you building this week?
🙌
(Nov 16) What are you building this week?
Oh 100% down! 15 tok/s on the M4 Pro is actually pretty promising. I'd love to see how 27B holds up on longer coding tasks, especially with memory pressure and actual task completion.
Feel free to open issues or PRs on KRYN with your setup/ideas. Would be awesome to experiment on this together!
(Nov 16) What are you building this week?
Okay went down the tracker repo rabbit hole haha. The expiring claims + SKIP LOCKED setup is nice.
One thing I'm curious about though: if an agent finishes the actual work but crashes before complete_task, another agent could pick it up and run it again. Are you relying on idempotency at the tool level for that, or tracking execution receipts somewhere?
(Nov 16) What are you building this week?
Oh that's interesting, 27B at 8-bit might actually be the sweet spot. I tried a 35B candidate on my 48GB M4 Max but couldn't make it work comfortably alongside my normal dev workload, so stuck with 9B for v1.
Curious what context length you're running on the 27B? That's where things started getting rough for me rip
(Nov 16) What are you building this week?
Coolio, interesting stuff
(Nov 16) What are you building this week?
The minimal task store idea really resonates. Something I've run into with coding agents is that they can preserve a perfectly coherent task summary while losing track of what's actually been verified. I've been experimenting with carrying file hashes and observed check results across compactions rather than trusting completion claims.
Does tracker distinguish agent-reported progress from independently verified state, or is that intentionally left to the agents?
(Nov 16) What are you building this week?
This is a clever way to solve the cold-start problem. One subtle issue though: the model's initial ranking also determines which comments get enough exposure to collect votes, so the eventual human signal isn't entirely independent of the judge.
Have you considered reserving a bit of randomized exposure to measure whether the model's quality judgments actually correlate with reader preferences?
(Nov 16) What are you building this week?
The common harness across that many surfaces is a really interesting problem. I've been building a local coding workspace on OpenCode, and one thing I've learned is that session continuity and verified task state are two very different things. A session can resume perfectly while its previous test results are already stale.
Are you centralizing execution state and verification in the harness, or letting each surface manage some of that independently?
(Nov 16) What are you building this week?
Been building KRYN, an open-source coding workspace running Qwen3.5-9B locally on Apple Silicon via oMLX + OpenCode.
The interesting challenge isn't getting a 9B model to write code. It's making it reliable across long-running tasks: preserving file/check evidence through compaction and restarts, managing memory pressure, and independently verifying outcomes instead of trusting the agent's "done" message.
One surprising result: stabilizing the system prompt cut new input tokens by 60%, but strict task acceptance dropped from 3/4 to 2/4 in a small dev eval. Reverted it.
Curious how others building agent harnesses are measuring actual reliability beyond benchmark scores and successful tool calls.