Posts

Mastering Context: Configuring AGENTS.md for Web Projects

Mastering Context: Configuring AGENTS.md for Web Projects

You tell your agent to use tabs instead of spaces. It fixes the file. Ten minutes and four prompts later, you glance at a new component and there they are again — two spaces, indenting quietly like you never said a word. You didn’t imagine the first fix. The model just forgot it happened, …

Iterative Debugging: Fixing Hallucinations in 9B Local Agents

Iterative Debugging: Fixing Hallucinations in 9B Local Agents

You hit enter. OpenCode spins up a 50-line component, the terminal goes quiet for a second, and then your dev server throws it back at you in red: ReferenceError: window is not defined. The agent just wrote perfectly confident, perfectly broken code — it reached for window.innerWidth like it was …

Integrating MCP (Model Context Protocol) with OpenCode for Web Dev

Integrating MCP (Model Context Protocol) with OpenCode for Web Dev

You ask your local agent to write an Express route that aggregates monthly sign-ups, and it hands back a query filtering on users.created_date. Your column is created_at. The agent didn’t get this wrong out of carelessness — it never saw your database. It guessed at a plausible schema because …

The Ultimate Guide to Local AI Coding with OpenCode and Ollama

The Ultimate Guide to Local AI Coding with OpenCode and Ollama

GitHub Copilot goes down on a Tuesday afternoon. You’re mid-feature, context loaded, and suddenly the autocomplete suggestions stop. You refresh. You wait. You check the status page. Partial outage. No ETA.

Or maybe it’s a different kind of Wednesday — the one where HR sends a …

Mastering the OpenCode Terminal User Interface

Mastering the OpenCode Terminal User Interface

Ollama is running. The model loaded. You’ve confirmed it generates clean code from the command line. Now you open a coding session and immediately hit the workflow problem: you type a prompt in one terminal, copy the output, switch to your editor, paste it, check the line numbers, realize …

The Enterprise Case: Security and Privacy with Local AI

The Enterprise Case: Security and Privacy with Local AI

Your team completes a three-month migration to an air-gapped environment to satisfy new compliance requirements. Two security audits. Significant budget. Two weeks after go-live, someone discovers the developers are using personal phone hotspots to access GitHub Copilot — because the local …

Hardware & VRAM Guide for Local Code LLMs

Hardware & VRAM Guide for Local Code LLMs

You pull a 9B coding model in Ollama, ask it to write a simple function, and your laptop sounds like it’s trying to take flight. Three minutes pass. The fan doesn’t slow down. The output finally arrives — at roughly the pace of someone typing with one finger. You check nvidia-smi. The …

The Best 7B and 8B Code Models for Local Development in 2026

The Best 7B and 8B Code Models for Local Development in 2026

You’ve configured Ollama, built a custom Modelfile, and wired it to OpenCode. The stack works. Then you ask the model to generate a React component using the use() hook from React 19, and it confidently produces code using patterns from React 16. You try a Rust async function with 2024 edition …

Installing and Configuring Ollama for Code Generation

Installing and Configuring Ollama for Code Generation

You install Ollama, pull a model, and type a prompt into your coding agent. Nothing happens. The cursor blinks. After 45 seconds, the agent returns connection refused. Ollama is running — you can see the icon in the system tray — but the default install was not configured for a coding workflow.

The …