Connecting a coding agent to a local model used to mean editing config files and pointing each tool at Ollama's API by hand. Ollama now has a shortcut: the ollama launch command, which sets up and starts supported apps for you. This guide explains what it does, which apps it supports and what your PC needs, based on Ollama's documentation and release notes, read on 28 November 2026.
What ollama launch does
Ollama's CLI reference describes ollama launch as a way to "configure and launch external applications to use Ollama models", calling it "an interactive way to set up and start integrations with supported apps". Instead of writing a provider config yourself, you pick the app and a model, and Ollama does the wiring.
Which apps it supports
Ollama's CLI reference lists these supported integrations:
OpenCode, an open-source coding assistant
Claude Code, Anthropic's agentic coding tool
Codex, OpenAI's coding assistant
VS Code, Microsoft's editor with built-in AI chat
Droid, Factory's AI coding agent
Ollama's integrations page also says you can run ollama launch and choose OpenClaw or Hermes Agent for a personal assistant, and its release notes for Ollama 0.40.17 mention ollama launch pi and ollama launch chatgpt. The list is changing quickly, so run ollama launch on its own to see what your version offers.
Step 1: Install or update Ollama
You need a recent Ollama build, as ollama launch features are still being added in point releases. See How to Update Ollama on Windows or How to Install Ollama on Linux.
Step 2: Run the launcher
Open a terminal and use one of the forms from Ollama's CLI reference:
ollama launch opens an interactive picker.
ollama launch claude launches a specific integration.
ollama launch claude --model qwen3.5 launches it with a specific model.
ollama launch droid --config configures an app without launching it.
For OpenCode the command is ollama launch opencode; Ollama's OpenCode page says it "configures OpenCode to use local and cloud models".
Step 3: Give the model enough context
This is the step most likely to trip you up on a home PC. Ollama's Claude Code page says to choose a local model and set a 64k+ context window, and its OpenCode page says "OpenCode requires a context length of 64k or higher". Check your context setting before you start; see How to Set Ollama Context Length.
A longer context needs more memory, so a model that loads fine for chat may not fit your GPU at 64K. Our guides to context length and VRAM and how much VRAM you need explain the trade-off, and the best local coding models suggests models to try.
Ollama also offers cloud models through the same launcher. Its pages say cloud models let you "use larger models without downloading them"; cloud models aren't downloaded to your PC, so pick a local model if you want everything to stay on your machine.
Scripts and automation
For scripts, Docker or CI, Ollama's Claude Code page documents a --yes flag that "skips selectors, pulls the model when needed, and requires --model". Anything after -- is passed straight to the app, for example ollama launch claude --model <model> --yes -- -p "how does this repository work?".
Recent changes
Ollama's 0.40.17 release notes list several launcher updates: ollama launch claude supports Claude Code's deferred tool loading, so MCP tools load when needed; ollama launch opencode sets thinking options from the model's metadata; ollama launch pi refreshes Pi's model list after sign-in; and ollama launch chatgpt --restore asks before switching an active profile.
Prefer to set things up by hand?
ollama launch is a shortcut, not a requirement. Our app-by-app guides cover manual setup for Claude Code, OpenCode, Codex CLI, VS Code, Hermes Agent and OpenClaw.