<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Taylor Wilsdon on Medium]]></title>
        <description><![CDATA[Stories by Taylor Wilsdon on Medium]]></description>
        <link>https://medium.com/@taylorwilsdon?source=rss-c374ba0543a6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*2vTM233FV7YLdlBv2Ybg3Q.jpeg</url>
            <title>Stories by Taylor Wilsdon on Medium</title>
            <link>https://medium.com/@taylorwilsdon?source=rss-c374ba0543a6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 20:15:56 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@taylorwilsdon/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Google Workspace MCP Step by Step: How to let your AI client or agent do your job for you]]></title>
            <link>https://taylorwilsdon.medium.com/google-workspace-mcp-step-by-step-how-to-let-your-ai-client-or-agent-do-your-job-for-you-7b66170893b1?source=rss-c374ba0543a6------2</link>
            <guid isPermaLink="false">https://medium.com/p/7b66170893b1</guid>
            <category><![CDATA[claude]]></category>
            <category><![CDATA[mcp-server]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[google-workspace]]></category>
            <dc:creator><![CDATA[Taylor Wilsdon]]></dc:creator>
            <pubDate>Wed, 23 Sep 2026 20:12:49 GMT</pubDate>
            <atom:updated>2026-09-23T20:13:56.650Z</atom:updated>
            <content:encoded><![CDATA[<h3>Google Workspace MCP Step by Step: How to let your AI client or agent do your job for you -<strong> fully controlling Gmail, Drive, Docs, Forms, Sheets, Slides, Calendar and beyond</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_GPqu-gtac78w9KQhA3gjA.png" /><figcaption>Google Workspace MCP End-to-End Guide</figcaption></figure><p>Most “connect your AI to Google” tutorials stop somewhere around reading email, and the built-in Google connections offered by Claude and ChatGPT sound great at first but are fundamentally limited to only the most basic tasks. Being able to search the inbox, summarize a thread, read a drive file is really just a demo, not real agentic capability.</p><p>An agent that can do the type of work a human does all day in Google Workspace needs to draft and send the reply, file the attachment into the right Drive folder, update the tracking row in Sheets, move the meeting when the thread says to, and leave a comment on the Doc explaining what it changed. For it to work effectively, you need to leverage native tool calling that stitches together five different services and a dozen write operations in a single exchange.</p><p>I maintain <a href="https://github.com/taylorwilsdon/google_workspace_mcp"><strong>Workspace MCP</strong></a>, which at the time of writing this is by far the most popular open source Google Workspace MCP server with millions of downloads, hundreds of thousands of daily users and most importantly, completely free, open source and MIT licensed. This is the setup guide I would want if I were starting from zero: setup, background, what to avoid and the security decisions you should make on purpose rather than by default.</p><p><strong>What “full control” actually means:</strong></p><p>The Model Context Protocol (MCP) is the standard way AI clients call external tools. A Google Workspace MCP server sits between your AI client and Google’s APIs: the client sees a list of tools, the model decides which to call, and the server executes each call with the signed-in user’s OAuth token.</p><p><a href="https://workspacemcp.com/">Workspace MCP</a> exposes more than 120 tools across twelve different Google services in one endpoint:</p><p><strong>Gmail</strong>: Search, read, draft, send, reply with correct threading headers, labels (including colors), filters, attachments <br><strong>Drive</strong>: Search, create, share, manage permissions, import Office files <br><strong>Docs:</strong> Structured edits, styling, tables, tabs, comments, export <br><strong>Sheets</strong>: Read and write ranges, tables, formatting, conditional rules, formulas<br><strong>Calendar</strong>: Manage all events, free/busy, Out of Office, Focus Time, per-boundary time zones <br><strong>Slides:</strong> Create, batch update, thumbnails, comments <br><strong>Forms:</strong> Build and publish forms, read responses <br><strong>Tasks</strong>: Tasks and lists with hierarchy <br><strong>Contacts</strong>: People, groups, batch operations <br><strong>Chat:</strong> Spaces, messages, search, reactions, edits <br><strong>Apps Script:</strong> Write, deploy, run and debug scripts <br><strong>Custom Search</strong>: Programmable web search</p><blockquote>Apps Script is the one people underestimate or ignore until they start asking for more sophisticated tasks and Claude suggests it. Leveraging Apps SCript, the agent is not limited to the tools I wrote, it can write a script, deploy it, and run it against anything Apps Script can reach. That is the real meaning of “full control” (and also the reason the security section below is not optional.)</blockquote><p><strong>Step 1: </strong>Create a Google Cloud project and enable the APIs</p><p>Open the <a href="https://console.cloud.google.com/"><strong>Google Cloud Console</strong></a> and create a new project. Give it a name you will recognize on a consent screen, because your users will see it. You don’t need a paid workspace environment to do any of this.</p><p><strong>Step 2:</strong> Go to <strong>APIs &amp; Services</strong> → <strong>Library</strong> and enable the API for each service you intend to use. There are <a href="https://workspacemcp.com/docs#authentication"><strong>direct links to each here</strong></a><strong> </strong>in the docs.</p><p>Enable only what you need. An API you did not enable is a capability the agent cannot use even if a tool is loaded, which is a cheap extra layer of defense. A disabled API does not fail at startup. It fails at the first tool call with a 403 that names the API. If you see `accessNotConfigured`, this step is why.</p><p><strong>Step 3</strong>: Configure the OAuth consent screen</p><p>In <strong>Google Auth Platform </strong>(formerly the OAuth consent screen):</p><p>1. <strong>Branding</strong>: app name, support email, developer contact.<br>2. <strong>Audience</strong>: choose <strong>Internal</strong> if you are on a Google Workspace domain and only your organization will use it. Choose <strong>External</strong> for personal Gmail accounts.<br>3. If External and still in Testing, add every Google account that will sign in as a test user. Anyone not on that list gets a blunt “access blocked” error. This is the right setup for most folks using personal Gmail accounts.</p><p>Editor’s note — External apps in Testing issue refresh tokens that expire after seven days. If your agent “randomly” loses access every week, this is the cause. Publish the app, or use Internal on a Workspace domain.</p><p><strong>Step 4</strong>: Create the OAuth client</p><p>Go to <strong>Credentials</strong> → <strong>Create credentials</strong> → <strong>OAuth client ID</strong> and pick the type that matches how you will run the server:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e7D8mLt-HSmcL7Ar8ZVZpQ.png" /><figcaption>Client ID Config Screenshot</figcaption></figure><p>Client type:<br><strong>Desktop app — </strong>Local use: Claude Code, stdio clients, a single developer on a laptop. No redirect URIs to manage. <br><strong>Web application — </strong>Anything reachable over a URL: a remote server, a reverse proxy, a team deployment, browser clients like Open WebUI. Authorized origins and redirect URIs must exactly match the public URL users authenticate against, ending in `/oauth2callback`.</p><p>Copy the client ID and secret, then export them:</p><pre>export GOOGLE_OAUTH_CLIENT_ID=&quot;your-client-id.apps.googleusercontent.com&quot;<br>export GOOGLE_OAUTH_CLIENT_SECRET=&quot;your-client-secret&quot;</pre><p>Never commit these, and never commit `client_secret.json` or the `.credentials/` directory the server creates.</p><p><strong>Step 5</strong>: Start the server with the least power that does the job</p><p>This is the step where “full control” becomes a decision rather than a default. The server is distributed on PyPI and runs with one `uvx` command, no clone required (Python 3.10+ and `uv`).</p><p><strong>Pick a transport</strong></p><pre># Recommended: streamable HTTP, works with every modern MCP client<br>uvx workspace-mcp - transport streamable-http - tool-tier core<br># Legacy fallback for clients that only speak stdio<br>uvx workspace-mcp - tool-tier core</pre><p>The HTTP server listens on `<a href="http://localhost:8000/mcp%60">http://localhost:8000/mcp`</a> by default.</p><p><strong>Pick how much the agent can see</strong></p><p>Every tool definition costs context tokens on every turn, and a model choosing between 120 tools picks worse than one choosing between 30. Workspace MCP has three cumulative tiers:</p><p><a href="https://workspacemcp.com/docs#server-modes"><strong>Tool Tiers</strong>:<br></a><strong>core</strong>: Search, read, create and basic modify across every service <br><strong>extended</strong>: Core plus management: labels, folders, batch operations, advanced search <br><strong>complete</strong>: The full API surface: comments, publishing settings, administrative functions</p><p>Narrow further by service:</p><pre>uvx workspace-mcp - tools gmail drive calendar - tool-tier extended</pre><p><strong>Pick how much the agent can do</strong></p><p>This is the part most guides skip. Loading a tool and granting the OAuth scope behind it are separate questions:</p><pre># Read everything, change nothing. Only read-only scopes are requested.<br>uvx workspace-mcp - read-only<br><br># Per-service levels. Gmail levels are cumulative:<br># readonly &lt; organize &lt; drafts &lt; send &lt; full<br>uvx workspace-mcp - permissions gmail:drafts drive:readonly calendar:full</pre><p><em>gmail:drafts</em> is the setting I recommend to almost everyone starting out. The agent can triage, label and write complete replies, and a human presses Send. You get 90% of the value and none of the “the agent emailed my client something unhinged” risk. You can also remove individual tools with ` — disabled-tools`.</p><p><strong>Multi-user: turn on OAuth 2.1</strong></p><p>For anything more than one person on one machine, enable OAuth 2.1. Even if you’re just a single user, use OAuth 2.1 The other modes only exist to support bad legacy clients. Anything worth using supports OAuth2.1 more elegantly than any built in OAuth server could ever accomplish. Each MCP client authenticates with PKCE and every request is bound to the verified user, so one caller cannot act as another’s account:</p><pre>export MCP_ENABLE_OAUTH21=true<br>export WORKSPACE_MCP_PORT=8000<br>uvx workspace-mcp - transport streamable-http - tool-tier core</pre><p>For production you put this behind HTTPS and set <em>WORKSPACE_EXTERNAL_URL</em> to the public origin. The <a href="https://workspacemcp.com/docs/deployment?utm_source=medium&amp;utm_medium=referral&amp;utm_campaign=gws-step-by-step&amp;utm_content=step4-deploy">deployment docs</a> cover the reverse proxy details, including the nginx <em>origin</em> issue, Google sign-in redirect behind some proxies, stateless mode for containers with zero disk writes, Valkey/Redis token storage for horizontally scaled deployments, service accounts with domain-wide delegation, and trusted-gateway identity for Pomerium, Cloudflare Access or oauth2-proxy.</p><p><strong>Step 6:</strong> Connect your client</p><p><a href="https://workspacemcp.com/guides/claude-connectors?utm_source=medium&amp;utm_medium=referral&amp;utm_campaign=gws-step-by-step&amp;utm_content=step5-claude"><strong>Claude (desktop, web, mobile, Cowork) Setup:</strong></a></p><ol><li>Open <strong>Settings</strong> → <strong>Connectors</strong><br>2. Choose <strong>Add custom connector</strong><br>3. Name it <strong>Workspace MCP</strong> and paste your server URL, for example <a href="https://yourname.workspacemcp.com/mcp%60">https://yourname.workspacemcp.com/mcp</a> or your own public HTTPS endpoint.<br>4. Click <strong>Add</strong>, then complete the Google sign-in with the account you want Claude to use.</li></ol><p>No <em>claude_desktop_config.json</em> editing required.</p><p><strong>Claude Code</strong></p><pre>claude mcp add - transport http workspace-mcp http://localhost:8000/mcp</pre><p>The repo also ships a Claude skill (`skills/managing-google-workspace`) that teaches Claude Code which Workspace tool to reach for. It’s not necessary for modern models, which are more than capable of using it without help, but it’s there if you want it!</p><p><strong>ChatGPT</strong></p><p>Enable <strong>Developer Mode</strong> and add the server as a connector — <a href="https://workspacemcp.com/guides/chatgpt-developer-mode?utm_source=medium&amp;utm_medium=referral&amp;utm_campaign=gws-step-by-step&amp;utm_content=step5-chatgpt">walkthrough here.</a></p><p><strong>VS Code, Codex, LM Studio</strong> and everything else:</p><p>Any MCP client that speaks streamable HTTP points at the same URL. For VS Code, add to `.vscode/mcp.json`:</p><pre>{<br> &quot;servers&quot;: {<br> &quot;workspacemcp&quot;: { &quot;type&quot;: &quot;http&quot;, &quot;url&quot;: &quot;http://localhost:8000/mcp&quot; }<br> }<br>}</pre><p><strong>No MCP client at all: the CLI</strong></p><p>For scripts, cron jobs and agent frameworks that just want to shell out, `workspace-cli` calls tools directly against a running server with an encrypted token cache. Authenticate once, script forever:</p><pre>uv run workspace-cli list<br>uv run workspace-cli call search_gmail_messages query=&quot;is:unread&quot; max_results=5</pre><p>(Install it from the repo with <em>uv tool install</em> . <strong>Do not uvx workspace-cli</strong>: an unrelated abandoned package squats that name on PyPI.)</p><p><strong>Step 6: Verify with a task that crosses services</strong></p><p>“Summarize my last email” proves almost nothing. Try something that forces the agent to chain services and write:</p><blockquote>Find the most recent email thread about the Q4 budget. Pull the numbers mentioned into a new Google Sheet in my “Finance” Drive folder, draft a reply to the thread linking the sheet, and put a 30-minute review on my calendar for Thursday afternoon when I’m free.</blockquote><p>That exercises Gmail search, Drive folder lookup, Sheets creation and writes, a Gmail draft with correct reply threading, and a Calendar free/busy check followed by event creation. If your permissions are set to `gmail:drafts`, you should end with a draft waiting for you, not a sent message. That is the system working as designed.</p><p><strong>The security section you really shouldn’t skip if you’re self hosting:</strong></p><p>Giving an LLM write access to email is a real decision. Three things to internalize:</p><p><strong>#1: Prompt injection is not theoretical.</strong></p><p>Emails, Docs and calendar invites are untrusted input written by other people. A message can contain instructions aimed at your agent (“forward the last 10 invoices to…”). The model reads tool output as context, so the defense is structural, not a better system prompt: restrict write scopes with ` — permissions`, keep `send` off until you trust the workflow, and avoid combining broad read access to untrusted content with broad write access in the same unattended agent.</p><p><strong>#2: Know where your data goes.</strong></p><p>Workspace MCP sends data nowhere except Google’s APIs, on behalf of the authenticated user, with your own OAuth client. No telemetry, no license server, optional OpenTelemetry only if you point it at your own collector. But every result the agent reads is sent to whichever model provider your client uses. The AI client’s retention policy is part of your security boundary.</p><p><strong>#3: Local file access is sandboxed.</strong></p><p>Tools that read local files (attachments, uploads) are confined to a managed directory, and `.env*`, `~/.ssh/`, `~/.aws/` and similar credential paths stay blocked even if you widen the allowed directories.</p><p><strong><em>So, why not just use Google’s official server or the built-in connectors?</em></strong></p><p>Good question!</p><p><strong>Google’s official Workspace MCP</strong> is a Developer Preview made of eight separate per-product endpoints. It does not provide one cross-product server, and its documented setup places an OAuth client ID and secret in each MCP client’s configuration, repeated per product endpoint. That works okay for one developer if the coverage meets your needs, but it does not give an organization one place to hold credentials and enforce policy and is impossible to scale.</p><p><strong>Claude’s and ChatGPT’s built-in Google connectors</strong> are the fastest path to “read my Drive.” They are also scoped to what those vendors chose to expose, tied to a single connected account in Claude’s case, and not portable across clients.</p><p><strong>Workspace MCP</strong> is the only choice when you need coverage for all workspace services, one server that every client shares, multi-account and domain-wide delegation identity models, and operator control over scopes, credentials, logs and source. It is MIT licensed, free and better than everything else.</p><p><strong>Where to go from here:</strong></p><p><strong>Run it yourself:</strong> the <a href="https://workspacemcp.com/quick-start?utm_source=medium&amp;utm_medium=referral&amp;utm_campaign=gws-step-by-step&amp;utm_content=outro-quickstart">quick start</a> and the <a href="https://workspacemcp.com/docs?utm_source=medium&amp;utm_medium=referral&amp;utm_campaign=gws-step-by-step&amp;utm_content=outro-docs">full tool reference</a><br><strong>Skip Steps 1 through 4: </strong><a href="https://workspacemcp.com/workspace-mcp-cloud?utm_source=medium&amp;utm_medium=referral&amp;utm_campaign=gws-step-by-step&amp;utm_content=outro-cloud">Workspace MCP Cloud</a> gives you a hosted HTTPS endpoint you can paste into Claude in about a minute, from $5/month, run by the people who maintain the server.</p><p>If you build something interesting on top of it, I’d love hear about it! PRs always welcome.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7b66170893b1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The SRE’s Guide to High Availability Open WebUI Deployment Architecture]]></title>
            <link>https://taylorwilsdon.medium.com/the-sres-guide-to-high-availability-open-webui-deployment-architecture-2ee42654eced?source=rss-c374ba0543a6------2</link>
            <guid isPermaLink="false">https://medium.com/p/2ee42654eced</guid>
            <category><![CDATA[open-webui]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[chatgpt]]></category>
            <category><![CDATA[high-availability]]></category>
            <category><![CDATA[llm]]></category>
            <dc:creator><![CDATA[Taylor Wilsdon]]></dc:creator>
            <pubDate>Sat, 31 May 2025 20:07:30 GMT</pubDate>
            <atom:updated>2026-03-29T17:13:14.844Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://github.com/open-webui/open-webui"><strong>Open WebUI</strong></a> is one of, if not the single best chat interfaces for both local &amp; hosted LLMs, giving you a production ready UI coupled with built-in RAG capabilities, web search and almost unlimited potential for customization thanks to a rich ecosystem of tools and functions.</p><p>For folks just starting out, the easiest way to run Open WebUI is using the very straightforward quickstart options: <strong>Python </strong>or<strong> Docker</strong>. If you’re just trying it out, <em>stop reading after the next paragraph and stick with the quickstart — this guide isn’t for you.</em></p><p>At some point however, you may find that you’ve outgrown the single container model, especially if you are serving significant user traffic or running it in an environment where 100% uptime is a hard requirement. If you’re in a position where an Open WebUI outage means you’re getting woken up by PagerDuty, then this is the guide for you.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PkyHlFjVgabE78raOaz4Zw.png" /><figcaption>gpt-image-1 is getting a hell of a lot better with text!</figcaption></figure><h4>Python Quickstart</h4><blockquote>Open WebUI can be installed using <strong>pip</strong>, the Python package installer. Before proceeding, ensure you’re using Python 3.11. To install Open WebUI, open your terminal and run the following commands:</blockquote><pre>pip install open-webui<br>open-webui serve</pre><p>This will start the Open WebUI server, which you can access at <a href="http://localhost:8080/">http://localhost:8080</a>. This is also <strong>not</strong> the appropriate way to run it in production.</p><h4>Docker Quickstart</h4><blockquote>For certain Docker environments, additional config might be needed. If you encounter any issues, see the detailed guide @ <a href="https://docs.openwebui.com/">Open WebUI</a></blockquote><p>Installation with Default Configuration (configure connections in the admin settings panel to Ollama or OpenAI compatible endpoints.</p><pre>docker run -d --name open-webui --restart always -p 3000:8080 -v open-webui-data:/app/data ghcr.io/open-webui/open-webui:main</pre><h3>High Availability Starts Here</h3><p>Ok, good — with that out of the way, welcome to the deep end. From here on out, we’ll assume:</p><ul><li><strong>Multiple stateless WebUI containers</strong> (Kubernetes Pods, Swarm services, ECS tasks — pick your poison), I personally have used k8s pods and Amazon’s ECS.</li><li><strong>Highly-available Redis </strong>(stand-alone, Cluster or Sentinel). For me, that’s Amazon’s ElastiCache.</li><li><strong>External SQL</strong> (PostgreSQL preferred) I’m using AWS Aurora. To migrate from the built in SQLite database from an existing instance to Postgres, check out the <a href="https://github.com/taylorwilsdon/open-webui-postgres-migration">interactive Open WebUI migration tool</a>.</li><li><strong>A load balancer</strong> that understands long-lived WebSocket upgrades, in my case an AWS Application Load Balancer (ALB) which provides native support for websockets.</li></ul><p>The goal here is a deployment that’s capable of shrugging off node drains, rolling upgrades, and the occasional fat-fingered kubectl delete pod.</p><p>Everything is stateless <strong>except</strong>:</p><ol><li><strong>JWT/session cookies</strong> — signed with one shared WEBUI_SECRET_KEY.</li><li><strong>App state &amp; WebSocket fan-out</strong> — persisted in <a href="https://docs.openwebui.com/reference/env-configuration#redis">Redis</a> (REDIS_URL, WEBSOCKET_REDIS_URL).</li><li><strong>Database</strong> — Postgres or whatever you prefer.</li><li><strong>Persistent Storage — </strong>Storage for uploaded images, documents and attachments. You can use a shared mounted volume (ie AWS EFS/EBS) or a storage backend like S3.</li></ol><h4>Mandatory env cheatsheet</h4><p><strong>Cookie/JWT signing:<br></strong>WEBUI_SECRET_KEY must use the same across <em>all</em> nodes<br><strong>General Redis:<br></strong>REDIS_URL=redis://redis:6379/0 <br><em>editors note — if you’re using AWS ElastiCache, you’ll put </em><strong><em>rediss</em></strong><em> in place of redis for TLS<br></em><strong>WebSocket broker:<br></strong>ENABLE_WEBSOCKET_SUPPORT=true<br>WEBSOCKET_MANAGER=redis<br>WEBSOCKET_REDIS_URL=${REDIS_URL}<br><strong>Sticky-secret override for Redis Sentinel (optional)<br></strong>REDIS_SENTINEL_HOSTS=redis-a:26379,redis-b:26379<br>WEBSOCKET_SENTINEL_HOSTS=$REDIS_SENTINEL_HOSTS<em><br></em><strong>SQL (Postgres) <br></strong>DATABASE_URL=postgresql+asyncpg://openwebui:password@db:5432/webui<br><strong>Container tuning<br></strong>UVICORN_WORKERS=&lt;num_cpus&gt; <br>THREAD_POOL_SIZE=&lt;cpu*20&gt;<br><strong>SSL/Web loader<br></strong>WEBUI_URL=https://chat.yourdomain.com for share-links &amp; search</p><blockquote><strong><em>Why WEBSOCKET_REDIS_URL </em>and<em> REDIS_URL?</em></strong><em><br> WebUI uses one channel for generic app-state (config items, tasks etc.) and a second channel for websocket management. You can point them at the same Redis unless you have a reason not to, but each needs to be set up.</em></blockquote><h4>Load Balancer Config:</h4><p><strong>HTTP idle timeout</strong>: ≥ 65 s (matches default keepalive_timeout)<br><strong>Upgrade headers</strong>:Connection: Upgrade, Upgrade: websocket<br><strong>Sticky sessions</strong>: <strong>Not required</strong>—JWT + Redis make any pod stateless, but harmless if enabled<br><strong>Health check</strong>:GET /healthz (200 OK)</p><h4>Observability:</h4><p>Prometheus is exposed by the backend at the /metrics <br>You can enable the built-in <strong>OpenTelemetry exporter </strong>with the env var ENABLE_OTEL</p><h4>Scaling Notes &amp; Considerations:</h4><p><strong>When pods restart, do users stay logged in? </strong>Yes, the shared WEBUI_SECRET_KEY + external Redis configuration handles this beautifully. Recycle a node and nobody will even notice mid chat.</p><p><strong>PersistentConfig drift across pods: </strong>Make sure that you’ve got a shared data volume and the DATABASE_URL correctly configured so all containers / pods read the same config.</p><p><strong>High QPS vector search: </strong>The in-container ChromaDB will be an immediate bottleneck, especially when running in containers without GPU compute available to them. You’ll want to configure theVECTOR_DB<a href="https://docs.openwebui.com/getting-started/env-configuration/#vector_db">​</a>environment variable, choosing fromchroma, elasticsearch, milvus, opensearch, pgvector, qdrantor pinecone</p><ul><li>Depending on your selection, each has its own configuration set. Once you’ve made your choice, find the <a href="https://docs.openwebui.com/getting-started/env-configuration/#vector-database"><strong>necessary config items</strong></a> here!</li></ul><p><strong>RAG Content Extraction Engine: </strong>You can likely get away with the default in-container extraction engine, but for better performance and more flexibility you’ve got a bunch of choices: external, tika, docling, document_intelligence, or mistral_ocr.</p><ul><li>Same as the above, you’ll have a config set for whatever type you choose. In the interest of brevity, you can find the <a href="https://docs.openwebui.com/getting-started/env-configuration/#rag-content-extraction-engine"><strong>necessary items for your choice</strong></a> here!</li></ul><p><strong>Embedding Model Engine: </strong>You don’t want to be running SentenceTransformers in a lightweight container, so the<strong> </strong>RAG_EMBEDDING_ENGINE setting should be set to either ollama or openai.</p><ul><li>Depending on your selection, you’ll need to configure RAG_EMBEDDING_MODEL — I’ve found that OpenAI’s text-embedding-3-small works just fine.</li><li>You can enable <strong>RAG Hybrid Search</strong> with ENABLE_RAG_HYBRID_SEARCH, combining a BM25 retriever with your chosen vector store to leverage reranking.</li></ul><p><strong>Task Model Configuration: </strong>Open WebUI tasks (title generation, autocomplete, tags, retrieval and web search query generation etc) do not need a big, heavy model so you don’t want to let it default to “current model” — pick something like gpt-4.1-nano for OpenAI or Qwen3:8b for local models, otherwise you’ll find significant lag if a user is calling a slow, heavy reasoning model and asking it to also handle these tiny calls all at once. Set both TASK_MODEL and TASK_MODEL_EXTERNAL to ensure your use cases are met.</p><h4>Sample Config:</h4><p>You have a ton to decide before you are at the point of configuring Presumably anyone operating at this scale already has an established stack and their ci/cd pipelines + secret management systems, so it’s more of a choose-your-own adventure than a one size fits all config — but just conver to whatever format you ingest your manifests in and obviously you’ll have to inject your own secrets where applicable (AWS SSM, Hashicorp Vault etc).</p><pre># ------------ Mandatory ENV Variables ------------<br><br># Cookie/JWT signing key (must be the same across all nodes)<br>WEBUI_SECRET_KEY=your-very-secret-key<br><br># General Redis URL (use rediss:// if using TLS with AWS ElastiCache)<br>REDIS_URL=redis://redis:6379/0<br><br># Enable WebSocket support<br>ENABLE_WEBSOCKET_SUPPORT=true<br><br># WebSocket manager and URL (typically redis)<br>WEBSOCKET_MANAGER=redis<br>WEBSOCKET_REDIS_URL=${REDIS_URL}<br><br># Redis Sentinel hosts (optional — comma separated, if using Sentinel)<br>REDIS_SENTINEL_HOSTS=<br>WEBSOCKET_SENTINEL_HOSTS=${REDIS_SENTINEL_HOSTS}<br><br># Timeout and Reconnect<br>REDIS_RECONNECT_DELAY= {float, in ms}<br>WEBSOCKET_REDIS_LOCK_TIMEOUT= {int, defaults to 60s}<br><br># SQL Database URL (PostgreSQL recommended; update with your DB credentials)<br>DATABASE_URL=postgresql+asyncpg://openwebui:password@db:5432/webui<br><br># Container tuning (adjust based on deployment resources)<br>UVICORN_WORKERS=<br>THREAD_POOL_SIZE=<br><br># Public WebUI URL (for share-links &amp; search)<br>WEBUI_URL=https://chat.yourdomain.com<br><br># ------------ Choose Your Own Adventure Settings ------------<br><br># Vector DB selection (chroma, elasticsearch, milvus, opensearch, pgvector, qdrant, pinecone)<br>VECTOR_DB=chroma<br><br># Vector DB specific configuration variables go here, e.g.:<br># ELASTICSEARCH_URL=<br># MILVUS_HOST=<br># QDRANT_HOST=<br># ...<br><br># RAG Content Extraction Engine (external, tika, docling, document_intelligence, mistral_ocr)<br>RAG_EXTRACTION_ENGINE=<br><br># RAG Embedding Engine (ollama, openai)<br>RAG_EMBEDDING_ENGINE=<br><br># Embedding Model for RAG (example for OpenAI)<br>RAG_EMBEDDING_MODEL=text-embedding-3-small<br><br># Enable RAG Hybrid Search (optional, true/false)<br>ENABLE_RAG_HYBRID_SEARCH=false<br><br># Task Model Configuration (ensure these are lightweight for snappy UI tasks)<br>TASK_MODEL=<br>TASK_MODEL_EXTERNAL=<br><br># Persistent storage config (S3/EFS details if used; add your own keys here)<br># S3_BUCKET=<br># S3_ACCESS_KEY_ID=<br># S3_SECRET_ACCESS_KEY=<br># EFS_MOUNT_PATH=<br># ...<br><br># ------------ Example for Okta OIDC (if using SSO) ------------<br># OKTA_CLIENT_ID=<br># OKTA_CLIENT_SECRET=<br># OKTA_ISSUER_URL=<br># Check out groups config, JIT provisioning etc </pre><p>Want to take it even further? Check out my guide to setting up <a href="https://docs.openwebui.com/tutorials/integrations/okta-oidc-sso"><strong>Okta OIDC Single Sign On</strong></a><strong>. </strong>Combine and manage your LLM endpoints with a proxy appliance like <a href="https://github.com/BerriAI/litellm"><strong>LiteLLM</strong></a>.</p><p>Extend your capabilities leveraging <strong>OpenAPI</strong> spec tool servers or <strong>MCP</strong> servers (the latter of which facilitated by the excellent <a href="https://github.com/open-webui/mcpo"><strong>mcpo</strong></a><strong>) </strong>to extend the capabilities of your models. Native tool calling is highly recommended for models that are capable of it. Open WebUI also has an <a href="https://openwebui.com/"><strong>extensive library</strong></a> of native (in-container execution) tools and functions.</p><p>Made it this far? Hell yeah you did. Give yourself a pat on the back and sleep well knowing you’ve cut your risk of being paged significantly. If you run into any issues or have any questions, feel free to hit me up in the comments!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2ee42654eced" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Missing Guide to Native Tool & Function Calling with MCP & OpenAPI Servers]]></title>
            <link>https://taylorwilsdon.medium.com/the-missing-guide-to-native-tool-function-calling-with-mcp-openapi-servers-ed2557a8a7b7?source=rss-c374ba0543a6------2</link>
            <guid isPermaLink="false">https://medium.com/p/ed2557a8a7b7</guid>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[mcp-server]]></category>
            <category><![CDATA[open-api]]></category>
            <category><![CDATA[tools]]></category>
            <dc:creator><![CDATA[Taylor Wilsdon]]></dc:creator>
            <pubDate>Sat, 10 May 2025 21:15:04 GMT</pubDate>
            <atom:updated>2025-08-20T22:49:56.800Z</atom:updated>
            <content:encoded><![CDATA[<h3>The Missing Guide to Reliable Native Tool &amp; Function Calling with MCP &amp; OpenAPI Servers</h3><h4>Building Tools that “Just Work”: A Pragmatic Guide</h4><p>To me, one of the biggest frustrations accompanying the excitement and potential of increasingly sophisticated tool-calling approaches with LLMs is that these cutting-edge technologies, design patterns and novel implementations frequently lack the kind of mature documentation that you need to, you know… actually get them implemented correctly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lTjPZvP1mEN__iWnuglC9A.png" /></figure><p>Fair warning — this isn’t some flowery nonsense puff piece on MCP from someone who watched a Youtube video and wants to capitalize on hype, this article is written for developers who are already building working tools, and now are looking to bring them towards the point of enterprise reliability across a variety of clients and platforms. This won’t be a particularly useful read for someone just interested in learning about MCP or OpenAPI servers. It’s also not written by AI, so pardon any typos and the conspicious lack of em dashes.</p><p>While building my first few MCP servers, I found that short of reverse engineering sample code — which, in many cases, is just the blind leading the blind and ultimately perpetuates bad practices because the person whose code you’re looking at didn’t know what the hell they were doing either. Most of the popular SDKs abstract away the actual payload going back, so it can be even more difficult to understand what you’re missing.</p><blockquote>Editor’s note: I like <a href="https://github.com/jlowin/fastmcp"><strong>FastMCP</strong></a>. FastMCP≥2.11.1 has made some significant strides in remote OAuth2.1 and I’m comfortable giving them my recommendation for an SDK if you’re not looking to do it the hard way. They have not shipped a bad release I’ve ever seen and do a much better job of defining practices compared to the base Python SDK.</blockquote><p>The alternative is digging into the source of the actual tools involved in inference (which may not be possible with closed source options like LMStudio or Claude) &amp; the protocols themselves, and it can be almost impossible to figure out exactly what a given model is looking for from the tool to ensure it works as seamlessly as possible.</p><p>So, what did I do? <em>Went off the deep end</em>, of course!<em> </em>I did a bunch of research &amp; reverse engineering of just about every example I could find posted publicly, used Deep Research to investigate the nuances of every major provider and model family, and hopefully in that process I will end up having saved some folks some time!</p><h3>Best Practices for Describing Your Tools</h3><p>When defining your tool, how you describe it matters — a lot. It’s the single most important factor contributing to successful invocation, especially with native calling. Regardless of the underlying model specifics, a descriptive, explicit tool definition is crucial. This is because the model uses the metadata you provide to decide when and how to invoke the tool:</p><ol><li><strong>Be Explicit About Usage</strong>: Clearly state when your tool should be used. For instance, instead of saying “weather tool,” describe it as “Retrieves the current weather for a given city — use whenever a user asks about weather conditions, temperature, or forecasts.”</li><li><strong>Detailed Parameter Descriptions</strong>: Be verbose in parameter explanations. For example, don’t just say location: &quot;city.&quot; Say, &quot;location&quot;: &quot;City name and optionally the state or country (e.g., &#39;San Francisco, CA&#39; or &#39;Paris, France&#39;).&quot;</li><li><strong>Enums and Strong Types</strong>: You must always use explicit types and enumerations to reduce ambiguity. Instead of a generic string for temperature units, specify an enum like [&quot;celsius&quot;, &quot;fahrenheit&quot;]. This helps minimize the risk of the model guessing incorrectly or hallucinating unsupported options. Every input value, optional or required, should be typed. The LLM defers HEAVILY to typing, almost as much as the docstrings themselves, when you correctly implement the model context protocol.</li><li><strong>Python Typing Disclaimer Nobody Tells You: </strong>In Python, an argument in a function signature is considered “optional” if it has a default value assigned to it and the LLM knows you are not required to provide a value for that argument when calling the function. The FastMCP documentation actual emphasizes using default values rather than Optional types for parameters that aren’t strictly required, but they don’t actually say “don’t use Optional” which would be way more useful guidance. If you type as <em>Optional[int]</em> the LLM will pass a string value <a href="https://github.com/taylorwilsdon/google_workspace_mcp/issues/180"><strong>every fucking time</strong></a>.</li></ol><h3>Building Tools that “Just Work”: A Pragmatic Guide</h3><p>At the heart of reliable tool invocation — regardless of the model you’re using — is the concept of a standardized response payload and the well described capabilities mentioned above. This might sound trivial, but adhering strictly to a simple, predictable JSON envelope solves a significant portion of the pain points developers experience when navigating various LLM APIs.</p><p>This section will break down what’s going on under the hood and what you can do to ensure you’re giving it what it needs to succeed.</p><p>For <strong>OpenAPI</strong> spec tools, the correct JSON envelope is:</p><pre>{<br>  &quot;status&quot;: &quot;ok&quot;,       // can be &quot;error&quot; if something went wrong<br>  &quot;data&quot;: { ... },      // this is your actual response payload<br>  &quot;error&quot;: null          // include details here if status is &quot;error&quot;<br>}</pre><p>For <strong>MCP SDK-</strong>based tools, the client is expecting a <strong>CallToolResult</strong> object back from a <strong>CallToolRequest</strong>. If you’re a masochist, you can construct these yourself but SDKs like FastMCP or the official <a href="https://github.com/modelcontextprotocol/typescript-sdk">Typescript MCP SDK</a> abstracts this away and automatically converts:</p><ul><li>str → TextContent, dict/list → JSON content</li><li>bytes → base64 encoded, fastmcp.Image → ImageContent</li><li>None → empty response</li></ul><p>The result is a heavily typed TextContent response and will get reliable, reproducible results every time. For the sake of demonstration, I’ll show the full response object generated by the raw function response.</p><pre>return types.CallToolResult(<br>  content=[types.TextContent(type=&quot;text&quot;, text=content_text)]<br>  )</pre><p>It’s deceptively simple, by always returning responses in this envelope:</p><ul><li>You’re guaranteeing compatibility with native function calling (OpenAI, Anthropic, Gemini), since each of these platforms expects well-formed JSON to inject back into their model’s context.</li><li>You’re ensuring a straightforward parsing strategy for non-native calling scenarios (e.g., text-based ReAct loops or structured prompts) where the tool result can be clearly identified as a JSON object embedded in the text itself.</li></ul><p>One real world example of what I’m talking about that I grappled with for quite a while is around multi-step processes that require user interaction like <strong>OAuth2.0 flows </strong>or explicitly required file deletion confirmations — the latter of which (side note) are a <strong>very</strong> good idea if you’re considering implementing anything with potentially destructive capabilities like local filesystem access.</p><h3>OAuth and Interactive Flows: Special Considerations</h3><p>Interactive flows, like OAuth authentication, need careful attention in native tool scenarios. Since native tool response handling may not expose the payload to the user directly, always ensure:</p><ul><li>Interactive URLs or user actions are clearly and redundantly signposted within the conversational flow — not just hidden in payloads.</li><li>The final JSON response explicitly instructs the model on how to present these actions, ensuring the user sees the actionable steps clearly in the main conversational interface.</li></ul><p>Handling authentication flows in my <a href="https://github.com/taylorwilsdon/google_workspace_mcp"><strong>Google Workspace MCP</strong></a> requires a user-driven interactive auth flow to capture the token that ultimately allows for access to their underlying Gmail or Google Calendar data.</p><p>In <a href="https://github.com/open-webui/open-webui"><strong>Open WebUI</strong></a> (serving this particular MCP via <a href="https://github.com/open-webui/mcpo"><strong>mcpo</strong></a><strong>)</strong>, I found that when using o4-mini with native tool calling disabled, it would give me a clickable link to start the flow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HmuYgfWmBMlrjL2TU-_4qA.png" /><figcaption>Native calling <strong>disabled</strong> — Open WebUI with o4-mini</figcaption></figure><p>With native tool calling enabled, however, it only presented the link in the collapsed payload tool response and the user never gets what they need to take action. You can see non-native works, albeit in a somewhat ugly manner, but with <strong>native calling</strong> enabled, all of a sudden we’re getting this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tttGA5r-fwQia8JTUobTcA.png" /><figcaption>Native calling <strong>enabled</strong> — Open WebUI with o4-mini (see the problem?)</figcaption></figure><p>Here’s our first problem in the wild… what URL, exactly? You’ll notice that there’s nothing there. The reason? It thinks you’ve already seen it and doesn’t know that it needs to provide you with the call to action to proceed with the flow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yT4xJRfoxpK-8uJvtRnhow.png" /><figcaption>There’s our problem! It’s not taking that content and returning it as a message</figcaption></figure><p>That’s because with the plaintext response payload, it didn’t know to transform that into a clickable link — and not every client implements tool response handling the same way, so you can’t rely on it to understand what you want done with it.</p><p>Without clarifying that authentication was required as a manual human step in the payload itself, it thinks that it’s doing the job for you. By adding “auth_required” and a prescriptive message, we’ve now got it reliably returning a clickable link.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vppAmMAhw_QyBJ_Y4GC9PA.png" /><figcaption>Much better — now the native calling correctly returns the link and useful instructions!</figcaption></figure><p>Let’s break it down — for <strong>OpenAPI</strong>:</p><pre>{<br>  &quot;status&quot;: &quot;ok&quot;,<br>  &quot;data&quot;: {<br>    &quot;auth_required&quot;: true,<br>    &quot;url&quot;: &quot;https://auth.example.com/start&quot;<br>  },<br>  &quot;error&quot;: null<br>}</pre><p>Accompany this by clearly instructing the model in the tool description itself: “If auth_required is true, instruct the user explicitly to visit the provided url.&quot;</p><p>With the <strong>MCP Python SDK</strong> (e.g., FastMCP), your responsibility is to output an actionable, model-visible message directly. FastMCP is going to return a CallToolResult object to render both the URL and the instructions inline:</p><pre>return types.CallToolResult(<br>    content=[<br>        types.TextContent(<br>            type=&quot;text&quot;,<br>            text=&quot;To proceed, please visit the following link to authenticate your account: https://auth.example.com/start&quot;<br>        )<br>    ]<br>)</pre><p>You can optionally set isError=True if authentication failure blocked the request. The key is that the message is <strong>explicit, conversational, and visible to the user</strong>—don’t assume the model will infer it from a payload field.</p><p>But can we make it even better, perhaps not so ugly?</p><p><strong>OpenAPI</strong> example:</p><pre>message = (<br>    f&quot;**Action Required**\n\n&quot;<br>    f&quot;[Click here to authorize access]({auth_url}) for user `{user_id}`.\n\n&quot;<br>    f&quot;After completing the authentication, please retry your original command.\n\n&quot;<br>    f&quot;_OAuth callback server is listening on port {CONFIG_PORT}._&quot;<br>)<br>return {<br>    &quot;status&quot;: &quot;ok&quot;,<br>    &quot;data&quot;: {<br>        &quot;auth_required&quot;: True,<br>        &quot;auth_url&quot;: auth_url,<br>        &quot;message&quot;: message<br>    },<br>    &quot;error&quot;: None<br>}</pre><p><strong>MCP Example:</strong></p><pre>return types.CallToolResult(<br>    content=[<br>        types.TextContent(<br>            type=&quot;text&quot;,<br>            text=(<br>                f&quot;**Action Required**\n\n&quot;<br>                f&quot;[Click here to authorize access]({auth_url}) for user `{user_id}`.\n\n&quot;<br>                f&quot;After completing authentication, please retry your original command.\n\n&quot;<br>                f&quot;_OAuth callback server is listening on port {CONFIG_PORT}._&quot;<br>            )<br>        )<br>    ]<br>)</pre><p>You may optionally set isError=True if this blocks further actions:</p><pre>return types.CallToolResult(<br>    isError=True,<br>    content=[...]<br>)</pre><p>Then, in your tool description, add something like:</p><blockquote>If auth_required is true, instruct the user to follow the message and visit the provided auth_url to complete authentication with a clear call-to-action so the user knows to retry their original command afterward.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NvZ-kZv-7nO9OORMLkwTTQ.png" /><figcaption>Much better in Open WebUI!</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Of9gDjpKB_ei_TTKmRfZBw.png" /><figcaption>MCP in Claude Desktop guided auth flow working correctly</figcaption></figure><h3>The Nuance of Native and Simulated Tool Calling</h3><p>The <a href="https://github.com/taylorwilsdon/openapi-servers/tree/main/servers/slack"><strong>Slack OpenAPI</strong></a> server I wrote for Open WebUI is a perfect way to illustrate the difficulty here, in early iterations it worked great when I wanted to interact with Slack content. The problem was, until I started really refining the way it describes its capabilities and routes, I found that if I mentioned something that kind of sounded like the name of a Slack channel (but not starting with a pound or mentioning the word slack) or discussed “history” — it would go off trying to retrieve and list the history of some made up channel.</p><p>With native function calling, the model can decide if it should call (or not call) the tool based on its own understanding of it. That means it needs the appropriate information available to make that decision, but it’s almost impossible to find exactly what that should be.</p><p>The capability to decide whether to call a tool or function is what makes these things feel like <em>magic</em> instead of taped on additions, but they also mean you need to be more deliberate about implementing well designed triggers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z8SpiLh5x2vMS6A2UkJCIQ.png" /><figcaption>Native Function Calling Setting for Open WebUI</figcaption></figure><p>As I worked towards something that consistently worked as well with local LLMs as it did OpenAI models and wouldn’t just pop off at any moment, I did tons of digging and found a convoluted set of often contradictory documentation that varies from model to model, provider to provider and platform to platform.</p><p>The good news is that there’s a practical, sensible, and model-agnostic approach to designing tools that work reliably across both native and non-native calling scenarios — once you cut through all the noise. Be descriptive, prescriptive and explicit in instructions. It’s easy to think the LLM can handle the rest, but some models and clients are better than others, so ensuring a high success rate means taking the time to build out the right descriptions and responses up front.</p><h3>Error Handling: Keep it Clear, Consistent, and Machine-Friendly</h3><p>When something goes wrong — and eventually, it will — your tool should handle this gracefully:</p><p>For <strong>OpenAPI tools</strong>, the recommended pattern is to return a structured JSON envelope like this</p><pre>{<br>  &quot;status&quot;: &quot;error&quot;,<br>  &quot;data&quot;: null,<br>  &quot;error&quot;: {<br>    &quot;type&quot;: &quot;InvalidRequest&quot;,<br>    &quot;message&quot;: &quot;The provided location &#39;Atlantis&#39; is not recognized.&quot;<br>  }<br>}</pre><p>For <strong>MCP SDK-based tools</strong> (e.g., using FastMCP with CallToolResult), error handling is signaled differently. Instead of returning a JSON object, you indicate an error through the isError flag and provide a human-readable message in the content. You don’t have to do this, you can just raise an exception and let the SDK abstract it away for you, but what’s comign out on the other end looks like:</p><pre>return types.CallToolResult(<br>    isError=True,<br>    content=[<br>        types.TextContent(<br>            type=&quot;text&quot;,<br>            text=&quot;Error: The provided location &#39;Atlantis&#39; is not recognized.&quot;<br>        )<br>    ]<br>)</pre><p>This structured approach ensures the model receives a consistent message about what’s happening, allowing it to respond intelligently. It can either inform the user clearly about the error or perhaps retry with alternative parameters if you’ve structured your tools to handle retries intelligently.</p><h3>Model-agnostic design is the play</h3><p>By strictly adhering to this simple set of best practices, you inherently design tools robust enough to handle both native and non-native calling environments gracefully. Don’t try to tailor your code to specific models, write it for the most generic possible client that will ultimately consume it.</p><p>While models and APIs evolve and their documentation continues to catch up to reality, your tools remain robust, reliable, and remarkably resistant to platform-specific quirks.</p><p>And hopefully, if you actually made it through this wall of text then perhaps I’ve saved you a few hours (or days!) of head-scratching and frustration. Just tell the LLM exactly what you need in the docstrings and typing and it will work as expected.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ed2557a8a7b7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Quickly Free Up Disk Space on Your PC, Mac, or Linux System Using Reclaimed]]></title>
            <link>https://taylorwilsdon.medium.com/quickly-free-up-disk-space-on-your-pc-mac-or-linux-system-using-reclaimed-5003c19f7c08?source=rss-c374ba0543a6------2</link>
            <guid isPermaLink="false">https://medium.com/p/5003c19f7c08</guid>
            <category><![CDATA[mac]]></category>
            <category><![CDATA[windows]]></category>
            <category><![CDATA[macos]]></category>
            <category><![CDATA[filesystem]]></category>
            <category><![CDATA[linux]]></category>
            <dc:creator><![CDATA[Taylor Wilsdon]]></dc:creator>
            <pubDate>Thu, 03 Apr 2025 15:58:49 GMT</pubDate>
            <atom:updated>2025-04-03T17:40:12.894Z</atom:updated>
            <content:encoded><![CDATA[<p>Struggling with disk space warnings? Perhaps you — like the author of the very post you’re reading — are hoarding dozens of now-antiquated local LLM blobs? Your computer may be holding onto large, unnecessary files or folders without you even realizing it. Built-in storage management options in both Windows and macOS are surprisingly lacking — and in the case of macOS, downright incorrect or misleading.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/990/1*nocGTye9nw8IbsfD4aKeWA.png" /><figcaption>I definitely don’t have 170gb of system data — rather, I have a bunch of downloaded LLMs that are stored in dotfile directories for ollama that Apple’s storage utility is convinced are system data</figcaption></figure><p>Today, we’ll show you how to easily identify and manage large files, directories and caches using <a href="https://github.com/taylorwilsdon/reclaimed"><strong>reclaimed</strong></a>, a lightweight, high-performance open-source tool.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fkw56p6XeisE%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dkw56p6XeisE&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fkw56p6XeisE%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/36ae30eb5dc60de165720f2fb2468251/href">https://medium.com/media/36ae30eb5dc60de165720f2fb2468251/href</a></iframe><h3>What is Reclaimed? ♻️</h3><p>Reclaimed is an ultra-fast command-line tool designed to quickly scan and identify your largest files and directories. It provides an intuitive, interactive terminal interface and offers special handling for iCloud Drive on macOS, ensuring you understand exactly what’s eating up your space.</p><p>I think of it as a spiritual successor to my old stalwart, diskinventoryx, which unfortunately was abandoned by the developer in 2016 and never updated to support Apple Silicon. As a result, it’s slow and prone to crashing — and when I couldn’t find a better alternative, reclaimed was born!</p><h3>What files are actually safe to remove?</h3><p>Before deleting anything, you should know that you may find large directories that you don’t expect to see — and might think that’s an easy way to get back space! However, there are some files that are necessary for your computer to operate properly. To help clean up safely, here’s a brief overview of what’s generally safe and unsafe to delete:</p><h4>Windows</h4><ul><li>✅ <strong>Safe:</strong> Temporary files (%TEMP%), old update files (C:\Windows.old), browser cache.</li><li>❌ <strong>Unsafe:</strong> System32 folder, AppData subdirectories for active applications, Windows registry files.</li></ul><h4>macOS</h4><ul><li>✅ <strong>Safe:</strong> Browser caches, application cache files (~/Library/Caches), logs (~/Library/Logs).</li><li>❌ <strong>Unsafe:</strong> Files in /System, core macOS files (/Library), active databases or application support folders for running apps.</li></ul><h4>Linux</h4><ul><li>✅ <strong>Safe:</strong> /tmp folder, logs (/var/log), package cache (e.g., /var/cache/apt or /var/cache/pacman/pkg).</li><li>❌ <strong>Unsafe:</strong> Kernel directories, system libraries (/usr/lib), active configuration files in /etc.</li></ul><h3>Understanding iCloud Drive and Symlinks (macOS)</h3><p>iCloud Drive syncs files by creating symbolic links (symlinks) that represent remote files stored online. Deleting these symlinks directly may cause unintended file loss. Thankfully, Reclaimed smartly distinguishes these symlinks from actual local files, ensuring you know exactly what’s stored locally versus remotely. Even though reclaimed will show you iCloud Drive files on a Mac using iCloud, you won’t regain local space by removing those remote entries unless it’s been synced down to local — and if so, the better solution there is to not sync those files if you’d like to keep them in iCloud Drive but save the space.</p><h3>Tips &amp; Tricks for Optimizing Your Storage</h3><ul><li>Regularly empty your recycle bin/trash.</li><li>Clear browser cache monthly.</li><li>Use cloud storage for large, seldom-used files.</li><li>Uninstall unused applications.</li><li>Regularly check for duplicate files or media libraries.</li></ul><h3>How to Install Reclaimed</h3><p>Ensure Python (3.8+) and pip are installed. Then, follow these instructions:</p><h4>Install via pip (all platforms)</h4><pre>pip install reclaimed</pre><h4>Install via Homebrew (macOS)</h4><pre>brew install taylorwilsdon/tap/reclaimed</pre><h3>How to Use Reclaimed</h3><p>Launch a quick scan by typing:</p><pre>reclaimed ~/Documents</pre><p>For an interactive mode (recommended):</p><pre>reclaimed ~/Documents -i</pre><h4>Useful Options:</h4><ul><li>Show more results:</li></ul><pre>reclaimed ~/Documents --files 20 --dirs 15</pre><ul><li>Export results:</li></ul><pre>reclaimed ~/Documents --output results.json</pre><h3>Interactive Interface &amp; Shortcuts</h3><p>Navigate quickly:</p><ul><li><strong>F/D Keys</strong>: Toggle between files/directories</li><li><strong>Arrow keys</strong>: Navigate items</li><li><strong>Delete</strong>: Remove files (with confirmation)</li><li><strong>S</strong>: Sort items by size, name, or path</li><li><strong>?</strong>: Help menu</li><li><strong>Q</strong>: Quit</li></ul><h3>Want to Contribute?</h3><p>Reclaimed is MIT licensed and free to use, fork and modify if you so desire! Contributions are always welcomed — if you’d like to contribute, join the <a href="https://github.com/taylorwilsdon/reclaimed">reclaimed GitHub Repository</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5003c19f7c08" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[In the pursuit of a more refined window AC installation — building in Midea U-Shape Inverter Splits]]></title>
            <link>https://taylorwilsdon.medium.com/in-the-pursuit-of-a-more-refined-window-ac-installation-building-in-midea-u-shape-inverter-splits-9bd3b83b0351?source=rss-c374ba0543a6------2</link>
            <guid isPermaLink="false">https://medium.com/p/9bd3b83b0351</guid>
            <category><![CDATA[air-conditioning]]></category>
            <category><![CDATA[renovations]]></category>
            <category><![CDATA[guides-and-tutorials]]></category>
            <category><![CDATA[hvac]]></category>
            <category><![CDATA[diy]]></category>
            <dc:creator><![CDATA[Taylor Wilsdon]]></dc:creator>
            <pubDate>Sat, 18 Jan 2025 18:23:29 GMT</pubDate>
            <atom:updated>2026-06-10T18:14:03.301Z</atom:updated>
            <content:encoded><![CDATA[<h3>In the pursuit of a more refined window AC installation — built in Midea U-Shape Inverter Splits</h3><p>Updated for 2026 — this has become one of my more popular Medium posts, and I can confirm that several years later these Midea units are still the best thing going and do a phenomenal job keeping my NYC apartment cool. It looks fantastic, leaks no air year-round with the built-in installation I share below and remains quiet and incredibly energy efficent.</p><p>I’ll share the finished product first so you don’t have to waste your time reading my long winded ramblings — cables managed at this point, controlled via Honeywell ductless thermostats, connected to Brilliant Home for light switch HVAC control and Homebridge for HomeKit control!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OtGXJ4Dj_e3H4xdrkWVkKQ.jpeg" /></figure><p>My wife and I do own our home, which you would think is enough to choose whatever HVAC system your heart desires… but since it’s a 1920s landmark NYC building, installing a condenser for central air or mini-splits on the shared roof is about as easy as passing a new federal law. After a tremendous amount of obsessing, I landed on <a href="https://amzn.to/4e1FOdn"><strong>Midea U-Shaped inverter</strong></a> window ACs as a stopgap until we can secure the roof access needed for a proper standalone unit. They’re highly efficient for a window unit because of their mini-split design and DC inverter tech (15 SEER), quiet, and relatively inexpensive. Now, three years later, the stopgap may be the permanent solution — they’re really that good! As of this update (June 2026) they remain the best window unit on the market, and have resolved the mold issue that affected earlier models.</p><p><strong>Before</strong> — the initial install using supplied insulation and some additional adhesive insulation cut to size. Control only via the units themselves/remote or the Midea app. Works great, but ugly and not particularly airtight.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*iuOnQtE7zbCHmYGb.jpeg" /><figcaption>After one season with them installed using the supplied insulation panels and some additional adhesive insulation, my wife wanted a more polished and refined look for the units we plan to keep in year-round so I got to work!</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*MJNFGyvg2AWOpAee.jpeg" /><figcaption>Rough cut &amp; first coat of paint</figcaption></figure><p>I experimented with a few iterations using thinner paneling but eventually settled on 3/4&quot; thick pine. Using a jigsaw, I cut the wood to the final size of 40&quot; x 7&quot;, with a dip to 2&quot; under the unit. I initially planned to embed neodymium magnets to hold it up, but the friction fit was more than enough, so I didn’t bother. The wood was cut to fit snugly, including grooves for the support brackets — made with a multi-tool for the 2&quot; cuts (because I didn’t want to set the sawhorse back up 😄)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Bz3-LyLVFbg9BIFq.jpeg" /><figcaption>Layering in foam adhesive to ensure an airtight seal and better weather sealing for year round installation</figcaption></figure><p>I added roughly 3&quot; total of adhesive foam insulation between the exterior and the wood paneling, including heatproof aluminum-backed strips to prevent the foam from degrading over time. I also sealed the overlapping area resulting from the slightly open window. The insulation was cut into strips matching the width and length of the panel and layered five times using the following materials:</p><ul><li><a href="https://www.amazon.com/gp/product/B089N227P5">Adhesive Foam Insulation</a></li><li><a href="https://www.amazon.com/gp/product/B07TTK8DF7">Heatproof Aluminum-Backed Strips</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*VYVKktBv2V5QH1vj.jpeg" /></figure><p>After layering the insulation and fitting the wood panel in place, I sealed the edges where it meets the AC unit and walls with Kwik Seal waterproof caulk. Once dried, I sanded everything using 400-grit finishing pads on the multi-tool.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*U-_rMcehyFn6WCrl.jpeg" /></figure><p>For paint, I used the same color as our enclosures and window frames — Sherwin Williams Ultra White <strong>SW7006</strong> — to match the surroundings. A foam roller was perfect for the main coverage, while small brushes handled the seams and edges. Then, I applied an additional weatherproofing layer on top. Now, it’s basically as insulated as our exterior walls, with the added bonus of essentially zero compressor noise.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*98e1V5OCI0zYlmk3.jpeg" /><figcaption>All in the little details… making sure the seams are painted in after being sealed with waterproof caulk</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*P0zBU1B8elIxYy8j.jpeg" /><figcaption>Coming together, pre-moldings</figcaption></figure><p><strong>Finishing Touches</strong></p><p>We have two 12,000 BTU units and two 8,000 BTU units, all controlled by Honeywell D6 Pro thermostats (editor’s note — in 2026, I would not buy a D6 Pro. The better option is the <a href="https://amzn.to/4on4BMr"><strong>Cielo Breez</strong></a>). They’re integrated into Brilliant Home for switch-based control and Homebridge for HomeKit support. Everything works seamlessly via iOS now, which is lovely. Ultimately, I found little value in the wall controls and ended up using Homebridge directly to control the units so I could activate the dehumidifier function and control fan speed more effectively.</p><p>I’m thrilled with how the project turned out — both aesthetically and functionally — the improved insulation and noise reduction makes it worthwhile even without the good looks.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9bd3b83b0351" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Smart, Zoned NYC Steam Radiators — Effectively Controlling One-Pipe Steam Heat in Apartments]]></title>
            <link>https://taylorwilsdon.medium.com/smart-zoned-nyc-steam-radiators-effectively-controlling-one-pipe-steam-heat-in-apartments-304a2ed2cd1b?source=rss-c374ba0543a6------2</link>
            <guid isPermaLink="false">https://medium.com/p/304a2ed2cd1b</guid>
            <category><![CDATA[heating-and-cooling]]></category>
            <category><![CDATA[steam]]></category>
            <category><![CDATA[hvac]]></category>
            <category><![CDATA[heating]]></category>
            <category><![CDATA[new-york-city]]></category>
            <dc:creator><![CDATA[Taylor Wilsdon]]></dc:creator>
            <pubDate>Fri, 17 Jan 2025 00:21:55 GMT</pubDate>
            <atom:updated>2025-01-30T23:47:32.991Z</atom:updated>
            <content:encoded><![CDATA[<h3>Smart, zone controlled radiators — Taming One-Pipe Steam Heat in NYC Apartments</h3><p>Hello!</p><p>If you’re actually reading this — props to you for taking interest in something it seems like almost everyone just takes at face value as being one of the many unfixable, immutable difficulties of NYC pre-war apartment living (hell, most of my friends included). If you’ve got an hour and a couple hundred bucks, I promise you it’s really not. I’ve got 4 radiators in my 1920 building’s unit, and I keep 2 or 3 of them off at almost all times so things stay a perfect 70 during the day in the house and 67 in the bedroom at night without the windows flung open.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/448/1*EP1nuC-2fQu2AD_EcwhIgQ.gif" /><figcaption>Credit to <a href="https://www.sparksuper.com/5-steps-to-healthy-steam-radiators/">sparksuper</a> for the animation</figcaption></figure><p>I’m going to start this out by issuing a caveat: as soon as the old school steam pros and HeatingHelp forum types read this, there will inevitably be groaning about how “<em>you’re doing it wrong</em>” and “<em>you should never be shutting off radiators</em>” — they’ll tell you to focus your efforts on properly balancing your steam system. In a vacuum (there’s a pun in here somewhere), that’s completely true and good advice — what the pervasive conventional wisdom ignores, however, is the cold hard fact that the people who landed on this article are not homeowners with their own steam boiler and radiators they control.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*88hZ58rofh_FczYohSUb1w.png" /><figcaption>The anatomy of a TRV — fully assembled Macon One Pipe Steam TRV (OPSK)</figcaption></figure><p>I’m speaking to the apartment dwellers in New York City, renting in a pre-war building alongside hundreds of other people with a steam system that’s been barely maintained over the years and an off-site superintendent who could not possibly be less interested in spending even one second of their day changing anything about the system. Sprinkle in a touch of centuries-old laws from the Spanish flu meant to encourage open windows in tenement buildings, you have a genuinely unique situation on your hands.</p><p>The result? Your apartment is <strong><em>90F in the dead of winter</em></strong> and your windows are wide open, as your skin cracks and bleeds from the low humidity — and if you miscalculate the window opening amount just a little, you wake up either freezing or sweating bullets.</p><p>In such a case, as has been my own experience in multiple buildings, your only recourse is to be able to control the heat from within your unit — which is effectively impossible outside using the service valves to <strong>shut off the radiator entirely</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*br_Ffu-XeogIV0DMngHoEQ.png" /></figure><p><strong>Don’t do it.</strong> Shutting off radiators at the valve is not ideal for any number of reasons — those screw top valves are not meant to be used regularly, take forever to open and close, and absolutely will degrade in a relatively short period of time if you are frequently twisting the wheel. It might be tempting to crank the valve halfway open… then you’ll get half as much heat, right? Afraid not, friend — you should never partially open the valve. It must be completely open or completely closed, being in the middle won’t change the temperature but it will cause problems.</p><p>So, what are our options? First, strongly consider a <strong>radiator cover</strong>. It will make the heat a little more gentle and you can always take the cover off if you need more.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/472/1*Gi1o1mzpDJ7Rc-q4PlKuGw.png" /><figcaption>Radiator covers are the easiest and best thing you can do to make your steam heat less ugly and more gentle</figcaption></figure><p><strong>TRVs</strong>, or Thermostatic Radiator Valves, are one of the most practical and renter-friendly solutions for gaining some semblance of control over the heat in your apartment without resorting to the nuclear option of shutting off the radiator entirely. These devices are designed to regulate the amount of steam entering the radiator by automatically adjusting the flow based on the ambient temperature in the room. Essentially, they act as a thermostat for individual radiators, allowing you to maintain a more consistent and comfortable temperature without overheating or freezing. Most options have the thermostatic controller attached to the vent itself, so you’re getting localized readings, but Honeywell/Residio does offer a remote TRV with a capillary wire that allows you to place the control and temperature sensor away from the radiator for more accurate readings. This is essentially a must if you keep your radiator under a cover (which I highly recommend doing for a variety of reasons)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*88hZ58rofh_FczYohSUb1w.png" /><figcaption>The anatomy of a TRV — fully assembled Macon One Pipe Steam TRV (OPSK)</figcaption></figure><p>The beauty of TRVs lies in their simplicity and non-invasive installation. Most models are designed to replace the existing air vent on your radiator, which is the small valve that hisses and releases air as steam fills the radiator. By swapping this out for a TRV, you gain the ability to set a target temperature for the room. When the room reaches that temperature, the TRV restricts the flow of steam into the radiator, effectively throttling the heat output. When the room cools down, the TRV opens back up to allow more steam in. This passive, self-regulating mechanism makes TRVs an excellent choice for renters who can’t make major modifications to their apartment’s heating system.</p><p>Few caveats — TRVs are not a magic bullet. They can only control the heat output of the radiator they’re installed on, and they rely on the overall steam system being functional and reasonably balanced. If your building’s boiler is wildly inconsistent or your radiator is already receiving too much steam due to poor system maintenance, a TRV can only do so much. TRVs work best in rooms with good airflow, as they rely on accurate temperature readings from the surrounding air. If your radiator is tucked behind heavy furniture or curtains, the TRV may not function optimally. Still, they are an excellent option and easy to DIY — we’ll cover that below. Expect to spend between $120 and $200 per radiator on a full TRV setup.</p><p><strong>Your best options on that front are:</strong></p><ul><li><a href="https://customer.resideo.com/en-US/Pages/Product.aspx?cat=HonECC%2520Catalog&amp;pid=V2042HSL10&amp;category=V2040&amp;catpath=1.2.2.13.6&amp;rank=9&amp;v1=Sort.1.Product.Rank&amp;asc=1">Honeywell / Resideo V2042HSL10</a></li><li><a href="https://danfoss.com/en-us/products/dhs/radiator-and-room-thermostats/radiator-thermostats/radiator-valves/ra2000-valves/">Danfoss RA2000</a></li><li><a href="https://www.supplyhouse.com/Macon-Controls-MAC-OPSK-W-EVO-1-8-Threaded-One-Pipe-Steam-Straight-Valve-Assembly-with-EVO-28-Operator"><strong>Macon OPSK</strong></a><strong> — </strong>this is what I have on my bedroom radiator — very high quality build, although I replaced the straight vent as I wasn’t happy with the included one.</li><li><a href="https://www.castrads.com/us/product/niva-one-pipe-steam-trv/">Niva One Pipe Steam TRV </a>(Castrads)</li></ul><p>One quick caveat — make sure you’re getting a full kit. The Macon linked there is everything, but often they sell these as platforms, so you can choose which type of temperature controller and vent that you want — but you need the TRV body itself, a vacuum breaker, the vent and the control (either remote or on the valve body)</p><p>For those looking to take things a step further, or for situations where TRVs alone aren’t cutting it, <strong>low-voltage motorized ball valves</strong> offer a more advanced — and admittedly more complex — solution. These devices are installed on the radiator’s supply pipe and allow for precise, remote control of steam flow. Unlike TRVs, which operate passively, motorized ball valves can be integrated into a smart home system, giving you the ability to control your radiator via a smartphone app or even automate heating schedules based on time of day or occupancy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VXQLXqBfKqbKRXXTy4yLMw.png" /></figure><p>What I ultimately landed on is:</p><ul><li><a href="https://www.amazon.com/gp/product/B0CW9W11QB">Electric Motorized Ball Valve</a> - Stainless Steel Electrical Ball Valve with Full Port, 9–24V AC/DC and 2 Wire Auto Return Setup from <a href="https://www.amazon.com/gp/product/B0CW9W11QB">Flomarvel</a></li><li><a href="https://amzn.to/3Q3AhpH">Small 12v power supply</a> ($4 on amazon, or repurpose a usb-c charger)</li><li><a href="https://www.amazon.com/gp/product/B09YH8VHRF/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&amp;th=1">¼” NPT to ⅛” NPT reducers</a> and Reducing Hex Nipple, 1/4&quot; x 1/8&quot; Male NPT Connectors to convert the quarter inch ports to one eighth, the standard size for one pipe steam radiator valves.</li><li><a href="https://www.amazon.com/Varivalve-925005-00-Adjustable-Angle-Valve/dp/B009ATMA2I">VARI-Valve</a> vent</li><li><a href="https://www.amazon.com/dp/B0CD81JMDN">Matter (Homekit compatible) smart plug</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*8b3FAcJbg1kJK2BAAsxXEQ.png" /></figure><p>With this, I’ve basically recreated a TRV conceptually (steam can’t enter, radiator doesn’t get hot) but instead of relying on the built in passive thermostat, I can now turn my radiators on and off via Homekit on my iPhone with a single click.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/250/1*5-6ZyS4VfCyxRa1e42Ugsw.png" /><figcaption>Despite occasional frustrations, I like to have everything in Homekit for native control on iPhone</figcaption></figure><p>Then, using HomeKit compatible<strong> temperature sensors</strong> (I use <a href="https://www.amazon.com/Bluetooth-Thermometer-Hygrometer-Temperature-Greenhouse/dp/B0BQ6235KH?th=1">Qingping</a> &amp; Govee models from Amazon), you can automate on and off depending on room temperature… the dream. You’ll need to source your own vacuum breaker or repurpose a TRV body (Niva will sell you their vacuum breaker individually for $15 on castrads.com) and you’re off to the races. I power it off a tiny GaN USB-C adapter and a USB-C to 2 wire barrel power adapter, making it tiny and easy to control with any smart home system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*aAcUOoYv7D9qJgGJLJciMQ.png" /><figcaption>I have these mounted on the wall in every room, the battery lasts forever and they look great — big fan</figcaption></figure><p><strong>Installation</strong> — while some people use teflon tape on the threads, I do not. I swear by RectorSeal Tru-Blu pipe thread sealant and find that it never leaks steam or water when teflon tape often does on the first pass. This might sound complicated, but trust me, it’s super easy — anyone can do it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*kfsSDUBcJNqrlt9M1ZzRuQ.png" /></figure><p><strong>Thread Preparation:<br></strong>Before installing the steam vent or TRV, inspect the threads on the radiator tapping. Clean off any old debris, rust, or remnants of Teflon tape or pipe dope. Just make sure you scrape any gunk out of the hole. Apply a small amount of pipe thread sealant to the male threads of the vent or TRV to ensure a proper seal. Be cautious not to put too much, as excess material can block the vent. Just brush on a nice light coat all around.</p><p><strong>Hand-Tight Installation:<br></strong>Screw the vent or TRV onto the radiator tapping by hand. Tighten it firmly but avoid using tools like wrenches or pliers, as overtightening can damage the vent, distort the threads, or crack the radiator tapping. Hand-tight is sufficient for creating a steam-tight seal when the threads are properly prepared.</p><p><strong>Video:<br></strong>This guy is using tape instead of sealant, but does a good job of showing the process. <a href="https://www.youtube.com/watch?v=c7cpqtnlHS4"><strong>Give it a watch</strong></a> if you’re not feeling confident on text only, ya boy doesn’t make videos but this one does just fine.</p><p><strong>Proper Orientation:<br></strong>Ensure the steam vent is installed in the correct upright position. Most steam vents have a specific orientation for proper operation, as they rely on gravity and internal mechanisms to function. For example, the vent’s air outlet should face upward. If the vent is tilted or installed sideways, it may fail to close properly, leading to steam leaks or improper heating.</p><p><strong>Radiator Pitching:<br></strong>If your radiator was working well before you changed the vent, it’s likely pitched correctly already and you can skip this step entirely!</p><p>Verify that the radiator is pitched slightly toward the supply valve (the end where the steam enters). Don’t know what <strong>pitch</strong> is? Think of the bubble on a level — pitch is how far from center something is on a horizontal angle. This slight slope (approximately 1/4 inch per foot) allows condensate (water formed when steam cools) to flow back toward the boiler. If the radiator is not pitched correctly, water can pool inside, causing gurgling noises, uneven heating, or water spitting from the vent.</p><p><strong>Confused</strong>? It sounds complicated, but it really isn’t. Basically, stuff some little wood shims (an old paint stick works great) under the leg of the radiator on the side opposite the pipe that brings the steam in. You just want it tilted enough to let condensate drain back.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3nltfTmUpedt-a2L.jpg" /></figure><p>Turn the main valve back on and let ‘er rip! Congrats, you’re now controlling your steam.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/230/1*WEJDfxhjm-BDLM01jtlFJg.png" /><figcaption>Quick toggle on and off straight from my iPhone’s lock screen!</figcaption></figure><p>If you made it this far, congrats! You now know more then perhaps you ever wanted to about the wild world of steam heat. The purists may scoff at the idea of controlling individual radiators rather than addressing the root cause of an unbalanced steam system, the reality for most NYC apartment dwellers is that the latter simply isn’t an option. TRVs and motorized ball valves represent two viable paths to reclaiming some control over your living environment, each with its own set of trade-offs. For those willing to experiment, these solutions can make a world of difference in turning your apartment from a sauna into a space that’s actually livable during the winter months.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=304a2ed2cd1b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Multi-Gig for the Masses — Building an inexpensive 10GbE network for the home]]></title>
            <link>https://taylorwilsdon.medium.com/multi-gig-for-the-masses-building-an-inexpensive-10gbe-network-for-the-home-cfe91740f186?source=rss-c374ba0543a6------2</link>
            <guid isPermaLink="false">https://medium.com/p/cfe91740f186</guid>
            <category><![CDATA[home-network]]></category>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[homelab]]></category>
            <category><![CDATA[10gbe-switch]]></category>
            <category><![CDATA[nbase]]></category>
            <dc:creator><![CDATA[Taylor Wilsdon]]></dc:creator>
            <pubDate>Sun, 15 Mar 2020 22:21:23 GMT</pubDate>
            <atom:updated>2020-03-26T18:26:30.524Z</atom:updated>
            <content:encoded><![CDATA[<h3>Multi-Gig for the Masses — Building an inexpensive 10GbE network for the home</h3><p>My hope with this article is to show that it is becoming increasingly possible to implement a high performance network in a home environment without breaking the bank — and hopefully save you some time by sharing my mistakes along the way. With that said, if you stumbled across this piece looking for the best router for your home internet connection and terms like NBase-T, Fiber, SFP+ &amp; RJ45 transceivers sound like gibberish to you, I’ll save you some frustration and point you to an excellent consumer routing device ranker at <a href="https://www.smallnetbuilder.com/tools/rankers/router/ranking/AC/rev9/161">SmallNetBuilder</a>.</p><p>Our target audience here is probably going to be a mix of creative professionals who need tons of high speed storage available to their local machine (photographers, videographers, editors etc), small businesses looking to offer higher performance file shares to a handful of clients and lastly, where I come in — engineers who are exposed to high performance environments in a professional setting and want the best in their own environment (and willing to jump through hoops &amp; pay the early adopter tax to accomplish it). If you get the gist of how a RAID array works and the benefits it can provide, or you can explain the differences (and overlap) between modems, routers, switches and access points, then continue onward!</p><figure><img alt="Blackmagic 10GbE Speedtest" src="https://cdn-images-1.medium.com/max/825/1*hLNz3C5oFDrIJpRWplN8OQ.png" /></figure><p>A few years ago, this was largely impractical — 10 gig equipment was restricted to the domain of server class gear, most switches were rack mount only (and about as quiet as a 747) and there were no options beyond complex solutions like running a PCIe server card in a Thunderbolt enclosure. This all changed with the wide release of NBase-T gear within the last two years (2019 was a big year for cheap, fast networks). These new solutions offer exceptional performance with far fewer drawbacks than data center class equipment at a much more palatable cost. My suspicion is that as 5G wireless technology becomes more ubiquitous and multi-gigabit connection speeds become normalized, we’ll see more and more consumer equipment available at a lower price point.</p><p>For the tl;dr crowd, I’ll summarize what you’ll find below as such — you can get a functional ad-hoc multi-gig connection for $54 by pairing two <a href="https://www.amazon.com/gp/product/B07VNFLTLD"><strong>CableCreation 2.5GBase-T USB adapters</strong></a><strong> </strong>and reusing an existing ethernet cable. You’ll want to manually assign each adapter a manual IP address in a different subnet than the rest of your network to avoid things getting routed incorrectly. Of course, this limits you significantly and requires a second Ethernet port on one or both of the devices for access to the WAN and your broader home network, so it’s not ideal for most. For $200-$225, you can implement the same adapters and a <a href="https://www.amazon.com/gp/product/B076642YPN">switch with two or more multi-gig</a> compatible ports for a much more seamless implementation. $450 buys you a full 10GbE network with room to grow, you’ll want to look at the <strong><em>Setup Examples</em></strong> section below. Now, we’ll cover the options on the market for connectivity to both the host and switch.</p><p><strong>Adapters</strong>:</p><p><em>10GbE</em></p><figure><img alt="QNAP Thunderbolt 3 to 10GbE Adapter" src="https://cdn-images-1.medium.com/max/900/1*FaTJs4A1LLpDWilt6PF5Lg.jpeg" /></figure><p><em>Thunderbolt:</em></p><ul><li>A larger number of vendors offer Thunderbolt 2 &amp; 3 based external adapters, ideal for portable devices like the Macbook Pro as well as miniature servers like the Intel NUC series. Options like the <a href="https://amzn.to/2vomhBj">Sonnet Solo 10G</a>, <a href="https://amzn.to/2IPQJaA">OWC Thunderbolt 3</a>, <a href="https://amzn.to/3b40dLH">Monoprice Thunderbolt 3 10G Adapter</a>, <a href="https://amzn.to/33pe6Bh">QNAP QNA-T310G1S</a> and more offer a variety of bus powered options that generally cost around $150. These adapters will give you full 10GbE speed over copper or fiber (depending on configuration). They tend to get hot, they’re fairly large and must be connected directly to the system or as part of a TB3 daisy chain.</li></ul><p><em>PCIe:</em></p><ul><li>For desktop PCs, servers and standalone NAS units, a PCIe NIC is likely a better option assuming a free PCIe port on the motherboard. These cards can be extremely cheap ($25–30 for older Mellanox &amp; Intel units) and up to around $100 for a desktop grade <a href="https://amzn.to/2U9LEPz">Asus 10GbE PCIe</a>, recent make dual port card. PCIe cards can also support 2.5GBase-T like the <a href="https://amzn.to/3d3C09N">TRENDnet 2.5GbE</a> ($35) and 5GbE ($75, very uncommon).</li></ul><figure><a href="https://amzn.to/2UcnLqN"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hnZgsPpi_k8w0ByKE-V0gQ.jpeg" /></a></figure><p>If you’re going to be using up a PCIe slot, you should go 10GbE — there’s really no reason not to. You may find the best prices on eBay for used server grade equipment in this category, as the retail prices are much higher. Intel’s X520/X540/X550-T2 (T indicates RJ45 connection type, and the 2 represents the number of ports) and DA(X) models, which offer SFP+ ports. You can get a solid card for $35–50 all day with modern driver support, so no reason to waste your time with desktop class 2.5/5GBase-T. I haven’t tried it personally, but I’ve gotten a recommendation for the HP NC522SFP as an inexpensive option as well — two SFP+ 10GbE ports for $30 is definitely an appealing proposition!</p><p><em>USB:</em></p><ul><li>Though the USB-C spec does offer speeds of up to 10Gbps, there are no currently offered 10GbE adapters using the protocol. However, there are a number of options, starting with the budget option that may satisfy most home users:</li><li>$28 will buy you a <a href="https://amzn.to/2Whb3tm"><strong>CableCreation 2.5GBase-T USB adapter</strong></a> (USB A or C) with a <a href="https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-usb-3-0-software">Realtek RTL8156 chipset</a>, which works great in both Windows &amp; Mac systems and has been one of the most reliable options I’ve found. These inexpensive, lightweight adapters don’t get too hot (but adding a thermal strip/heatsink to these adapters is never a bad idea) and perform very well in my own experience.</li></ul><figure><img alt="Realtek RTL8156" src="https://cdn-images-1.medium.com/max/850/1*zFmlDNPCAiW6_D73s5VE2w.jpeg" /></figure><ul><li>For around $80, you can find a handful of options from <a href="https://amzn.to/3aW411b">QNAP’s 5GbE USB adapter</a>, <a href="https://amzn.to/2WdXxa0">Sonnet</a>’s Solo5g and others that wrap a larger shell around an Aquantia-supplied 5GBase-T chip. Anecdotally, my experience with these has not been as good — I’ve never been able to surpass ~3.2Gbps using these adapters directly connected with Jumbo frames enabled on two high end endpoints fully capable of saturating a 10GbE link. I’d skip this — go cheap and go 2.5gbe (which USB 3.0 is more than capable of delivering) or go all out and get Thunderbolt based 10GbE devices (or USB 3.2, when we get ‘em!)</li></ul><p><em>Docking Stations</em></p><ul><li>This header should really read “Docking Station,” as there is only one model on the market I’m aware of that fits the bill. The <a href="https://amzn.to/3b2Nf0r">Akitio Thunder3 Dock Pro</a> is a TB3 dock akin to the numerous options from OWC, Belkin, Caldigit etc but with a noticeable difference — it features a 10GbE Ethernet port! It’s expensive, though it has been on sale for as low as $170 in the past, which is a steal at that price if you already need a dock.</li></ul><figure><a href="https://amzn.to/33vU20b"><img alt="Akitio Thunder3 Dock Pro" src="https://cdn-images-1.medium.com/max/679/1*t9UCsI1sXI6tOoCdKayLKw.png" /></a></figure><p><strong>Switches:</strong></p><p>I can only hope that as adoption rises, so do the number of options for multigig switching in the consumer space. While the enterprise enjoys a glut of 10GbE capable equipment (as well as 40GbE and 100GbE), the SOHO options are much more limited — and let’s be honest here, most of our significant others, roommates and guests are probably going to have some questions about giant, incredibly loud rackmount switches of yesteryear carefully moving all of the dust in your house into their vents. With that, our options basically come down to a handful of options:</p><p><strong>Netgear</strong> offers the GS series 10 port SMB switches, with a managed and unmanaged option — both have 8 gigabit ports and two 10GbE capable copper RJ45 ports. They also offer the <a href="https://amzn.to/2x28voA">S8000/GS810EMX</a>, a gaming-design switch with the same port configuration above that’s either better or worse looking depending on your design sensibilities — it does seem to have better cooling than the SMB models, though it’s harder to wall or desk mount. The <a href="https://amzn.to/33mFX5m">GS110MX runs $160</a> at time of writing.</p><figure><a href="https://amzn.to/2x28voA"><img alt="Netgear GS810EMX" src="https://cdn-images-1.medium.com/max/1024/1*6uxmqfyVY3dba8uvt36QVg.png" /></a></figure><p>An option that will be particularly appealing to those with more than 3 clients that need a variety of high speed capabilities and already have existing Ethernet runs is the <a href="https://amzn.to/2xORrCS"><strong>Netgear MS510TX 10-Port Multi-Gigabit/10G Smart Managed Pro Switch</strong></a>. For $255 right now on Amazon, you get 2 x 2.5G ports, 2 x 5G ports, 1 10G Ethernet port and 1 10G SFP+ port. That’s a very attractive package given that it would enable you to effectively utilize adapters across the price spectrum and offers both RJ45 and SFP+ full 10G options.</p><p><strong>QNAP</strong> offers several options, including a <a href="https://amzn.to/2U7RTUj">reasonably priced 3 port option</a> with two SFP+ 10GbE ports and a combo RJ45/SFP+ port. For $189, that’s probably the best option for a 3 client setup.</p><p><strong>ASUS</strong> offers a $200-ish option that I probably wouldn’t buy unless you found it on sale somewhere when it’s inevitably discontinued.</p><p><a href="https://amzn.to/2QBax67"><strong>TRENDnet</strong>’s TEG-30284</a> is a solid option for a SOHO environment with a need for more ports, offering 24 gigabit ethernet ports and 4x10GbE SFP ports for your high speed needs.</p><p><strong>Mikrotik</strong> offers the widest range of consumer-priced gear, but its probably better suited to those more familiar with barebones software and a good understanding of networking fundamentals. For $130, you can get a <a href="https://amzn.to/33le3GB">tiny 5 port 10GbE (fiber) </a>switch with a single gigabit RJ45 port.</p><p>Need more capacity? Mikrotik also offers the <a href="https://amzn.to/2vrfh6J">CRS309–1G-8S+IN</a>, with 8x10G SFP ports and 1x1G RJ45.</p><figure><a href="https://amzn.to/2wYhXt7"><img alt="Mikrotik CRS305–1G-4S+IN" src="https://cdn-images-1.medium.com/max/800/1*VP1YPxp0lN5fXuLN_AHiPw.jpeg" /></a></figure><p><strong>Ubiquiti</strong> offers a handful of 10GbE compatible models at a significantly higher price point than these, but they’re probably the best option if you’ve already invested in a Cloud Key and have an existing Ubiquiti infrastructure in place. The <a href="https://amzn.to/2Wmkyre">Ubiquiti Networks US-16-XG 10G</a> runs just over $500, but gives you a total of 16 10GbE ports (12 SFP+ and 4 RJ45, all capable of full 10Gbps).</p><p><em>Sample configurations below </em>— I have tried out more of these than I care to admit, and I’ll try to outline any caveats I’ve come across along the way.</p><p><strong>Budget performance king:</strong></p><p><a href="https://amzn.to/2wYhXt7">Mikrotik 5 port 10GbE SFP+ fiber switch</a> (<a href="https://amzn.to/2wYhXt7">CRS305–1G-4S+IN) </a>— $130</p><ul><li><a href="https://amzn.to/39TTKTk">Copper 10GbE transceivers</a> run $35-$45/port if you prefer RJ45.</li><li>Supports relatively inexpensive DAC cables, ideal for a high performance home NAS installation</li><li>Room to scale thanks to 5 ports.</li><li>Supports 10GbE &amp; 2.5/5GBase-T</li></ul><p><a href="https://amzn.to/38XmtoK">2xTB3 SFP+ adapters</a> (or 1+<a href="https://amzn.to/3aV7QDU">1xPCIe</a> for a NAS): $300</p><p><a href="https://amzn.to/3bcAsZJ">DAC cable</a>: $15</p><p>For $450, you’ve got a full speed 10 gig setup with room to grow clients. With two mobile devices or a laptop + NAS, you’re not going to do better than that, period. Downsides are you’ll need new cabling, unless you already have a fiber run or you purchase RJ45 transceivers, which push the price up to the point where some of these other solutions with native copper ports make more sense.</p><p><strong>One client &amp; one server or NAS:</strong></p><p>The Netgear and QNAP switch options both work fine here, and can potentially be a cheap way to use existing wiring. Remember that your cable type plays an important role — it’s possible to run 10GbE speeds over CAT5e, but only for short runs. CAT6 is recommended if you’ve got a large area to cover. Downsides to most of the cheaper options here are that you only get 2 or 3 ports, so it likely wouldn’t be useful in a small business environment, but great for a home with one server or NAS and a single client that needs max performance, with the others well served by gigabit. In addition, many NAS vendors offer multi-gig port options even on low end models, so you may not need an additional adapter.</p><figure><a href="https://amzn.to/3b1k9yI"><img alt="" src="https://cdn-images-1.medium.com/max/945/1*PGszpsh8BdrmPuUrDL7pfA.jpeg" /></a><figcaption>QNAP 10GbE NAS</figcaption></figure><p><strong>I want fast, but not that fast</strong> (aka: I don’t have a crazy RAID setup and use spinning platter drives, so I don’t need more than 2.5/5gbps) can be had very inexpensively. If you’re comfortable enough with setting up an ad-hoc network , you’re golden— just make sure to use a different subnet than your existing network. Basically, you can connect your NAS to its built in gigabit to serve the rest of your clients, and then use a USB based adapter (or PCIe card, if supported) to open up a second port, then connect your client using another adapter directly to it and manually assign each NIC a static IP. Example:</p><ul><li>MacBook Pro with <a href="https://amzn.to/2Whb3tm">CableCreation 2.5GBase-T USB</a> adapter<strong> </strong>set to 192.168.1.2</li><li><a href="https://amzn.to/2TVSpG4">NAS with 2.5GbE</a> port or PCIe card with IP set to 192.168.1.3</li></ul><p>Now, those devices can mount shares using that IP and data will pass over the direct network, and crossover cables are no longer needed with modern networking equipment. This is a great way to get 250MB/s or better for $50, total. I suspect you won’t be able to do this cheaper than that for years to come. The screenshot below is using iperf3 with 10 parallel streams between two hosts connected using the <a href="https://amzn.to/2Whb3tm">CableCreation adapters</a> and my Netgear 10GbE switch.</p><figure><img alt="iperf3 results using 2.5GbE USB adapters" src="https://cdn-images-1.medium.com/max/594/1*u7NSH_bQ_gz4LcWF2lZAtQ.jpeg" /></figure><p>If you add a switch like the Netgear into the mix, you can avoid the network tomfoolery (and not have two sets of drives mounted) and you’re looking at $225–250 — a very reasonable cost of entry for a 250% increase in performance, enough to saturate a fast 7200RPM or 10000RPM spinning platter drive or get you “good enough” performance on a SATA SSD. Upgrade to 5GbE (around $50 each more, so $100 total for two endpoints) and you’ve got a $350 setup that can max out most SATA III SSDs. That’s pretty close to the sweet spot, but since your switching supports 10GbE I’d suspect most will just go straight for the full speed setup listed above at that point. Main upside with the 5GbE adapters is size and the fact that it’s USB, so it can be connected to a hub and you can maintain a single port setup for a Thunderbolt equipped laptop using a dock.</p><p><strong>What hasn’t worked for me:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/945/1*l8Q3-Yci4hcNZYtj-VYI1g.png" /></figure><p>This section is going to cover things that seem like they might work for you, but almost certainly won’t — at least not yet. Particularly tempting examples include the recent swath of WiFi 6/draft 802.11ax equipment — many of the highest end models (<a href="https://amzn.to/2IOYKfZ">Netgear AX12 AX11000</a>, <a href="https://amzn.to/2TSXWgi">Asus ROG Rapture GT-AX11000</a> etc) include a single 5GBase-T or 2.5GBase-T port, ostensibly so you can hardwire a high speed NAS or server into the fast paced world of WiFi 6. The reality? WiFi 6 will give you roughly gigabit ethernet speeds on a <strong>VERY</strong> good day, assuming optimal conditions with the client very close to the AP or router. In addition, very few clients support it — your brand new 16&quot; Macbook Pro included (though why Apple would include WiFi 6 in the iPhone 11 but not the even newer “professional” laptop is beyond me). So what does that mean for you? Well, that means your fancy 5GbE port is functionally useless. If none of the other ports are 5GbE (they aren’t) and WiFi isn’t really any faster than gigabit, then what’s the point?</p><p>The answer is basically that it looks good on paper. But Taylor, you <em>exclaim</em>, can’t I take advantage of the super awesome link aggregation functionality on the AX11000? Sure thing friend, you can get fancy and set up a LAG on the Netgear to get 2Gb/s to one client and 5Gb/s to another, but at that point you’ve got a complicated setup offering poor performance that requires two Ethernet cables ran to the link-aggregated device and an endpoint with two Ethernet ports that also supports LACP, all at a price that’s higher than the real solutions listed above. Short answer — don’t bother, WiFi 6 is not ready yet. I’m the definition of a too-early adopter, and I’ll be the first to admit that it’s too early.</p><p>When vendors start shipping widespread, fast 802.11AX cards in clients we can revisit this section — WiFi 6 offers a lot of advantages, particularly if you have a high number of devices, but until then I believe it is not ready for prime time. In the meantime, a wired network following the examples above is going to be the absolute best bang for your buck.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cfe91740f186" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>