Show HN: Local-coder – Build a team of coding agents with local models Developer gmarland released local-coder, an open-source tool that builds a team of seven specialist coding agents on top of Ollama and OpenCode using locally run models. The tool detects hardware, recommends models that fit available memory and disk, assigns them to roles such as explore, plan, implement, verify, research, and review, and runs capability probes that require a separate verifier to inspect repository state rather than trust an agent's claim of success. It requires macOS or Linux, Node.js 20 or newer, Ollama, and OpenCode, with at least about 9 GB of usable model memory and 11 GB of free disk for the smallest bundled option. Turn the models your machine can run into a private, verified team of coding agents. local-coder builds a local coding-agent environment on top of Ollama https://ollama.com and OpenCode https://opencode.ai . It detects the machine, recommends models that fit, assigns them to seven specialist roles, generates a permission-restricted workflow, and tests whether the result can actually use tools, delegate work, edit a repository, and verify the edit. Pointing OpenCode at an Ollama model gives you local inference. local-coder adds the system around that model: hardware-aware role assignment, adaptive orchestration, task contracts, capability probes, independent verification, and reversible configuration management. Agent claims are not evidence. Repository state determines success. That principle is the project's completion rule. A model saying that it changed a file or ran a test is not enough; the generated workflow asks a separate verifier to inspect the repository and validation evidence. Running a model locally is relatively easy. Building a dependable local coding-agent setup raises harder questions: - Which models fit this machine's memory, GPU, disk, and useful context budget? - Which model should explore, plan, implement, verify, research, or review? - Can each selected model produce real structured tool calls, not tool-shaped text? - Can the coding model read, edit, and reread a file correctly? - Can an orchestrator delegate work, and can another agent catch a false success claim or a real defect? - Can all of this be added without discarding an existing OpenCode configuration or shared models? local-coder treats those as one setup problem. Smaller or faster models can handle lightweight roles while stronger models handle implementation and planning, when the hardware and catalogue support that split. A minimal setup can reuse one compatible model for every role. Detect hardware and installed tools ↓ Determine memory, context, and storage budgets ↓ Recommend models and assign them to roles ↓ Create local Ollama context variants ↓ Generate OpenCode agents, permissions, and config ↓ Run model and role capability probes ↓ Run a real OpenCode edit-and-verification probe ↓ Ready A single model may fill several roles; downloads are deduplicated by Ollama tag and context variants share the source model's weights. Before doing anything, a dry run shows the recommendation, downloads, variants, and files without writing or downloading: local-coder --dry-run - macOS or Linux - Node.js https://nodejs.org 20 or newer - Ollama https://ollama.com/download , running when models need to be downloaded or tested - OpenCode https://opencode.ai/docs for the generated coding environment - At least about 9 GB of usable model memory and 11 GB of free disk for the smallest bundled option; more capable presets need more Git and ripgrep https://github.com/BurntSushi/ripgrep are recommended because they materially improve coding-agent workflows. The wizard detects missing tools and explains what remains to install. Install from this repository: git clone https://github.com/gmarland/local-coder.git cd local-coder npm install npm link local-coder --dry-run local-coder Review the dry-run output before starting setup. The interactive wizard shows the exact model downloads and file changes, then asks for confirmation. When setup finishes, run the opencode /path/to/project command it prints. The package also exposes setup-ai as an alias. Running either command without a subcommand starts setup. Configuration is global by default in ~/.config/opencode . Use --project to write