an open-source alternative to the dots, bots and muses of the world, run an office of claude code/codex like agents on your laptop, sandboxes or anywhere, uses your existing subscriptions
HTML agent-harnessagent-orchestrationagentsai-agentsautonomous-agentsclaude-codecodexcoding-agentsdesktop-appdeveloper-toolselectrongemini-cliharnessharness-engineeringlocal-firstmemorymulti-agentopencodeorchestrationtypescript
Merge main (#520) into blog/first-hour-pro and rebuild the blog
Chaitanya Giri86c47f809d48
diff --cc blog/src/_data/media.jsonindex 0c5a84c7,7ee7505b..c7c08b0f--- a/blog/src/_data/media.json+++ b/blog/src/_data/media.json@@@ -3795,142 -3857,5 +3995,42 @@@"status": "placeholder"}]+ },- "how-to-install-codex-cli": {- "title": "How to Install Codex CLI on Mac, Windows and Linux",- "category": "guides",- "hero": {- "file": "assets/media/how-to-install-codex-cli/hero.png",- "alt": "Hand drawn sketch: a yellow character at a desk with a terminal window, labelled npm, brew or script, and install, sign in, update",- "prompt": "Hero image for a blog post titled \"How to Install Codex CLI on Mac, Windows and Linux\". The post is about: Install OpenAI's Codex CLI with the official script, npm or Homebrew, sign in with ChatGPT or an API key, then update it and check your version.",- "status": "ready"- },- "inline": {- "note-1": {- "file": "assets/media/how-to-install-codex-cli/note-1.png",- "alt": "Hand drawn sketch: a character at a desk typing into a terminal",- "prompt": "",- "status": "ready"- },- "note-2": {- "file": "assets/media/how-to-install-codex-cli/note-2.png",- "alt": "Hand drawn sketch: a character carrying a letter towards a box",- "prompt": "",- "status": "ready"- }- },- "youtube": []- },- "claude-code-vs-cursor": {- "title": "Claude Code vs Cursor: Which Is Better in 2026?",- "category": "comparisons",- "hero": {- "file": "assets/media/claude-code-vs-cursor/hero.png",- "alt": "Hand drawn sketch: a yellow character with a magnifying glass between two windows labelled claude code and cursor",- "prompt": "Hero image for a blog post titled \"Claude Code vs Cursor: Which Is Better in 2026?\". The post is about: Claude Code vs Cursor, checked 14 Sep 2026: where each runs, models, plans, the new Claude Code weekly limits, parallel agents and using both.",- "status": "ready"- },- "inline": {- "note-1": {- "file": "assets/media/claude-code-vs-cursor/note-1.png",- "alt": "Hand drawn sketch: two windows side by side with a character inspecting one",- "prompt": "",- "status": "ready"- },- "note-2": {- "file": "assets/media/claude-code-vs-cursor/note-2.png",- "alt": "Hand drawn sketch: a character presenting a board on an easel",- "prompt": "",- "status": "ready"- }- },- "youtube": []- },- "what-is-vibe-coding": {- "title": "What Is Vibe Coding? Meaning, Risks and Safer Habits",- "category": "concepts",- "hero": {- "file": "assets/media/what-is-vibe-coding/hero.png",- "alt": "Hand drawn sketch: two yellow characters talking, one saying just vibes, captioned then someone reads the diff",- "prompt": "Hero image for a blog post titled \"What Is Vibe Coding? Meaning, Risks and Safer Habits\". The post is about: Vibe coding means building software from AI prompts without reading the code. Where the term came from, when it is fine, where it bites, and what to check.",- "status": "ready"- },- "inline": {- "note-1": {- "file": "assets/media/what-is-vibe-coding/note-1.png",- "alt": "Hand drawn sketch: two characters exchanging speech bubbles",- "prompt": "",- "status": "ready"- },- "note-2": {- "file": "assets/media/what-is-vibe-coding/note-2.png",- "alt": "Hand drawn sketch: letters arriving in an inbox",- "prompt": "",- "status": "ready"- }- },- "youtube": []- },- "why-does-claude-code-keep-asking-for-permission": {- "title": "Why Does Claude Code Keep Asking for Permission?",- "category": "guides",- "hero": {- "file": "assets/media/why-does-claude-code-keep-asking-for-permission/hero.png",- "alt": "Hand drawn sketch: a yellow character behind a shield that blocks lightning bolts, labelled allow this command and allow rules",- "prompt": "Hero image for a blog post titled \"Why Does Claude Code Keep Asking for Permission?\". The post is about: Claude Code asks because Manual mode gates edits, shell commands and web requests. The fixes, safest first: modes, allow rules, sandboxing, then bypass.",- "status": "ready"- },- "inline": {- "note-1": {- "file": "assets/media/why-does-claude-code-keep-asking-for-permission/note-1.png",- "alt": "Hand drawn sketch: a shield with a check mark stopping a lightning bolt",- "prompt": "",- "status": "ready"- },- "note-2": {- "file": "assets/media/why-does-claude-code-keep-asking-for-permission/note-2.png",- "alt": "Hand drawn sketch: a character raising its arms under a ringing bell",- "prompt": "",- "status": "ready"- }- },- "youtube": []- },+ "connect-slack-to-munder-difflin": {+ "title": "How to Connect Slack to Munder Difflin 0.5.2",+ "category": "guides",+ "hero": {+ "file": "assets/media/connect-slack-to-munder-difflin/hero.png",+ "alt": "The Slack card in Munder Difflin 0.5.2 settings, with the bot token field, required scopes and Test connection",+ "prompt": "",+ "status": "ready"+ },+ "inline": {+ "modes": {+ "file": "assets/media/connect-slack-to-munder-difflin/modes.png",+ "alt": "How Slack reaches the office: Check for messages, Stay connected and Let Slack call the office, with Check every and Channel ID",+ "prompt": "",+ "status": "ready"+ },+ "steps": {+ "file": "assets/media/connect-slack-to-munder-difflin/steps.png",+ "alt": "The in app connect steps for Check for messages",+ "prompt": "",+ "status": "ready"+ },+ "who": {+ "file": "assets/media/connect-slack-to-munder-difflin/who.png",+ "alt": "The Who answers inbound messages list with Michael recommended",+ "prompt": "",+ "status": "ready"+ },+ "stay": {+ "file": "assets/media/connect-slack-to-munder-difflin/stay.png",+ "alt": "The Slack card set to Stay connected, with Bot token and App token fields and Catch up every",+ "prompt": "",+ "status": "ready"+ }+ },+ "youtube": []}}diff --cc docs/blog/claude-code-max-plan-tips/index.htmlindex 74e63c5c,623929d1..f710a3dc--- a/docs/blog/claude-code-max-plan-tips/index.html+++ b/docs/blog/claude-code-max-plan-tips/index.html@@@ -296,18 -296,18 +296,18 @@@</div></article><article class="card t-guides">-- <a class="thumb t-guides" href="/blog/how-to-install-codex-cli/" aria-hidden="true" tabindex="-1"><img src="/blog/assets/media/how-to-install-codex-cli/hero.png" alt="" loading="lazy" decoding="async" /></a>++ <a class="thumb t-guides" href="/blog/how-to-connect-ollama-to-claude-code/" aria-hidden="true" tabindex="-1"><img src="/blog/assets/media/how-to-connect-ollama-to-claude-code/hero.png" alt="" loading="lazy" decoding="async" /></a><div class="body"><div class="meta"><time datetime="2026-09-14">Sep 14, 2026</time><span class="dot" aria-hidden="true"></span>-- <span>4 min</span>++ <span>5 min</span></div>-- <h3><a href="/blog/how-to-install-codex-cli/">How to Install Codex CLI on Mac, Windows and Linux</a></h3>-- <p class="dek">Install OpenAI's Codex CLI with the official script, npm or Homebrew, sign in with ChatGPT or an API key, then update it and check your version.</p>++ <h3><a href="/blog/how-to-connect-ollama-to-claude-code/">How to Connect Ollama to Claude Code</a></h3>++ <p class="dek">Point Claude Code at Ollama with ollama launch claude or three environment variables, give the model 64K of context, and know what stops working.</p><div class="foot"><span class="tag kind">Guides</span>-- <a class="more" href="/blog/how-to-install-codex-cli/" aria-label="Read: How to Install Codex CLI on Mac, Windows and Linux">Read →</a>++ <a class="more" href="/blog/how-to-connect-ollama-to-claude-code/" aria-label="Read: How to Connect Ollama to Claude Code">Read →</a></div></div></article>diff --cc docs/blog/codex-max-plan-tips/index.htmlindex a1f25d1d,e9a52252..f551487b--- a/docs/blog/codex-max-plan-tips/index.html+++ b/docs/blog/codex-max-plan-tips/index.html@@@ -305,18 -305,18 +305,18 @@@ Usage: codex cloud exec [OPTIONS] --en</div></article><article class="card t-guides">-- <a class="thumb t-guides" href="/blog/how-to-install-codex-cli/" aria-hidden="true" tabindex="-1"><img src="/blog/assets/media/how-to-install-codex-cli/hero.png" alt="" loading="lazy" decoding="async" /></a>++ <a class="thumb t-guides" href="/blog/how-to-connect-ollama-to-claude-code/" aria-hidden="true" tabindex="-1"><img src="/blog/assets/media/how-to-connect-ollama-to-claude-code/hero.png" alt="" loading="lazy" decoding="async" /></a><div class="body"><div class="meta"><time datetime="2026-09-14">Sep 14, 2026</time><span class="dot" aria-hidden="true"></span>-- <span>4 min</span>++ <span>5 min</span></div>-- <h3><a href="/blog/how-to-install-codex-cli/">How to Install Codex CLI on Mac, Windows and Linux</a></h3>-- <p class="dek">Install OpenAI's Codex CLI with the official script, npm or Homebrew, sign in with ChatGPT or an API key, then update it and check your version.</p>++ <h3><a href="/blog/how-to-connect-ollama-to-claude-code/">How to Connect Ollama to Claude Code</a></h3>++ <p class="dek">Point Claude Code at Ollama with ollama launch claude or three environment variables, give the model 64K of context, and know what stops working.</p><div class="foot"><span class="tag kind">Guides</span>-- <a class="more" href="/blog/how-to-install-codex-cli/" aria-label="Read: How to Install Codex CLI on Mac, Windows and Linux">Read →</a>++ <a class="more" href="/blog/how-to-connect-ollama-to-claude-code/" aria-label="Read: How to Connect Ollama to Claude Code">Read →</a></div></div></article>diff --cc docs/blog/connect-slack-to-munder-difflin/index.htmlindex 0e8cce6a,00000000..7f66cbdcmode 100644,000000..100644--- a/docs/blog/connect-slack-to-munder-difflin/index.html+++ b/docs/blog/connect-slack-to-munder-difflin/index.html@@@ -1,427 -1,0 +1,427 @@@+<!doctype html>+<html lang="en">+<head>+<meta charset="UTF-8" />+<meta name="viewport" content="width=device-width, initial-scale=1.0" />+<title>How to Connect Slack to Munder Difflin 0.5.2 — Munder Difflin Blog</title>+<meta name="description" content="Connect Slack to Munder Difflin 0.5.2: create the Slack app, add the bot scopes, pick one of three connection modes, and get answers in the thread." />+<link rel="canonical" href="https://munderdiffl.in/blog/connect-slack-to-munder-difflin/" />++<link rel="icon" type="image/png" href="https://munderdiffl.in/logo.png" />+<link rel="apple-touch-icon" href="https://munderdiffl.in/logo.png" />+<meta name="theme-color" content="#F5F2E8" />++<!-- Open Graph -->+<meta property="og:site_name" content="Munder Difflin Blog" />+<meta property="og:type" content="article" />+<meta property="og:title" content="How to Connect Slack to Munder Difflin 0.5.2 — Munder Difflin Blog" />+<meta property="og:description" content="Connect Slack to Munder Difflin 0.5.2: create the Slack app, add the bot scopes, pick one of three connection modes, and get answers in the thread." />+<meta property="og:url" content="https://munderdiffl.in/blog/connect-slack-to-munder-difflin/" />+<meta property="og:image" content="https://munderdiffl.in/blog/assets/media/connect-slack-to-munder-difflin/hero.png" />+<meta property="og:image:width" content="1600" />+<meta property="og:image:height" content="900" />+<meta property="og:image:alt" content="The Slack card in Munder Difflin 0.5.2 settings, with the bot token field, required scopes and Test connection" />+<meta property="og:locale" content="en_US" />+<meta property="article:published_time" content="2026-09-14T00:00:00.000Z" />+<meta property="article:author" content="Chaitanya Giri" />+<meta property="article:tag" content="Guides" />+<meta property="article:tag" content="Slack" />+<meta property="article:tag" content="Integrations" />+<meta property="article:tag" content="Getting Started" />+++<!-- Twitter -->+<meta name="twitter:card" content="summary_large_image" />+<meta name="twitter:title" content="How to Connect Slack to Munder Difflin 0.5.2 — Munder Difflin Blog" />+<meta name="twitter:description" content="Connect Slack to Munder Difflin 0.5.2: create the Slack app, add the bot scopes, pick one of three connection modes, and get answers in the thread." />+<meta name="twitter:image" content="https://munderdiffl.in/blog/assets/media/connect-slack-to-munder-difflin/hero.png" />+<meta name="twitter:image:alt" content="The Slack card in Munder Difflin 0.5.2 settings, with the bot token field, required scopes and Test connection" />++<link rel="alternate" type="application/atom+xml" title="Munder Difflin Blog" href="https://munderdiffl.in/blog/feed.xml" />+<link rel="preconnect" href="https://fonts.googleapis.com" />+<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />+<link href="https://fonts.googleapis.com/css2?family=Fraunces:opsz,[email protected],500;9..144,600;9..144,700;9..144,900&family=Source+Serif+4:opsz,[email protected],400;8..60,600;8..60,700&family=Space+Grotesk:wght@500;600;700&family=JetBrains+Mono:wght@400;600&display=swap" rel="stylesheet" />+<link rel="stylesheet" href="/blog/assets/blog-press.css" />++<script type="application/ld+json">+{+ "@context": "https://schema.org",+ "@type": "BlogPosting",+ "headline": "How to Connect Slack to Munder Difflin 0.5.2",+ "description": "Connect Slack to Munder Difflin 0.5.2: create the Slack app, add the bot scopes, pick one of three connection modes, and get answers in the thread.",+ "image": ["https://munderdiffl.in/blog/assets/media/connect-slack-to-munder-difflin/hero.png"],+ "datePublished": "2026-09-14T00:00:00.000Z",+ "dateModified": "2026-09-14T00:00:00.000Z",+ "author": { "@type": "Person", "name": "Chaitanya Giri" },+ "publisher": {+ "@type": "Organization",+ "name": "Munder Difflin",+ "logo": { "@type": "ImageObject", "url": "https://munderdiffl.in/logo.png" }+ },+ "mainEntityOfPage": { "@type": "WebPage", "@id": "https://munderdiffl.in/blog/connect-slack-to-munder-difflin/" },+ "keywords": "connect slack to munder difflin, munder difflin slack, slack bot token scopes for ai agents, slack socket mode ai agent, run ai agents from slack, slack polling vs socket mode",+ "articleSection": "Guides",+ "inLanguage": "en-US",+ "url": "https://munderdiffl.in/blog/connect-slack-to-munder-difflin/"+}+</script>+<script type="application/ld+json">+{+ "@context": "https://schema.org",+ "@type": "BreadcrumbList",+ "itemListElement": [+ { "@type": "ListItem", "position": 1, "name": "Home", "item": "https://munderdiffl.in/" },+ { "@type": "ListItem", "position": 2, "name": "Blog", "item": "https://munderdiffl.in/blog/" },+ { "@type": "ListItem", "position": 3, "name": "How to Connect Slack to Munder Difflin 0.5.2", "item": "https://munderdiffl.in/blog/connect-slack-to-munder-difflin/" }+ ]+}+</script>++<script type="application/ld+json">+{+ "@context": "https://schema.org",+ "@type": "FAQPage",+ "mainEntity": [+ { "@type": "Question", "name": "Do I need Pro to connect Slack?", "acceptedAnswer": { "@type": "Answer", "text": "No. Slack lives under Settings, Connections, which every plan has. Pro adds a Slack view to the Inbox, where you can see what came in and reply in the thread." } },+ { "@type": "Question", "name": "Can I turn on more than one Slack mode at once?", "acceptedAnswer": { "@type": "Answer", "text": "No. Munder Difflin 0.5.2 runs one mode at a time. Switching stops the current one, and you press Turn on (or start, for Let Slack call the office) for the new mode." } },+ { "@type": "Question", "name": "Do my agents get the Slack bot token?", "acceptedAnswer": { "@type": "Answer", "text": "Agents are never handed it. They reply through a small helper that sends the reply to a local endpoint inside the app, and the endpoint holds the token; the agent only passes the channel, the thread and the text. The token is still saved in the app's config file on your machine, which an agent with full file access could read." } },+ { "@type": "Question", "name": "Does the bot answer direct messages?", "acceptedAnswer": { "@type": "Answer", "text": "Not in 0.5.2. It listens in channels the bot was invited to, public or private: the one channel you pick, or with Stay connected and no channel picked, every channel the bot is in. It acts on messages that mention it or reply in a thread where it was mentioned." } },+ { "@type": "Question", "name": "What happens to messages sent while my laptop is asleep?", "acceptedAnswer": { "@type": "Answer", "text": "Check for messages picks them up on its next check. Stay connected picks them up with its catch up check if you picked a channel. Let Slack call the office loses them." } }++ ]+}+</script>+++<script>+ // Anonymous blog analytics (PostHog) — same posture as the main site and the+ // app's TELEMETRY.md: public write-only token ('' = inert), anonymous-only+ // (person_profiles 'never'), no autocapture/recording, DNT respected.+ (function () {+ var PH_KEY = 'phc_qJzsokwcbtTGHemnvywR3nSqivNNgMjHeNVEWkZNydFB';+ if (!PH_KEY || navigator.doNotTrack === '1') return;+ var s = document.createElement('script');+ s.async = true;+ s.src = 'https://us-assets.i.posthog.com/static/array.js';+ s.onload = function () {+ if (!window.posthog) return;+ window.posthog.init(PH_KEY, {+ api_host: 'https://us.i.posthog.com',+ person_profiles: 'never',+ autocapture: false,+ before_send: function (event) {+ // PostHog fills $ip from the connection unless the event carries one.+ // Null it here and disable the GeoIP lookup so no IP, city, postal+ // code or lat/long is ever derived or stored for this page view.+ if (event && event.properties) {+ event.properties.$ip = null;+ event.properties.$geoip_disable = true;+ }+ return event;+ },+ disable_session_recording: true,+ respect_dnt: true+ });+ };+ document.head.appendChild(s);+ })();+</script>+</head>+<body class="theme-press">+<a class="skip-link" href="#main">Skip to content</a>+<nav id="nav">+ <a class="brand" href="https://munderdiffl.in" aria-label="Munder Difflin home">+ <img class="brand-logo" src="https://munderdiffl.in/logo.png" width="1318" height="840" alt="Munder Difflin, Inc. — Multi-Agent Harness" />+ </a>+ <span class="spacer"></span>+ <div class="links">+ <a href="/blog/">Latest</a>+ <a href="/blog/topics/">Topics</a>+ <a href="/blog/about/">About</a>+ <a href="https://munderdiffl.in">↗ Product</a>+ </div>+ <div class="nav-actions">+ <a class="btn sm" href="https://munderdiffl.in/blog/feed.xml" aria-label="RSS feed">⤵ RSS</a>+ <a class="btn sm primary" href="https://munderdiffl.in/#install">⤓ Download</a>+ </div>+</nav>++<main id="main">++<article class="t-guides">+ <header class="post-head wrap">+ <nav class="crumbs" aria-label="Breadcrumb">+ <a href="/blog/">Blog</a>+ <span>/</span>+ <a href="/blog/topics/guides/">Guides</a>+ </nav>+ <h1>How to Connect Slack to Munder Difflin 0.5.2</h1>+ <p class="dek">Connect Slack to Munder Difflin 0.5.2: create the Slack app, add the bot scopes, pick one of three connection modes, and get answers in the thread.</p>+ <div class="byline">+ <span class="av" aria-hidden="true">MD</span>+ <strong>Chaitanya Giri</strong>+ <span class="dot" aria-hidden="true">·</span>+ <time datetime="2026-09-14">Sep 14, 2026</time>+ <span class="dot" aria-hidden="true">·</span>+ <span>5 min read</span>+ <span class="tag kind">Guides</span>+ </div>+ </header>++ <div class="hero-wrap wrap"><figure class="fig fig-hero"><img src="/blog/assets/media/connect-slack-to-munder-difflin/hero.png" alt="The Slack card in Munder Difflin 0.5.2 settings, with the bot token field, required scopes and Test connection" loading="lazy" decoding="async" /></figure></div>++ <div class="post-wrap wrap">+ <div class="prose">+ <p>To connect Slack to <a href="https://harnessmd.com/download">Munder Difflin</a> 0.5.2, create a Slack app with four bot scopes (six to list channels), paste the bot token under Settings, Connections, Slack, press Test connection, pick the channel and press Turn on. Then mention the bot in that channel, and your orchestrator or the agent you chose answers in the thread.</p>+<p>Slack is on every plan, free included. If the app is not installed yet, start with <a href="/blog/how-to-install-and-use-munder-difflin/">how to install Munder Difflin</a>. Every mode needs the app open and the laptop awake, because the connection runs on your machine. This guide was checked against the 0.5.2 source and its Settings screens on 14 Sep 2026. Our <a href="/blog/run-ai-agent-hive-from-slack-setup/">older Slack guides</a> cover the ideas, and this page covers the current setup.</p>+<h2 id="which-slack-mode-should-you-pick" tabindex="-1">Which Slack mode should you pick? <a class="anchor" href="#which-slack-mode-should-you-pick" aria-hidden="true">#</a></h2>+<p>Pick <strong>Check for messages</strong> unless you need instant replies. Under <strong>How Slack reaches the office</strong>, 0.5.2 offers three modes, and only one runs at a time.</p>+<div class="table-scroll">+<table>+<thead>+<tr>+<th>Mode</th>+<th>What it needs</th>+<th>Speed</th>+<th>While the laptop sleeps</th>+</tr>+</thead>+<tbody>+<tr>+<td>Check for messages</td>+<td>Bot token</td>+<td>Checks every 30 seconds to 5 minutes, 1 minute by default</td>+<td>Caught up on the next check</td>+</tr>+<tr>+<td>Stay connected (Socket Mode)</td>+<td>Bot token and app token</td>+<td>Instant</td>+<td>A catch up check (1 minute to 1 hour, 5 minutes by default, or off) picks it up, if you picked a channel</td>+</tr>+<tr>+<td>Let Slack call the office (Events API)</td>+<td>Bot token, signing secret, a port and a public tunnel</td>+<td>Instant</td>+<td>Lost</td>+</tr>+</tbody>+</table>+</div>+<p>The first two need no public URL. The app itself calls the third one Advanced, for a reason: its Request URL is a tunnel that changes every time you start it, so you paste it into Slack again after each restart.</p>+<figure class="fig fig-inline"><img src="/blog/assets/media/connect-slack-to-munder-difflin/modes.png" alt="How Slack reaches the office: Check for messages, Stay connected and Let Slack call the office, with Check every and Channel ID" loading="lazy" decoding="async" /></figure>+<h2 id="how-do-you-create-the-slack-app" tabindex="-1">How do you create the Slack app? <a class="anchor" href="#how-do-you-create-the-slack-app" aria-hidden="true">#</a></h2>+<p>These steps are for Check for messages, the recommended mode. Slack’s own <a href="https://docs.slack.dev/app-management/quickstart-app-settings">app settings quickstart</a> covers the same screens.</p>+<ol>+<li>Go to <a href="https://api.slack.com/apps">api.slack.com/apps</a>, choose <strong>Create New App</strong> and start from a blank app (older Slack screens say <strong>From scratch</strong>). Name it Munder Difflin and pick your workspace.</li>+<li>Open <strong>OAuth & Permissions</strong> and add these <strong>Bot Token Scopes</strong>: <code>channels:history</code>, <code>groups:history</code>, <code>chat:write</code> and <code>files:read</code>. Also add <code>channels:read</code> and <code>groups:read</code>, so the app can list the channels the bot is in instead of asking you for an id.</li>+<li>Choose <strong>Install to Workspace</strong>. If your workspace needs admin approval, this is where you wait for it.</li>+<li>Copy the <strong>Bot User OAuth Token</strong>. It starts with <code>xoxb-</code>.</li>+<li>In the Slack channel you want the bot to watch, run <code>/invite @MunderDifflin</code>.</li>+</ol>+<p>The Slack card has a shorter version of these steps behind the <strong>i</strong> next to Slack integration.</p>+<figure class="fig fig-inline"><img src="/blog/assets/media/connect-slack-to-munder-difflin/steps.png" alt="The in app connect steps for Check for messages" loading="lazy" decoding="async" /></figure>+<p>For <strong>Stay connected</strong>, do two more things in the same Slack app:</p>+<ul>+<li>Turn on <strong>Socket Mode</strong>. Under <strong>Basic Information</strong>, <strong>App-Level Tokens</strong>, generate a token with the <code>connections:write</code> scope. It starts with <code>xapp-</code>; Slack’s <a href="https://docs.slack.dev/authentication/tokens">token docs</a> explain the difference between bot and app-level tokens.</li>+<li>Under <strong>Event Subscriptions</strong>, enable events and subscribe to the bot events <code>message.channels</code> and <code>message.groups</code>. No Request URL is needed. Reinstall if Slack asks.</li>+</ul>+<h2 id="where-do-the-tokens-go-in-munder-difflin" tabindex="-1">Where do the tokens go in Munder Difflin? <a class="anchor" href="#where-do-the-tokens-go-in-munder-difflin" aria-hidden="true">#</a></h2>+<p>Open <strong>Settings</strong>, then <strong>Connections</strong>.</p>+<ol>+<li>At the top, <strong>Who answers inbound messages</strong> decides who gets Slack requests. The default is your orchestrator, Michael unless you renamed him, and the app recommends keeping it. You can pick any agent instead. If that agent is not running, the orchestrator takes the request.</li>+<li>In the <strong>Slack</strong> card, open <strong>Advanced</strong>, then choose your mode under <strong>How Slack reaches the office</strong>. Check for messages is selected to begin with.</li>+<li>Paste the <code>xoxb-</code> token into <strong>Bot token</strong>. For Stay connected, paste the <code>xapp-</code> token into <strong>App token</strong>.</li>+<li>Press <strong>Test connection</strong>. If the bot is in one channel, the app uses it. If it is in several, pick one. If you skipped the two read scopes, type the channel id into <strong>Channel ID</strong> under Advanced instead; it starts with <code>C</code>. Stay connected needs no channel, because it hears every channel the bot is in, but pick one if you want the catch up check.</li>+<li>Set <strong>Check every</strong> (or <strong>Catch up every</strong> for Stay connected), then press <strong>Turn on</strong>.</li>+</ol>+<p>When it works, the card shows a status line in the form “Checking <workspace> as @<bot>, last check <time>, next <time>”.</p>+<figure class="fig fig-inline"><img src="/blog/assets/media/connect-slack-to-munder-difflin/who.png" alt="The Who answers inbound messages list with Michael recommended" loading="lazy" decoding="async" /></figure>+<p>For Stay connected, the card adds the <strong>App token</strong> field beside the bot token, and <strong>Check every</strong> becomes <strong>Catch up every</strong>.</p>+<figure class="fig fig-inline"><img src="/blog/assets/media/connect-slack-to-munder-difflin/stay.png" alt="The Slack card set to Stay connected, with Bot token and App token fields and Catch up every" loading="lazy" decoding="async" /></figure>+<h2 id="what-happens-when-someone-mentions-the-bot" tabindex="-1">What happens when someone mentions the bot? <a class="anchor" href="#what-happens-when-someone-mentions-the-bot" aria-hidden="true">#</a></h2>+<p>Mention the bot in the watched channel. From then on, every reply in that thread counts too, without another mention; Check for messages follows threads active in the last 24 hours. The app ignores bot posts and edited messages, so the bot never answers itself. A file upload counts if it mentions the bot or lands in a watched thread, and attachments up to 10 MB are downloaded for the agent.</p>+<p>The request lands as a Slack request with the agent set under <strong>Who answers inbound messages</strong>, your orchestrator by default. <a href="/blog/how-the-god-orchestrator-works/">How the orchestrator routes work</a> explains how he picks an agent from there. His instructions for these are strict: pick one agent quickly, hand over the exact reply command, ask no interactive questions, and pause only for high risk actions. The agent replies in the same thread through a helper that sends the reply to a local endpoint holding the bot token, so agents are never handed the token. It is still stored in the app’s config file, so keep agents that have full file access in mind. When the task card reaches done, the app posts one summary to the thread, unless the agent already replied itself.</p>+<p>Two switches matter here:</p>+<ul>+<li><strong>Post in Slack on its own</strong> is off by default. While it is off, the office only answers inside a thread someone already started. Replies to work sent from Slack still go back to their own thread.</li>+<li>If you want the orchestrator to bring in a temp for a Slack request, turn on <strong>Can start agents on its own</strong> in his <strong>Configuration</strong> tab. It is off after setup.</li>+</ul>+<p>On Pro, the <strong>Inbox</strong> has a <strong>Slack</strong> view under <strong>Outside</strong>, showing what came in and what was posted.</p>+<h2 id="what-goes-wrong-most-often" tabindex="-1">What goes wrong most often? <a class="anchor" href="#what-goes-wrong-most-often" aria-hidden="true">#</a></h2>+<p>Check these first: a missing scope, a missing invite, or a sleeping laptop.</p>+<ul>+<li><strong>Nothing answers.</strong> The app is closed or the laptop is asleep. Check for messages catches up when it wakes; Let Slack call the office does not.</li>+<li><strong>“The bot is not in any channel yet.”</strong> Run <code>/invite @MunderDifflin</code> in the channel and press Test connection again.</li>+<li><strong>It asks you to type the channel id.</strong> The app lacks <code>channels:read</code> and <code>groups:read</code>. Add them, reinstall the Slack app, and the list fills in.</li>+<li><strong>A private channel stays silent.</strong> The bot needs <code>groups:history</code> and has to be invited to that channel.</li>+<li><strong>Let Slack call the office stopped after a restart.</strong> The Request URL changed. Paste the new one into Event Subscriptions.</li>+</ul>+<p>Once Slack works, point it at real work. <a href="/blog/your-first-hour-with-munder-difflin/">Your First Hour With Munder Difflin</a> shows where a Slack agent fits beside scheduled automations, webhooks and the rest of a Pro office. <a href="https://harnessmd.com/download">Get Munder Difflin</a>.</p>++++ <section class="faq" aria-label="Frequently asked questions">+ <h2 id="faq">FAQ</h2>++ <div class="qa">+ <p class="q">Do I need Pro to connect Slack?</p>+ <p class="a">No. Slack lives under Settings, Connections, which every plan has. Pro adds a Slack view to the Inbox, where you can see what came in and reply in the thread.</p>+ </div>++ <div class="qa">+ <p class="q">Can I turn on more than one Slack mode at once?</p>+ <p class="a">No. Munder Difflin 0.5.2 runs one mode at a time. Switching stops the current one, and you press Turn on (or start, for Let Slack call the office) for the new mode.</p>+ </div>++ <div class="qa">+ <p class="q">Do my agents get the Slack bot token?</p>+ <p class="a">Agents are never handed it. They reply through a small helper that sends the reply to a local endpoint inside the app, and the endpoint holds the token; the agent only passes the channel, the thread and the text. The token is still saved in the app's config file on your machine, which an agent with full file access could read.</p>+ </div>++ <div class="qa">+ <p class="q">Does the bot answer direct messages?</p>+ <p class="a">Not in 0.5.2. It listens in channels the bot was invited to, public or private: the one channel you pick, or with Stay connected and no channel picked, every channel the bot is in. It acts on messages that mention it or reply in a thread where it was mentioned.</p>+ </div>++ <div class="qa">+ <p class="q">What happens to messages sent while my laptop is asleep?</p>+ <p class="a">Check for messages picks them up on its next check. Stay connected picks them up with its catch up check if you picked a channel. Let Slack call the office loses them.</p>+ </div>++ </section>++++ <hr />+ <div class="share">+ <span class="lbl">Tags</span>+ <a class="tag" href="/blog/tags/guides/">Guides</a><a class="tag" href="/blog/tags/slack/">Slack</a><a class="tag" href="/blog/tags/integrations/">Integrations</a><a class="tag" href="/blog/tags/getting-started/">Getting Started</a>+ </div>++ </div>+++ <aside class="toc-rail" aria-label="Table of contents">+ <div class="tt">On this page</div>+ <ol>+ <li class="lvl-2"><a href="#which-slack-mode-should-you-pick">Which Slack mode should you pick?</a></li><li class="lvl-2"><a href="#how-do-you-create-the-slack-app">How do you create the Slack app?</a></li><li class="lvl-2"><a href="#where-do-the-tokens-go-in-munder-difflin">Where do the tokens go in Munder Difflin?</a></li><li class="lvl-2"><a href="#what-happens-when-someone-mentions-the-bot">What happens when someone mentions the bot?</a></li><li class="lvl-2"><a href="#what-goes-wrong-most-often">What goes wrong most often?</a></li>+ </ol>+ </aside>++ </div>++ <footer class="post-foot wrap"><div class="prevnext">+ <a class="pn prev" href="/blog/grok-bot-alternatives/"><span class="k">← Older</span><span class="t">Grok Bot Alternatives: Six Picks, Grouped by What You Want</span></a>+ <a class="pn next" href="/blog/codex-max-plan-tips/"><span class="k">Newer →</span><span class="t">How to Make the Most of Your Codex Max Plan</span></a>+ </div>+ <section class="related">+ <h2>Related in Guides</h2>+ <div class="post-grid">+ <article class="card t-guides">+ <a class="thumb t-guides" href="/blog/claude-code-max-plan-tips/" aria-hidden="true" tabindex="-1"><img src="/blog/assets/media/claude-code-max-plan-tips/hero.png" alt="" loading="lazy" decoding="async" /></a>+ <div class="body">+ <div class="meta">+ <time datetime="2026-09-14">Sep 14, 2026</time>+ <span class="dot" aria-hidden="true"></span>+ <span>5 min</span><span class="pin">Pinned</span>+ </div>+ <h3><a href="/blog/claude-code-max-plan-tips/">How to Get the Most Out of Your Claude Code Max Plan</a></h3>+ <p class="dek">Stretch a Claude Code Max plan: model choice, context hygiene, prompt caching, subagents and unattended runs, checked against Anthropic's own pages.</p>+ <div class="foot">+ <span class="tag kind">Guides</span>+ <a class="more" href="/blog/claude-code-max-plan-tips/" aria-label="Read: How to Get the Most Out of Your Claude Code Max Plan">Read →</a>+ </div>+ </div>+</article>+<article class="card t-guides">+ <a class="thumb t-guides" href="/blog/codex-max-plan-tips/" aria-hidden="true" tabindex="-1"><img src="/blog/assets/media/codex-max-plan-tips/hero.png" alt="" loading="lazy" decoding="async" /></a>+ <div class="body">+ <div class="meta">+ <time datetime="2026-09-14">Sep 14, 2026</time>+ <span class="dot" aria-hidden="true"></span>+ <span>5 min</span><span class="pin">Pinned</span>+ </div>+ <h3><a href="/blog/codex-max-plan-tips/">How to Make the Most of Your Codex Max Plan</a></h3>+ <p class="dek">There is no Codex Max plan. What ChatGPT Pro 5x and 20x give you in Codex, how the weekly limit works, and how to stretch it.</p>+ <div class="foot">+ <span class="tag kind">Guides</span>+ <a class="more" href="/blog/codex-max-plan-tips/" aria-label="Read: How to Make the Most of Your Codex Max Plan">Read →</a>+ </div>+ </div>+</article>+<article class="card t-guides">- <a class="thumb t-guides" href="/blog/how-to-install-codex-cli/" aria-hidden="true" tabindex="-1"><img src="/blog/assets/media/how-to-install-codex-cli/hero.png" alt="" loading="lazy" decoding="async" /></a>++ <a class="thumb t-guides" href="/blog/how-to-connect-ollama-to-claude-code/" aria-hidden="true" tabindex="-1"><img src="/blog/assets/media/how-to-connect-ollama-to-claude-code/hero.png" alt="" loading="lazy" decoding="async" /></a>+ <div class="body">+ <div class="meta">+ <time datetime="2026-09-14">Sep 14, 2026</time>+ <span class="dot" aria-hidden="true"></span>- <span>4 min</span>++ <span>5 min</span>+ </div>- <h3><a href="/blog/how-to-install-codex-cli/">How to Install Codex CLI on Mac, Windows and Linux</a></h3>- <p class="dek">Install OpenAI's Codex CLI with the official script, npm or Homebrew, sign in with ChatGPT or an API key, then update it and check your version.</p>++ <h3><a href="/blog/how-to-connect-ollama-to-claude-code/">How to Connect Ollama to Claude Code</a></h3>++ <p class="dek">Point Claude Code at Ollama with ollama launch claude or three environment variables, give the model 64K of context, and know what stops working.</p>+ <div class="foot">+ <span class="tag kind">Guides</span>- <a class="more" href="/blog/how-to-install-codex-cli/" aria-label="Read: How to Install Codex CLI on Mac, Windows and Linux">Read →</a>++ <a class="more" href="/blog/how-to-connect-ollama-to-claude-code/" aria-label="Read: How to Connect Ollama to Claude Code">Read →</a>+ </div>+ </div>+</article>++ </div>+ </section>++ </footer>+</article>++</main>+<footer class="site-foot">+ <div class="wrap">+ <div class="foot-top">+ <a class="foot-brand brand" href="https://munderdiffl.in" aria-label="Munder Difflin home">+ <img class="brand-logo" src="https://munderdiffl.in/logo.png" width="1318" height="840" alt="Munder Difflin, Inc. — Multi-Agent Harness" />+ </a>+ <div class="foot-links">+ <a href="/blog/">Latest</a>+ <a href="/blog/topics/">Topics</a>+ <a href="/blog/about/">About</a>+ <a href="https://munderdiffl.in/blog/feed.xml">RSS</a>+ <a href="https://github.com/chaitanyagiri/munder-difflin">GitHub</a>+ <a href="https://munderdiffl.in">munderdiffl.in ↗</a>+ </div>+ </div>+ <div class="foot-meta">+ © 2026 Munder Difflin · Local-first · MIT-licensed ·+ Built on <a href="https://munderdiffl.in">Electron, React, Pixi.js, xterm.js & node-pty</a>.+ Run an office of agents while you sleep.+ </div>+ </div>+</footer>++<script>+ // sticky-nav border on scroll+ (function () {+ var nav = document.getElementById('nav');+ if (!nav) return;+ var onScroll = function () { nav.classList.toggle('scrolled', window.scrollY > 8); };+ onScroll(); window.addEventListener('scroll', onScroll, { passive: true });+ })();+ // YouTube click-to-load: thumbnail button → youtube-nocookie iframe+ (function () {+ document.addEventListener('click', function (e) {+ var btn = e.target.closest('.yt-load');+ if (!btn) return;+ var box = btn.closest('.yt');+ var id = box && box.getAttribute('data-yt');+ if (!id) return;+ var frame = document.createElement('iframe');+ frame.src = 'https://www.youtube-nocookie.com/embed/' + id + '?autoplay=1';+ frame.title = box.getAttribute('data-title') || 'YouTube video';+ frame.allow = 'accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share';+ frame.setAttribute('allowfullscreen', '');+ box.replaceChildren(frame);+ });+ })();+</script>++</body>+</html>diff --cc docs/blog/feed.xmlindex 9c7f1fd9,3a38c7b9..58fa80a1--- a/docs/blog/feed.xml+++ b/docs/blog/feed.xml@@@ -455,36 -479,12 +487,4 @@@<updated>2026-06-15T00:00:00.000Z</updated><category term="Concepts" /><summary>Why agent roles should be portable: what a hire manifest encodes, how one-click hiring stays safe, and how The Hiring Fair turns tacit setup into a shareable artifact.</summary></entry>-- <entry>-- <title>Deploy a Blog Writer Agent: The One That Wrote This Post</title>-- <link href="https://munderdiffl.in/blog/deploy-a-blog-writer-agent/" />-- <id>https://munderdiffl.in/blog/deploy-a-blog-writer-agent/</id>-- <published>2026-06-10T00:00:00.000Z</published>-- <updated>2026-09-10T00:00:00.000Z</updated><category term="Use Cases" />-- <summary>How the Munder Difflin blog is written by agents in our own office: a brief, a house style, a draft in its own worktree, drawings made in code, a pull request, and one human merge. The pipeline, and how to build your own.</summary>- </entry>- <entry>- <title>Deploy a PR Reviewer That Never Sleeps — In About One Prompt</title>- <link href="https://munderdiffl.in/blog/deploy-automated-pr-reviewer-agent/" />- <id>https://munderdiffl.in/blog/deploy-automated-pr-reviewer-agent/</id>- <published>2026-06-10T00:00:00.000Z</published>- <updated>2026-08-20T00:00:00.000Z</updated><category term="Orchestration" />- <summary>A how-to for standing up a fully automated PR-reviewing agent in Munder Difflin — one that reads your real source (not just the PR description), de-dupes noise, and only escalates what matters. With a real triage run that turned 22 duplicate firings into a clean v0.2.5 patch queue.</summary>- </entry>- <entry>- <title>Run Your AI Agent Hive from Slack: The Complete Setup</title>- <link href="https://munderdiffl.in/blog/run-ai-agent-hive-from-slack-setup/" />- <id>https://munderdiffl.in/blog/run-ai-agent-hive-from-slack-setup/</id>- <published>2026-06-10T00:00:00.000Z</published>- <updated>2026-06-10T00:00:00.000Z</updated><category term="Guides" />- <summary>Step-by-step setup for driving Munder Difflin's AI agent hive from Slack: create the app, set scopes, paste the tunnel Request URL, and @mention your bot to start work — done-summaries post back in-thread.</summary>- </entry>- <entry>- <title>The Clone Army Is a Trap: Why a Mixed Swarm Beats Ten Identical Agents</title>- <link href="https://munderdiffl.in/blog/the-clone-army-trap-mixed-swarm-vs-identical-agents/" />- <id>https://munderdiffl.in/blog/the-clone-army-trap-mixed-swarm-vs-identical-agents/</id>- <published>2026-06-10T00:00:00.000Z</published>- <updated>2026-06-10T00:00:00.000Z</updated><category term="Concepts" />- <summary>Spinning up tens of identical top-tier CLI agents feels powerful and burns tokens on work a cheaper agent could do. A mixed-capability swarm with shared memory wins on cost — and often on quality.</summary>-- </entry></feed>diff --cc docs/blog/how-to-connect-ollama-to-claude-code/index.htmlindex 00000000,ab543d98..2a026e4emode 000000,100644..100644--- a/docs/blog/how-to-connect-ollama-to-claude-code/index.html+++ b/docs/blog/how-to-connect-ollama-to-claude-code/index.html@@@ -1,0 -1,391 +1,391 @@@+ <!doctype html>+ <html lang="en">+ <head>+ <meta charset="UTF-8" />+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />+ <title>How to Connect Ollama to Claude Code — Munder Difflin Blog</title>+ <meta name="description" content="Point Claude Code at Ollama with ollama launch claude or three environment variables, give the model 64K of context, and know what stops working." />+ <link rel="canonical" href="https://munderdiffl.in/blog/how-to-connect-ollama-to-claude-code/" />++ <link rel="icon" type="image/png" href="https://munderdiffl.in/logo.png" />+ <link rel="apple-touch-icon" href="https://munderdiffl.in/logo.png" />+ <meta name="theme-color" content="#F5F2E8" />++ <!-- Open Graph -->+ <meta property="og:site_name" content="Munder Difflin Blog" />+ <meta property="og:type" content="article" />+ <meta property="og:title" content="How to Connect Ollama to Claude Code — Munder Difflin Blog" />+ <meta property="og:description" content="Point Claude Code at Ollama with ollama launch claude or three environment variables, give the model 64K of context, and know what stops working." />+ <meta property="og:url" content="https://munderdiffl.in/blog/how-to-connect-ollama-to-claude-code/" />+ <meta property="og:image" content="https://munderdiffl.in/blog/assets/media/how-to-connect-ollama-to-claude-code/hero.png" />+ <meta property="og:image:width" content="1600" />+ <meta property="og:image:height" content="900" />+ <meta property="og:image:alt" content="Illustration: How to Connect Ollama to Claude Code" />+ <meta property="og:locale" content="en_US" />+ <meta property="article:published_time" content="2026-09-14T00:00:00.000Z" />+ <meta property="article:author" content="Chaitanya Giri" />+ <meta property="article:tag" content="Guides" />+ <meta property="article:tag" content="Claude Code" />+ <meta property="article:tag" content="Ollama" />+ <meta property="article:tag" content="Local-First" />+ <meta property="article:tag" content="Open Source" />+++ <!-- Twitter -->+ <meta name="twitter:card" content="summary_large_image" />+ <meta name="twitter:title" content="How to Connect Ollama to Claude Code — Munder Difflin Blog" />+ <meta name="twitter:description" content="Point Claude Code at Ollama with ollama launch claude or three environment variables, give the model 64K of context, and know what stops working." />+ <meta name="twitter:image" content="https://munderdiffl.in/blog/assets/media/how-to-connect-ollama-to-claude-code/hero.png" />+ <meta name="twitter:image:alt" content="Illustration: How to Connect Ollama to Claude Code" />++ <link rel="alternate" type="application/atom+xml" title="Munder Difflin Blog" href="https://munderdiffl.in/blog/feed.xml" />+ <link rel="preconnect" href="https://fonts.googleapis.com" />+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />+ <link href="https://fonts.googleapis.com/css2?family=Fraunces:opsz,[email protected],500;9..144,600;9..144,700;9..144,900&family=Source+Serif+4:opsz,[email protected],400;8..60,600;8..60,700&family=Space+Grotesk:wght@500;600;700&family=JetBrains+Mono:wght@400;600&display=swap" rel="stylesheet" />+ <link rel="stylesheet" href="/blog/assets/blog-press.css" />++ <script type="application/ld+json">+ {+ "@context": "https://schema.org",+ "@type": "BlogPosting",+ "headline": "How to Connect Ollama to Claude Code",+ "description": "Point Claude Code at Ollama with ollama launch claude or three environment variables, give the model 64K of context, and know what stops working.",+ "image": ["https://munderdiffl.in/blog/assets/media/how-to-connect-ollama-to-claude-code/hero.png"],+ "datePublished": "2026-09-14T00:00:00.000Z",+ "dateModified": "2026-09-14T00:00:00.000Z",+ "author": { "@type": "Person", "name": "Chaitanya Giri" },+ "publisher": {+ "@type": "Organization",+ "name": "Munder Difflin",+ "logo": { "@type": "ImageObject", "url": "https://munderdiffl.in/logo.png" }+ },+ "mainEntityOfPage": { "@type": "WebPage", "@id": "https://munderdiffl.in/blog/how-to-connect-ollama-to-claude-code/" },+ "keywords": "how to connect ollama to claude code, ollama claude code setup, ollama launch claude, can claude code use ollama models, ollama claude code models, is claude code with ollama free, ollama launch claude not working",+ "articleSection": "Guides",+ "inLanguage": "en-US",+ "url": "https://munderdiffl.in/blog/how-to-connect-ollama-to-claude-code/"+ }+ </script>+ <script type="application/ld+json">+ {+ "@context": "https://schema.org",+ "@type": "BreadcrumbList",+ "itemListElement": [+ { "@type": "ListItem", "position": 1, "name": "Home", "item": "https://munderdiffl.in/" },+ { "@type": "ListItem", "position": 2, "name": "Blog", "item": "https://munderdiffl.in/blog/" },+ { "@type": "ListItem", "position": 3, "name": "How to Connect Ollama to Claude Code", "item": "https://munderdiffl.in/blog/how-to-connect-ollama-to-claude-code/" }+ ]+ }+ </script>++ <script type="application/ld+json">+ {+ "@context": "https://schema.org",+ "@type": "FAQPage",+ "mainEntity": [+ { "@type": "Question", "name": "Is Claude Code with Ollama free?", "acceptedAnswer": { "@type": "Answer", "text": "With a local model, yes. Ollama accepts the token without validating it, and while ANTHROPIC_AUTH_TOKEN is set Claude Code does not use your claude.ai subscription, so nothing in that session is billed by Anthropic. You pay in hardware and electricity instead." } },+ { "@type": "Question", "name": "Can I use Ollama cloud models with Claude Code?", "acceptedAnswer": { "@type": "Answer", "text": "Yes, with an ollama.com account: run ollama signin first. Cloud tags such as kimi-k2.7-code:cloud and glm-5.1:cloud need no download and run at full context, but each model's library page lists a per token cost, and your prompts and code are processed on Ollama's servers." } },+ { "@type": "Question", "name": "How do I use Ollama with the Claude Code extension in VS Code?", "acceptedAnswer": { "@type": "Answer", "text": "Put ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN in claudeCode.environmentVariables in your VS Code user settings JSON. Anthropic's gateway docs say the extension checks credentials from that setting before it starts, while values in ~/.claude/settings.json reach the process but not that login check." } },+ { "@type": "Question", "name": "Can Munder Difflin run Claude Code agents on Ollama?", "acceptedAnswer": { "@type": "Answer", "text": "Not as a built in setting in 0.5.2. Its local Ollama model picks are for OpenCode, Crush and Pi agents, and Claude Code agents keep using their own Claude login. You still pull the model yourself. OpenCode and Crush need your Ollama address in Settings, AI Engines, and Pi reads your `~/.pi/agent/models.json`." } },+ { "@type": "Question", "name": "What context length does Claude Code need on Ollama?", "acceptedAnswer": { "@type": "Answer", "text": "Ollama's docs say coding tools should get at least 64,000 tokens, and under 24 GiB of VRAM the default is only 4k. Start the server with OLLAMA_CONTEXT_LENGTH=64000, then set CLAUDE_CODE_MAX_CONTEXT_TOKENS to the same number, because Claude Code otherwise assumes a 200K window for a model it does not recognize." } }++ ]+ }+ </script>+++ <script>+ // Anonymous blog analytics (PostHog) — same posture as the main site and the+ // app's TELEMETRY.md: public write-only token ('' = inert), anonymous-only+ // (person_profiles 'never'), no autocapture/recording, DNT respected.+ (function () {+ var PH_KEY = 'phc_qJzsokwcbtTGHemnvywR3nSqivNNgMjHeNVEWkZNydFB';+ if (!PH_KEY || navigator.doNotTrack === '1') return;+ var s = document.createElement('script');+ s.async = true;+ s.src = 'https://us-assets.i.posthog.com/static/array.js';+ s.onload = function () {+ if (!window.posthog) return;+ window.posthog.init(PH_KEY, {+ api_host: 'https://us.i.posthog.com',+ person_profiles: 'never',+ autocapture: false,+ before_send: function (event) {+ // PostHog fills $ip from the connection unless the event carries one.+ // Null it here and disable the GeoIP lookup so no IP, city, postal+ // code or lat/long is ever derived or stored for this page view.+ if (event && event.properties) {+ event.properties.$ip = null;+ event.properties.$geoip_disable = true;+ }+ return event;+ },+ disable_session_recording: true,+ respect_dnt: true+ });+ };+ document.head.appendChild(s);+ })();+ </script>+ </head>+ <body class="theme-press">+ <a class="skip-link" href="#main">Skip to content</a>+ <nav id="nav">+ <a class="brand" href="https://munderdiffl.in" aria-label="Munder Difflin home">+ <img class="brand-logo" src="https://munderdiffl.in/logo.png" width="1318" height="840" alt="Munder Difflin, Inc. — Multi-Agent Harness" />+ </a>+ <span class="spacer"></span>+ <div class="links">+ <a href="/blog/">Latest</a>+ <a href="/blog/topics/">Topics</a>+ <a href="/blog/about/">About</a>+ <a href="https://munderdiffl.in">↗ Product</a>+ </div>+ <div class="nav-actions">+ <a class="btn sm" href="https://munderdiffl.in/blog/feed.xml" aria-label="RSS feed">⤵ RSS</a>+ <a class="btn sm primary" href="https://munderdiffl.in/#install">⤓ Download</a>+ </div>+ </nav>++ <main id="main">++ <article class="t-guides">+ <header class="post-head wrap">+ <nav class="crumbs" aria-label="Breadcrumb">+ <a href="/blog/">Blog</a>+ <span>/</span>+ <a href="/blog/topics/guides/">Guides</a>+ </nav>+ <h1>How to Connect Ollama to Claude Code</h1>+ <p class="dek">Point Claude Code at Ollama with ollama launch claude or three environment variables, give the model 64K of context, and know what stops working.</p>+ <div class="byline">+ <span class="av" aria-hidden="true">MD</span>+ <strong>Chaitanya Giri</strong>+ <span class="dot" aria-hidden="true">·</span>+ <time datetime="2026-09-14">Sep 14, 2026</time>+ <span class="dot" aria-hidden="true">·</span>+ <span>5 min read</span>+ <span class="tag kind">Guides</span>+ </div>+ </header>++ <div class="hero-wrap wrap"><figure class="fig fig-hero"><img src="/blog/assets/media/how-to-connect-ollama-to-claude-code/hero.png" alt="Illustration: How to Connect Ollama to Claude Code" loading="lazy" decoding="async" /></figure></div>++ <div class="post-wrap wrap">+ <div class="prose">+ <p>Install Ollama 0.15.0 or newer and run <code>ollama launch claude</code>: it asks for a model, configures Claude Code and starts it. By hand, on Ollama 0.14.0 or newer, set <code>ANTHROPIC_BASE_URL=http://localhost:11434</code>, <code>ANTHROPIC_AUTH_TOKEN=ollama</code> and an empty <code>ANTHROPIC_API_KEY</code>, then run <code>claude --model qwen3-coder</code> or another Ollama tag.</p>+ <p>That gives you one Claude Code session on a local model. If you want local models working next to Claude Code rather than instead of it, you can wire each agent by hand, or use <a href="https://harnessmd.com/download">Munder Difflin</a>, a free and open source desktop app that runs a floor of CLI agents on your machine. As of 0.5.2, its Add agent screen lists eight local Ollama models for OpenCode, Crush and Pi agents, alongside Claude Code agents on your normal Claude login. Picking one sets the model name only: you still pull the weights (the tooltip shows the <code>ollama pull</code> command), OpenCode and Crush need your Ollama address in Settings, AI Engines, and Pi agents read your <code>~/.pi/agent/models.json</code>. Claude Code agents get no Ollama setting, so for those, use the steps below.</p>+ <p>If you are here because a Pro or Max plan keeps running dry rather than for privacy, <a href="/blog/claude-code-max-plan-tips/">getting more out of a Claude Code Max plan</a> may fix it without changing models.</p>+ <h2 id="can-claude-code-use-ollama-models" tabindex="-1">Can Claude Code use Ollama models? <a class="anchor" href="#can-claude-code-use-ollama-models" aria-hidden="true">#</a></h2>+ <p>Yes, because Ollama speaks the API Claude Code expects. Ollama 0.14.0, released in January 2026, added the Anthropic Messages endpoint, <code>/v1/messages</code>, and Ollama documents the setup on its <a href="https://docs.ollama.com/integrations/claude-code">Claude Code integration page</a>.</p>+ <p>Anthropic does not back it: its <a href="https://code.claude.com/docs/en/llm-gateway">LLM gateway docs</a> say it “doesn’t support routing Claude Code to non-Claude models through any gateway.”</p>+ <h2 id="what-does-ollama-launch-claude-do" tabindex="-1">What does ollama launch claude do? <a class="anchor" href="#what-does-ollama-launch-claude-do" aria-hidden="true">#</a></h2>+ <p>It does the wiring for you. Added in Ollama 0.15.0, it lets you pick a model, configures Claude Code and starts a session. Per Ollama’s release notes, 0.15.6 made it download missing models and 0.30.11 made it install Claude Code when absent.</p>+ <pre class="language-bash"><code class="language-bash">ollama launch claude <span class="token comment"># choose a model, then start</span>+ ollama launch claude <span class="token parameter variable">--model</span> qwen3-coder <span class="token comment"># name the model up front</span></code></pre>+ <p>For scripts and CI, Ollama 0.18.0 added <code>--yes</code>, which skips every prompt and requires <code>--model</code>.</p>+ <h2 id="how-do-you-connect-claude-code-to-ollama-by-hand" tabindex="-1">How do you connect Claude Code to Ollama by hand? <a class="anchor" href="#how-do-you-connect-claude-code-to-ollama-by-hand" aria-hidden="true">#</a></h2>+ <p>Set three environment variables and name the model. This is the manual route from Ollama’s docs:</p>+ <pre class="language-bash"><code class="language-bash"><span class="token builtin class-name">export</span> <span class="token assign-left variable">ANTHROPIC_BASE_URL</span><span class="token operator">=</span>http://localhost:11434+ <span class="token builtin class-name">export</span> <span class="token assign-left variable">ANTHROPIC_AUTH_TOKEN</span><span class="token operator">=</span>ollama+ <span class="token builtin class-name">export</span> <span class="token assign-left variable">ANTHROPIC_API_KEY</span><span class="token operator">=</span><span class="token string">""</span>+ claude <span class="token parameter variable">--model</span> qwen3-coder</code></pre>+ <p>Each line has a job. <code>ANTHROPIC_BASE_URL</code> replaces Anthropic’s endpoint, with no <code>/v1</code> on the end, unlike the OpenAI compatible URL that OpenCode uses. <code>ANTHROPIC_AUTH_TOKEN</code> becomes the bearer token, which Ollama requires but ignores. The empty <code>ANTHROPIC_API_KEY</code> matters: Claude Code’s environment variable reference says a set key goes out as <code>X-Api-Key</code> and wins over your subscription, so blanking it keeps a real key out of these requests.</p>+ <figure class="fig fig-inline"><img src="/blog/assets/media/how-to-connect-ollama-to-claude-code/note-1.png" alt="Hand-drawn sketch from “How to Connect Ollama to Claude Code”" loading="lazy" decoding="async" /></figure>+ <p>To make it stick, add the exports to your shell profile or the <code>env</code> block of <code>~/.claude/settings.json</code>, with <code>ANTHROPIC_MODEL</code> for the tag. A project’s <code>.claude/settings.local.json</code> works too, but Anthropic’s <a href="https://code.claude.com/docs/en/llm-gateway-connect">gateway connection guide</a> notes that on a fresh install with no Claude login, a project <code>env</code> block applies only after the first run wizard and trust prompt, so use <code>~/.claude/settings.json</code> or a shell export for that first run. The global file has its own catch: every Claude Code session then goes to Ollama.</p>+ <h2 id="what-happens-if-ollama-is-not-running" tabindex="-1">What happens if Ollama is not running? <a class="anchor" href="#what-happens-if-ollama-is-not-running" aria-hidden="true">#</a></h2>+ <p>In our test, Claude Code retried for about three minutes, then failed with a connection error. We ran the manual command as a one shot <code>claude -p "say hi" --model qwen3-coder</code> on 14 Sep 2026, with Claude Code 2.1.270 and nothing listening on port 11434. Trimmed output:</p>+ <pre class="language-text"><code class="language-text">⚠ claude.ai connectors are disabled because ANTHROPIC_API_KEY or another auth source is set and takes precedence over your claude.ai login [...]+ "qwen3-coder" isn't described by this version's model catalog; [...] auto-compact keeps this session within 200k tokens (the context window it assumes); [...] set CLAUDE_CODE_MAX_CONTEXT_TOKENS to its real window+ API Error: Connection refused — a firewall or proxy may be blocking it (ConnectionRefused)</code></pre>+ <p>The error came after 177 seconds and 11 attempts, each listed in the <code>--debug-file</code> log. If Claude Code sits silent, run <code>ollama -v</code> before you wait. The first two lines apply even when Ollama is up: <a href="http://claude.ai">claude.ai</a> connectors switch off, and Claude Code guesses a 200K window for an unknown tag.</p>+ <h2 id="which-ollama-model-works-best-with-claude-code" tabindex="-1">Which Ollama model works best with Claude Code? <a class="anchor" href="#which-ollama-model-works-best-with-claude-code" aria-hidden="true">#</a></h2>+ <p>A coding model with tool calling, served with at least 64K tokens of context. Ollama’s <a href="https://docs.ollama.com/api/anthropic-compatibility">Anthropic compatibility docs</a> recommend <code>qwen3-coder</code> and <code>gpt-oss:20b</code> for local use. On Ollama’s library pages on 14 Sep 2026, <code>qwen3-coder:30b</code> was a 19GB download with a 256K window (Ollama wants 24GB of VRAM for it) and <code>gpt-oss:20b</code> was 14GB with a 128K window. The <a href="/blog/run-munder-difflin-on-open-models/">open models guide</a> sizes other models to your memory.</p>+ <p>The context window is the trap. Ollama’s <a href="https://docs.ollama.com/context-length">context length page</a> sets the default from your VRAM: 4k tokens under 24 GiB, 32k from 24 to 48 GiB, 256k above that. Ollama says coding tools should get at least 64,000, so start the server with <code>OLLAMA_CONTEXT_LENGTH=64000 ollama serve</code> and check the <code>CONTEXT</code> column in <code>ollama ps</code>. Then set <code>CLAUDE_CODE_MAX_CONTEXT_TOKENS=64000</code>; Claude Code’s model docs say it then compacts at that window for an unrecognized tag.</p>+ <figure class="fig fig-inline"><img src="/blog/assets/media/how-to-connect-ollama-to-claude-code/note-2.png" alt="Hand-drawn sketch from “How to Connect Ollama to Claude Code”" loading="lazy" decoding="async" /></figure>+ <p>Cloud tags such as <code>kimi-k2.7-code:cloud</code> and <code>glm-5.1:cloud</code> skip both limits: no download, full context. They need an <a href="http://ollama.com">ollama.com</a> account (<code>ollama signin</code>), their library pages list a per token cost, and your code leaves the machine.</p>+ <h2 id="what-breaks-when-claude-code-runs-on-ollama" tabindex="-1">What breaks when Claude Code runs on Ollama? <a class="anchor" href="#what-breaks-when-claude-code-runs-on-ollama" aria-hidden="true">#</a></h2>+ <p>Mostly the features that assume Anthropic’s servers:</p>+ <ul>+ <li><strong>Prompt caching.</strong> Ollama does not support <code>cache_control</code> blocks.</li>+ <li><strong>Token counts.</strong> No <code>/v1/messages/count_tokens</code>, and Ollama’s counts are approximations.</li>+ <li><strong>Forced tool use.</strong> No <code>tool_choice</code>, and tool calling only works on models built for it.</li>+ <li><strong>Remote Control and MCP tool search.</strong> Both are off when the base URL is not Anthropic’s; our debug log showed the tool search line.</li>+ <li><strong>Your plan.</strong> With the token variable set, your <a href="http://claude.ai">claude.ai</a> subscription is not used, so that session never touches its limits. For plan prices, see <a href="/blog/how-much-does-claude-code-cost/">how much Claude Code costs</a>.</li>+ </ul>+ <p>A 30B model on your desk is a keen junior, not a staff engineer: give it scoped tasks, and keep big refactors for a bigger model.</p>+ <h2 id="why-is-ollama-launch-claude-not-working" tabindex="-1">Why is ollama launch claude not working? <a class="anchor" href="#why-is-ollama-launch-claude-not-working" aria-hidden="true">#</a></h2>+ <p>Most failures come down to four checks.</p>+ <ol>+ <li><strong>Old Ollama.</strong> <code>ollama -v</code> must show 0.15.0 or newer for <code>launch</code>. Pulling missing models needs 0.15.6, <code>--yes</code> needs 0.18.0, and installing Claude Code needs 0.30.11.</li>+ <li><strong>No Claude Code on older Ollama.</strong> Install it with <code>curl -fsSL https://claude.ai/install.sh | bash</code> on macOS or Linux, or <code>irm https://claude.ai/install.ps1 | iex</code> in Windows PowerShell.</li>+ <li><strong>Nothing answering.</strong> Ollama is probably not running (see the output above), or the base URL has a stray <code>/v1</code>. If Ollama answers with a model error instead, you skipped <code>ollama pull qwen3-coder</code> on the manual route.</li>+ <li><strong>Login screen instead of a session.</strong> Claude Code found no credential before setup. Put <code>ANTHROPIC_AUTH_TOKEN</code> in a shell export or <code>~/.claude/settings.json</code>, not only in a project settings file.</li>+ </ol>++++ <section class="faq" aria-label="Frequently asked questions">+ <h2 id="faq">FAQ</h2>++ <div class="qa">+ <p class="q">Is Claude Code with Ollama free?</p>+ <p class="a">With a local model, yes. Ollama accepts the token without validating it, and while ANTHROPIC_AUTH_TOKEN is set Claude Code does not use your claude.ai subscription, so nothing in that session is billed by Anthropic. You pay in hardware and electricity instead.</p>+ </div>++ <div class="qa">+ <p class="q">Can I use Ollama cloud models with Claude Code?</p>+ <p class="a">Yes, with an ollama.com account: run ollama signin first. Cloud tags such as kimi-k2.7-code:cloud and glm-5.1:cloud need no download and run at full context, but each model's library page lists a per token cost, and your prompts and code are processed on Ollama's servers.</p>+ </div>++ <div class="qa">+ <p class="q">How do I use Ollama with the Claude Code extension in VS Code?</p>+ <p class="a">Put ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN in claudeCode.environmentVariables in your VS Code user settings JSON. Anthropic's gateway docs say the extension checks credentials from that setting before it starts, while values in ~/.claude/settings.json reach the process but not that login check.</p>+ </div>++ <div class="qa">+ <p class="q">Can Munder Difflin run Claude Code agents on Ollama?</p>+ <p class="a">Not as a built in setting in 0.5.2. Its local Ollama model picks are for OpenCode, Crush and Pi agents, and Claude Code agents keep using their own Claude login. You still pull the model yourself. OpenCode and Crush need your Ollama address in Settings, AI Engines, and Pi reads your `~/.pi/agent/models.json`.</p>+ </div>++ <div class="qa">+ <p class="q">What context length does Claude Code need on Ollama?</p>+ <p class="a">Ollama's docs say coding tools should get at least 64,000 tokens, and under 24 GiB of VRAM the default is only 4k. Start the server with OLLAMA_CONTEXT_LENGTH=64000, then set CLAUDE_CODE_MAX_CONTEXT_TOKENS to the same number, because Claude Code otherwise assumes a 200K window for a model it does not recognize.</p>+ </div>++ </section>++++ <hr />+ <div class="share">+ <span class="lbl">Tags</span>+ <a class="tag" href="/blog/tags/guides/">Guides</a><a class="tag" href="/blog/tags/claude-code/">Claude Code</a><a class="tag" href="/blog/tags/ollama/">Ollama</a><a class="tag" href="/blog/tags/local-first/">Local-First</a><a class="tag" href="/blog/tags/open-source/">Open Source</a>+ </div>++ </div>+++ <aside class="toc-rail" aria-label="Table of contents">+ <div class="tt">On this page</div>+ <ol>+ <li class="lvl-2"><a href="#can-claude-code-use-ollama-models">Can Claude Code use Ollama models?</a></li><li class="lvl-2"><a href="#what-does-ollama-launch-claude-do">What does ollama launch claude do?</a></li><li class="lvl-2"><a href="#how-do-you-connect-claude-code-to-ollama-by-hand">How do you connect Claude Code to Ollama by hand?</a></li><li class="lvl-2"><a href="#what-happens-if-ollama-is-not-running">What happens if Ollama is not running?</a></li><li class="lvl-2"><a href="#which-ollama-model-works-best-with-claude-code">Which Ollama model works best with Claude Code?</a></li><li class="lvl-2"><a href="#what-breaks-when-claude-code-runs-on-ollama">What breaks when Claude Code runs on Ollama?</a></li><li class="lvl-2"><a href="#why-is-ollama-launch-claude-not-working">Why is ollama launch claude not working?</a></li>+ </ol>+ </aside>++ </div>++ <footer class="post-foot wrap"><div class="prevnext">+ <a class="pn prev" href="/blog/how-to-install-codex-cli/"><span class="k">← Older</span><span class="t">How to Install Codex CLI on Mac, Windows and Linux</span></a>+ <a class="pn next" href="/blog/herdr-alternatives/"><span class="k">Newer →</span><span class="t">Herdr Alternatives: What to Pick and Who Each One Fits</span></a>+ </div>+ <section class="related">+ <h2>Related in Guides</h2>+ <div class="post-grid">+ <article class="card t-guides">+ <a class="thumb t-guides" href="/blog/claude-code-max-plan-tips/" aria-hidden="true" tabindex="-1"><img src="/blog/assets/media/claude-code-max-plan-tips/hero.png" alt="" loading="lazy" decoding="async" /></a>+ <div class="body">+ <div class="meta">+ <time datetime="2026-09-14">Sep 14, 2026</time>+ <span class="dot" aria-hidden="true"></span>+ <span>5 min</span><span class="pin">Pinned</span>+ </div>+ <h3><a href="/blog/claude-code-max-plan-tips/">How to Get the Most Out of Your Claude Code Max Plan</a></h3>+ <p class="dek">Stretch a Claude Code Max plan: model choice, context hygiene, prompt caching, subagents and unattended runs, checked against Anthropic's own pages.</p>+ <div class="foot">+ <span class="tag kind">Guides</span>+ <a class="more" href="/blog/claude-code-max-plan-tips/" aria-label="Read: How to Get the Most Out of Your Claude Code Max Plan">Read →</a>+ </div>+ </div>+ </article>+ <article class="card t-guides">+ <a class="thumb t-guides" href="/blog/codex-max-plan-tips/" aria-hidden="true" tabindex="-1"><img src="/blog/assets/media/codex-max-plan-tips/hero.png" alt="" loading="lazy" decoding="async" /></a>+ <div class="body">+ <div class="meta">+ <time datetime="2026-09-14">Sep 14, 2026</time>+ <span class="dot" aria-hidden="true"></span>+ <span>5 min</span><span class="pin">Pinned</span>+ </div>+ <h3><a href="/blog/codex-max-plan-tips/">How to Make the Most of Your Codex Max Plan</a></h3>+ <p class="dek">There is no Codex Max plan. What ChatGPT Pro 5x and 20x give you in Codex, how the weekly limit works, and how to stretch it.</p>+ <div class="foot">+ <span class="tag kind">Guides</span>+ <a class="more" href="/blog/codex-max-plan-tips/" aria-label="Read: How to Make the Most of Your Codex Max Plan">Read →</a>+ </div>+ </div>+ </article>+ <article class="card t-guides">- <a class="thumb t-guides" href="/blog/how-to-install-codex-cli/" aria-hidden="true" tabindex="-1"><img src="/blog/assets/media/how-to-install-codex-cli/hero.png" alt="" loading="lazy" decoding="async" /></a>++ <a class="thumb t-guides" href="/blog/connect-slack-to-munder-difflin/" aria-hidden="true" tabindex="-1"><img src="/blog/assets/media/connect-slack-to-munder-difflin/hero.png" alt="" loading="lazy" decoding="async" /></a>+ <div class="body">+ <div class="meta">+ <time datetime="2026-09-14">Sep 14, 2026</time>+ <span class="dot" aria-hidden="true"></span>- <span>4 min</span>++ <span>5 min</span>+ </div>- <h3><a href="/blog/how-to-install-codex-cli/">How to Install Codex CLI on Mac, Windows and Linux</a></h3>- <p class="dek">Install OpenAI's Codex CLI with the official script, npm or Homebrew, sign in with ChatGPT or an API key, then update it and check your version.</p>++ <h3><a href="/blog/connect-slack-to-munder-difflin/">How to Connect Slack to Munder Difflin 0.5.2</a></h3>++ <p class="dek">Connect Slack to Munder Difflin 0.5.2: create the Slack app, add the bot scopes, pick one of three connection modes, and get answers in the thread.</p>+ <div class="foot">+ <span class="tag kind">Guides</span>- <a class="more" href="/blog/how-to-install-codex-cli/" aria-label="Read: How to Install Codex CLI on Mac, Windows and Linux">Read →</a>++ <a class="more" href="/blog/connect-slack-to-munder-difflin/" aria-label="Read: How to Connect Slack to Munder Difflin 0.5.2">Read →</a>+ </div>+ </div>+ </article>++ </div>+ </section>++ </footer>+ </article>++ </main>+ <footer class="site-foot">+ <div class="wrap">+ <div class="foot-top">+ <a class="foot-brand brand" href="https://munderdiffl.in" aria-label="Munder Difflin home">+ <img class="brand-logo" src="https://munderdiffl.in/logo.png" width="1318" height="840" alt="Munder Difflin, Inc. — Multi-Agent Harness" />+ </a>+ <div class="foot-links">+ <a href="/blog/">Latest</a>+ <a href="/blog/topics/">Topics</a>+ <a href="/blog/about/">About</a>+ <a href="https://munderdiffl.in/blog/feed.xml">RSS</a>+ <a href="https://github.com/chaitanyagiri/munder-difflin">GitHub</a>+ <a href="https://munderdiffl.in">munderdiffl.in ↗</a>+ </div>+ </div>+ <div class="foot-meta">+ © 2026 Munder Difflin · Local-first · MIT-licensed ·+ Built on <a href="https://munderdiffl.in">Electron, React, Pixi.js, xterm.js & node-pty</a>.+ Run an office of agents while you sleep.+ </div>+ </div>+ </footer>++ <script>+ // sticky-nav border on scroll+ (function () {+ var nav = document.getElementById('nav');+ if (!nav) return;+ var onScroll = function () { nav.classList.toggle('scrolled', window.scrollY > 8); };+ onScroll(); window.addEventListener('scroll', onScroll, { passive: true });+ })();+ // YouTube click-to-load: thumbnail button → youtube-nocookie iframe+ (function () {+ document.addEventListener('click', function (e) {+ var btn = e.target.closest('.yt-load');+ if (!btn) return;+ var box = btn.closest('.yt');+ var id = box && box.getAttribute('data-yt');+ if (!id) return;+ var frame = document.createElement('iframe');+ frame.src = 'https://www.youtube-nocookie.com/embed/' + id + '?autoplay=1';+ frame.title = box.getAttribute('data-title') || 'YouTube video';+ frame.allow = 'accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share';+ frame.setAttribute('allowfullscreen', '');+ box.replaceChildren(frame);+ });+ })();+ </script>++ </body>+ </html>diff --cc docs/blog/index.htmlindex 7c4dadef,23225382..0cd27ad2--- a/docs/blog/index.html+++ b/docs/blog/index.html@@@ -117,13 -117,13 +117,13 @@@building a self-coordinating hive of agents with a GOD orchestrator you talk to.</p><div class="filters" role="navigation" aria-label="Topics">- <a class="chip" aria-current="page">All<span class="ct">147</span></a>- <a class="chip" aria-current="page">All<span class="ct">150</span></a>++ <a class="chip" aria-current="page">All<span class="ct">151</span></a>-- <a class="chip" href="/blog/topics/guides/">guides<span class="ct">41</span></a>++ <a class="chip" href="/blog/topics/guides/">guides<span class="ct">42</span></a>- <a class="chip" href="/blog/topics/concepts/">concepts<span class="ct">24</span></a>+ <a class="chip" href="/blog/topics/concepts/">concepts<span class="ct">26</span></a>- <a class="chip" href="/blog/topics/comparisons/">comparisons<span class="ct">22</span></a>+ <a class="chip" href="/blog/topics/comparisons/">comparisons<span class="ct">23</span></a><a class="chip" href="/blog/topics/internals/">internals<span class="ct">19</span></a>@@@ -267,22 -267,38 +267,54 @@@<section class="wrap"><div class="post-grid">- <article class="card t-guides">+ <article class="card t-comparisons">+ <a class="thumb t-comparisons" href="/blog/claude-code-vs-cursor/" aria-hidden="true" tabindex="-1"><img src="/blog/assets/media/claude-code-vs-cursor/hero.png" alt="" loading="lazy" decoding="async" /></a>+ <div class="body">+ <div class="meta">+ <time datetime="2026-09-14">Sep 14, 2026</time>+ <span class="dot" aria-hidden="true"></span>+ <span>5 min</span>+ </div>+ <h3><a href="/blog/claude-code-vs-cursor/">Claude Code vs Cursor: Which Is Better in 2026?</a></h3>+ <p class="dek">Claude Code vs Cursor, checked 14 Sep 2026: where each runs, models, plans, the new Claude Code weekly limits, parallel agents and using both.</p>+ <div class="foot">+ <span class="tag kind">Comparisons</span>+ <a class="more" href="/blog/claude-code-vs-cursor/" aria-label="Read: Claude Code vs Cursor: Which Is Better in 2026?">Read →</a>+ </div>+ </div>+ </article>++<article class="card t-guides">+ <a class="thumb t-guides" href="/blog/connect-slack-to-munder-difflin/" aria-hidden="true" tabindex="-1"><img src="/blog/assets/media/connect-slack-to-munder-difflin/hero.png" alt="" loading="lazy" decoding="async" /></a>+ <div class="body">+ <div class="meta">+ <time datetime="2026-09-14">Sep 14, 2026</time>+ <span class="dot" aria-hidden="true"></span>+ <span>5 min</span>+ </div>+ <h3><a href="/blog/connect-slack-to-munder-difflin/">How to Connect Slack to Munder Difflin 0.5.2</a></h3>+ <p class="dek">Connect Slack to Munder Difflin 0.5.2: create the Slack app, add the bot scopes, pick one of three connection modes, and get answers in the thread.</p>+ <div class="foot">+ <span class="tag kind">Guides</span>+ <a class="more" href="/blog/connect-slack-to-munder-difflin/" aria-label="Read: How to Connect Slack to Munder Difflin 0.5.2">Read →</a>+ </div>+ </div>+</article>+ <article class="card t-guides">+ <a class="thumb t-guides" href="/blog/how-to-connect-ollama-to-claude-code/" aria-hidden="true" tabindex="-1"><img src="/blog/assets/media/how-to-connect-ollama-to-claude-code/hero.png" alt="" loading="lazy" decoding="async" /></a>+ <div class="body">+ <div class="meta">+ <time datetime="2026-09-14">Sep 14, 2026</time>+ <span class="dot" aria-hidden="true"></span>+ <span>5 min</span>+ </div>+ <h3><a href="/blog/how-to-connect-ollama-to-claude-code/">How to Connect Ollama to Claude Code</a></h3>+ <p class="dek">Point Claude Code at Ollama with ollama launch claude or three environment variables, give the model 64K of context, and know what stops working.</p>+ <div class="foot">+ <span class="tag kind">Guides</span>+ <a class="more" href="/blog/how-to-connect-ollama-to-claude-code/" aria-label="Read: How to Connect Ollama to Claude Code">Read →</a>+ </div>+ </div>+ </article><article class="card t-guides"><a class="thumb t-guides" href="/blog/how-to-install-codex-cli/" aria-hidden="true" tabindex="-1"><img src="/blog/assets/media/how-to-install-codex-cli/hero.png" alt="" loading="lazy" decoding="async" /></a><div class="body">diff --cc docs/blog/tags/guides/index.htmlindex bd9137cc,8461504b..112619ca--- a/docs/blog/tags/guides/index.html+++ b/docs/blog/tags/guides/index.html@@@ -90,7 -90,7 +90,7 @@@<header class="page-head wrap"><p class="eyebrow">Tag</p><h1>#Guides</h1>-- <p class="lead">30 posts tagged <strong>Guides</strong>.</p>++ <p class="lead">31 posts tagged <strong>Guides</strong>.</p></header><section class="wrap"><div class="post-grid">@@@ -126,22 -126,22 +126,38 @@@</div></div></article>+<article class="card t-guides">+ <a class="thumb t-guides" href="/blog/connect-slack-to-munder-difflin/" aria-hidden="true" tabindex="-1"><img src="/blog/assets/media/connect-slack-to-munder-difflin/hero.png" alt="" loading="lazy" decoding="async" /></a>+ <div class="body">+ <div class="meta">+ <time datetime="2026-09-14">Sep 14, 2026</time>+ <span class="dot" aria-hidden="true"></span>+ <span>5 min</span>+ </div>+ <h3><a href="/blog/connect-slack-to-munder-difflin/">How to Connect Slack to Munder Difflin 0.5.2</a></h3>+ <p class="dek">Connect Slack to Munder Difflin 0.5.2: create the Slack app, add the bot scopes, pick one of three connection modes, and get answers in the thread.</p>+ <div class="foot">+ <span class="tag kind">Guides</span>+ <a class="more" href="/blog/connect-slack-to-munder-difflin/" aria-label="Read: How to Connect Slack to Munder Difflin 0.5.2">Read →</a>+ </div>+ </div>+</article>+ <article class="card t-guides">+ <a class="thumb t-guides" href="/blog/how-to-connect-ollama-to-claude-code/" aria-hidden="true" tabindex="-1"><img src="/blog/assets/media/how-to-connect-ollama-to-claude-code/hero.png" alt="" loading="lazy" decoding="async" /></a>+ <div class="body">+ <div class="meta">+ <time datetime="2026-09-14">Sep 14, 2026</time>+ <span class="dot" aria-hidden="true"></span>+ <span>5 min</span>+ </div>+ <h3><a href="/blog/how-to-connect-ollama-to-claude-code/">How to Connect Ollama to Claude Code</a></h3>+ <p class="dek">Point Claude Code at Ollama with ollama launch claude or three environment variables, give the model 64K of context, and know what stops working.</p>+ <div class="foot">+ <span class="tag kind">Guides</span>+ <a class="more" href="/blog/how-to-connect-ollama-to-claude-code/" aria-label="Read: How to Connect Ollama to Claude Code">Read →</a>+ </div>+ </div>+ </article><article class="card t-guides"><a class="thumb t-guides" href="/blog/how-to-install-codex-cli/" aria-hidden="true" tabindex="-1"><img src="/blog/assets/media/how-to-install-codex-cli/hero.png" alt="" loading="lazy" decoding="async" /></a><div class="body">diff --cc docs/blog/topics/comparisons/index.htmlindex ecab19f9,b1d8eab1..5208dcdb--- a/docs/blog/topics/comparisons/index.html+++ b/docs/blog/topics/comparisons/index.html@@@ -99,11 -99,11 +99,11 @@@<div class="filters" role="navigation" aria-label="Topics"><a class="chip" href="/blog/">All</a>-- <a class="chip" href="/blog/topics/guides/">guides<span class="ct">41</span></a>++ <a class="chip" href="/blog/topics/guides/">guides<span class="ct">42</span></a>- <a class="chip" href="/blog/topics/concepts/">concepts<span class="ct">24</span></a>+ <a class="chip" href="/blog/topics/concepts/">concepts<span class="ct">26</span></a>- <a class="chip" href="/blog/topics/comparisons/" aria-current="page">comparisons<span class="ct">22</span></a>+ <a class="chip" href="/blog/topics/comparisons/" aria-current="page">comparisons<span class="ct">23</span></a><a class="chip" href="/blog/topics/internals/">internals<span class="ct">19</span></a>diff --cc docs/blog/topics/concepts/index.htmlindex 38c50f77,fdd5efac..373afee5--- a/docs/blog/topics/concepts/index.html+++ b/docs/blog/topics/concepts/index.html@@@ -99,11 -99,11 +99,11 @@@<div class="filters" role="navigation" aria-label="Topics"><a class="chip" href="/blog/">All</a>-- <a class="chip" href="/blog/topics/guides/">guides<span class="ct">41</span></a>++ <a class="chip" href="/blog/topics/guides/">guides<span class="ct">42</span></a>- <a class="chip" href="/blog/topics/concepts/" aria-current="page">concepts<span class="ct">24</span></a>+ <a class="chip" href="/blog/topics/concepts/" aria-current="page">concepts<span class="ct">26</span></a>- <a class="chip" href="/blog/topics/comparisons/">comparisons<span class="ct">22</span></a>+ <a class="chip" href="/blog/topics/comparisons/">comparisons<span class="ct">23</span></a><a class="chip" href="/blog/topics/internals/">internals<span class="ct">19</span></a>diff --cc docs/blog/topics/guides/index.htmlindex 24b3e98b,69832778..eb0b494d--- a/docs/blog/topics/guides/index.html+++ b/docs/blog/topics/guides/index.html@@@ -99,11 -99,11 +99,11 @@@<div class="filters" role="navigation" aria-label="Topics"><a class="chip" href="/blog/">All</a>-- <a class="chip" href="/blog/topics/guides/" aria-current="page">guides<span class="ct">41</span></a>++ <a class="chip" href="/blog/topics/guides/" aria-current="page">guides<span class="ct">42</span></a>- <a class="chip" href="/blog/topics/concepts/">concepts<span class="ct">24</span></a>+ <a class="chip" href="/blog/topics/concepts/">concepts<span class="ct">26</span></a>- <a class="chip" href="/blog/topics/comparisons/">comparisons<span class="ct">22</span></a>+ <a class="chip" href="/blog/topics/comparisons/">comparisons<span class="ct">23</span></a><a class="chip" href="/blog/topics/internals/">internals<span class="ct">19</span></a>@@@ -168,22 -168,22 +168,38 @@@</div></div></article>+<article class="card t-guides">+ <a class="thumb t-guides" href="/blog/connect-slack-to-munder-difflin/" aria-hidden="true" tabindex="-1"><img src="/blog/assets/media/connect-slack-to-munder-difflin/hero.png" alt="" loading="lazy" decoding="async" /></a>+ <div class="body">+ <div class="meta">+ <time datetime="2026-09-14">Sep 14, 2026</time>+ <span class="dot" aria-hidden="true"></span>+ <span>5 min</span>+ </div>+ <h3><a href="/blog/connect-slack-to-munder-difflin/">How to Connect Slack to Munder Difflin 0.5.2</a></h3>+ <p class="dek">Connect Slack to Munder Difflin 0.5.2: create the Slack app, add the bot scopes, pick one of three connection modes, and get answers in the thread.</p>+ <div class="foot">+ <span class="tag kind">Guides</span>+ <a class="more" href="/blog/connect-slack-to-munder-difflin/" aria-label="Read: How to Connect Slack to Munder Difflin 0.5.2">Read →</a>+ </div>+ </div>+</article>+ <article class="card t-guides">+ <a class="thumb t-guides" href="/blog/how-to-connect-ollama-to-claude-code/" aria-hidden="true" tabindex="-1"><img src="/blog/assets/media/how-to-connect-ollama-to-claude-code/hero.png" alt="" loading="lazy" decoding="async" /></a>+ <div class="body">+ <div class="meta">+ <time datetime="2026-09-14">Sep 14, 2026</time>+ <span class="dot" aria-hidden="true"></span>+ <span>5 min</span>+ </div>+ <h3><a href="/blog/how-to-connect-ollama-to-claude-code/">How to Connect Ollama to Claude Code</a></h3>+ <p class="dek">Point Claude Code at Ollama with ollama launch claude or three environment variables, give the model 64K of context, and know what stops working.</p>+ <div class="foot">+ <span class="tag kind">Guides</span>+ <a class="more" href="/blog/how-to-connect-ollama-to-claude-code/" aria-label="Read: How to Connect Ollama to Claude Code">Read →</a>+ </div>+ </div>+ </article><article class="card t-guides"><a class="thumb t-guides" href="/blog/how-to-install-codex-cli/" aria-hidden="true" tabindex="-1"><img src="/blog/assets/media/how-to-install-codex-cli/hero.png" alt="" loading="lazy" decoding="async" /></a><div class="body">diff --cc docs/blog/topics/index.htmlindex 7771b805,63b2ab63..10ee44f8--- a/docs/blog/topics/index.html+++ b/docs/blog/topics/index.html@@@ -102,7 -102,7 +102,7 @@@<span class="thumb t-guides" aria-hidden="true">GUIDES</span><div class="body"><h3 style="color:var(--ink)">guides</h3>-- <p class="dek">41 posts.</p>++ <p class="dek">42 posts.</p><div class="foot"><span class="more">View topic →</span></div></div></a>@@@ -178,27 -178,29 +178,29 @@@<a class="chip" href="/blog/tags/multi-agent/">Multi-Agent<span class="ct">88</span></a>- <a class="chip" href="/blog/tags/claude-code/">Claude Code<span class="ct">55</span></a>+ <a class="chip" href="/blog/tags/claude-code/">Claude Code<span class="ct">59</span></a>-- <a class="chip" href="/blog/tags/guides/">Guides<span class="ct">30</span></a>++ <a class="chip" href="/blog/tags/guides/">Guides<span class="ct">31</span></a>- <a class="chip" href="/blog/tags/internals/">Internals<span class="ct">26</span></a>+ <a class="chip" href="/blog/tags/open-source/">Open Source<span class="ct">28</span></a>- <a class="chip" href="/blog/tags/open-source/">Open Source<span class="ct">26</span></a>+ <a class="chip" href="/blog/tags/internals/">Internals<span class="ct">26</span></a>- <a class="chip" href="/blog/tags/comparisons/">Comparisons<span class="ct">22</span></a>+ <a class="chip" href="/blog/tags/concepts/">Concepts<span class="ct">23</span></a>- <a class="chip" href="/blog/tags/concepts/">Concepts<span class="ct">21</span></a>+ <a class="chip" href="/blog/tags/comparisons/">Comparisons<span class="ct">23</span></a><a class="chip" href="/blog/tags/orchestration/">Orchestration<span class="ct">19</span></a><a class="chip" href="/blog/tags/story/">Story<span class="ct">19</span></a>- <a class="chip" href="/blog/tags/getting-started/">Getting Started<span class="ct">15</span></a>+ <a class="chip" href="/blog/tags/getting-started/">Getting Started<span class="ct">16</span></a>+ <a class="chip" href="/blog/tags/local-first/">Local-First<span class="ct">15</span></a>+<a class="chip" href="/blog/tags/release/">Release<span class="ct">15</span></a>- <a class="chip" href="/blog/tags/local-first/">Local-First<span class="ct">14</span></a>+ <a class="chip" href="/blog/tags/cost/">Cost<span class="ct">14</span></a><a class="chip" href="/blog/tags/tools/">Tools<span class="ct">12</span></a>diff --cc docs/blog/topics/internals/index.htmlindex 6db38071,fedb7fd6..6589452b--- a/docs/blog/topics/internals/index.html+++ b/docs/blog/topics/internals/index.html@@@ -99,11 -99,11 +99,11 @@@<div class="filters" role="navigation" aria-label="Topics"><a class="chip" href="/blog/">All</a>-- <a class="chip" href="/blog/topics/guides/">guides<span class="ct">41</span></a>++ <a class="chip" href="/blog/topics/guides/">guides<span class="ct">42</span></a>- <a class="chip" href="/blog/topics/concepts/">concepts<span class="ct">24</span></a>+ <a class="chip" href="/blog/topics/concepts/">concepts<span class="ct">26</span></a>- <a class="chip" href="/blog/topics/comparisons/">comparisons<span class="ct">22</span></a>+ <a class="chip" href="/blog/topics/comparisons/">comparisons<span class="ct">23</span></a><a class="chip" href="/blog/topics/internals/" aria-current="page">internals<span class="ct">19</span></a>diff --cc docs/blog/topics/memory/index.htmlindex 8a7cb8f8,c2647e94..0e56fda2--- a/docs/blog/topics/memory/index.html+++ b/docs/blog/topics/memory/index.html@@@ -99,11 -99,11 +99,11 @@@<div class="filters" role="navigation" aria-label="Topics"><a class="chip" href="/blog/">All</a>-- <a class="chip" href="/blog/topics/guides/">guides<span class="ct">41</span></a>++ <a class="chip" href="/blog/topics/guides/">guides<span class="ct">42</span></a>- <a class="chip" href="/blog/topics/concepts/">concepts<span class="ct">24</span></a>+ <a class="chip" href="/blog/topics/concepts/">concepts<span class="ct">26</span></a>- <a class="chip" href="/blog/topics/comparisons/">comparisons<span class="ct">22</span></a>+ <a class="chip" href="/blog/topics/comparisons/">comparisons<span class="ct">23</span></a><a class="chip" href="/blog/topics/internals/">internals<span class="ct">19</span></a>diff --cc docs/blog/topics/orchestration/index.htmlindex 90a059a5,774cc21c..f79d6a59--- a/docs/blog/topics/orchestration/index.html+++ b/docs/blog/topics/orchestration/index.html@@@ -99,11 -99,11 +99,11 @@@<div class="filters" role="navigation" aria-label="Topics"><a class="chip" href="/blog/">All</a>-- <a class="chip" href="/blog/topics/guides/">guides<span class="ct">41</span></a>++ <a class="chip" href="/blog/topics/guides/">guides<span class="ct">42</span></a>- <a class="chip" href="/blog/topics/concepts/">concepts<span class="ct">24</span></a>+ <a class="chip" href="/blog/topics/concepts/">concepts<span class="ct">26</span></a>- <a class="chip" href="/blog/topics/comparisons/">comparisons<span class="ct">22</span></a>+ <a class="chip" href="/blog/topics/comparisons/">comparisons<span class="ct">23</span></a><a class="chip" href="/blog/topics/internals/">internals<span class="ct">19</span></a>diff --cc docs/blog/topics/story/index.htmlindex 92ec4aae,ea2c4875..47f3507b--- a/docs/blog/topics/story/index.html+++ b/docs/blog/topics/story/index.html@@@ -99,11 -99,11 +99,11 @@@<div class="filters" role="navigation" aria-label="Topics"><a class="chip" href="/blog/">All</a>-- <a class="chip" href="/blog/topics/guides/">guides<span class="ct">41</span></a>++ <a class="chip" href="/blog/topics/guides/">guides<span class="ct">42</span></a>- <a class="chip" href="/blog/topics/concepts/">concepts<span class="ct">24</span></a>+ <a class="chip" href="/blog/topics/concepts/">concepts<span class="ct">26</span></a>- <a class="chip" href="/blog/topics/comparisons/">comparisons<span class="ct">22</span></a>+ <a class="chip" href="/blog/topics/comparisons/">comparisons<span class="ct">23</span></a><a class="chip" href="/blog/topics/internals/">internals<span class="ct">19</span></a>diff --cc docs/blog/topics/use-cases/index.htmlindex 10d450de,367f1672..66bae664--- a/docs/blog/topics/use-cases/index.html+++ b/docs/blog/topics/use-cases/index.html@@@ -99,11 -99,11 +99,11 @@@<div class="filters" role="navigation" aria-label="Topics"><a class="chip" href="/blog/">All</a>-- <a class="chip" href="/blog/topics/guides/">guides<span class="ct">41</span></a>++ <a class="chip" href="/blog/topics/guides/">guides<span class="ct">42</span></a>- <a class="chip" href="/blog/topics/concepts/">concepts<span class="ct">24</span></a>+ <a class="chip" href="/blog/topics/concepts/">concepts<span class="ct">26</span></a>- <a class="chip" href="/blog/topics/comparisons/">comparisons<span class="ct">22</span></a>+ <a class="chip" href="/blog/topics/comparisons/">comparisons<span class="ct">23</span></a><a class="chip" href="/blog/topics/internals/">internals<span class="ct">19</span></a>