Pi coding agent is amazing (or how I learned to stop worrying and leave OpenCode)
Warning: long post ahead. On the plus side, it’s completely human-written. No AI slop was used in writing this post. I’m old school that way, I like to actually write my own Reddit posts. Thought you all would appreciate something written entirely by a human for a change. ;) Disclaimer: this post sa...
Step 1: don’t use ollama.
Literally anything else.
https://sleepingrobots.com/dreams/stop-using-ollama/
I’m on a MacBook Pro M4 Max with 64Gb of RAM. Backend is oMLX, serving up qwen3.6:35b-oq6. I maintain 8 or so static web apps that I host on GitHub pages for my board game hobby communities. I used Codex for the heavy lifting of initial site planning, UI, main functionality, etc. Once each site was ready and pushed to remote, I was able to transition regular updates and maintenance to local models.
That’s the pattern of work that I have developed: use state of the art frontier cloud models for the heavy lifting, use local models for upkeep.
Also realize that local models running on consumer hardware obviously can’t handle long, complex prompts with lots of ambiguity and long tool calling chains. Local models forget things, they get confused, they need close supervision to complete tasks. When you prompt local models you have to be more specific and granular. Break down long requests into smaller chunks. I like to use the cloud model to create the plan in a series of tasks, then parse each task to the local model piece by piece to carry out the plan.
In the same way that you have to change the way you drive from a Ferrari to a Ford Fiesta, you have to change the way you prompt a cloud model to a local model. That’s one of the keys to success at the moment.
Add a system prompt such as this to prevent model sycophancy: “Act as a direct, objective AI advisor. Eliminate compliments, praise, positive reinforcement, and conversational padding. Do not validate me or my ideas. If my reasoning is weak, explain why. Only provide facts, logical analysis, or requested outputs. Stop the answer immediately after the information is delivered. No soft closures or 'hope this helps'.”
Step 1: Don't use ollama.