{"slug": "how-thread-groups-firefox-tabs-with-two-local-ai-models", "title": "How Thread groups Firefox tabs with two local AI models", "summary": "A developer built Thread, a Firefox extension that organizes tabs into native tab groups using two locally run AI models. One model generates semantic embeddings to detect connections between tabs, and the other assigns group names, with all inference happening in the browser after an initial download of about 85 MB of cached model files and no cloud API or key required. The approach trades off conservative grouping, which leaves more tabs loose, against broader grouping, which can mix unrelated work, and English titles perform best.", "body_md": "A GitHub issue and a tutorial can concern the same task without sharing a domain. Semantic embeddings give a tab organizer a way to look for that connection.\n\nThread uses two models for different jobs:\n\nThe output becomes Firefox's native tab groups. Existing groups can guide matches, while unclear matches can stay ungrouped. The models provide evidence; application code checks the current tabs before making changes.\n\nBoth inference steps run locally in the browser. The first use downloads about 85 MB of model files, which are then cached. There's no cloud inference or API key. Firefox's native AI runtime is optional because a bundled local runtime is available.\n\nThe trade-off is visible: conservative grouping leaves more tabs loose, while broader grouping can mix unrelated work. English titles work best, and generated names can need correction.\n\n[Grouping implementation](https://github.com/smitp/thread-tab-group/blob/681dc756824e4c6de49f378eed03d8ee656f4e8f/src/core/planner.ts) · [Firefox example, desktop 140+](https://addons.mozilla.org/en-US/firefox/addon/thread-tab-groups/)\n\n*Prepared with AI assistance.*", "url": "https://wpnews.pro/news/how-thread-groups-firefox-tabs-with-two-local-ai-models", "canonical_source": "https://dev.to/smitp/how-thread-groups-firefox-tabs-with-two-local-ai-models-11b4", "published_at": "2026-10-20 08:37:40+00:00", "updated_at": "2026-10-20 08:48:27.902401+00:00", "lang": "en", "topics": ["ai-tools", "artificial-intelligence", "natural-language-processing", "developer-tools"], "entities": ["Firefox", "Thread", "Mozilla", "GitHub"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/how-thread-groups-firefox-tabs-with-two-local-ai-models", "markdown": "https://wpnews.pro/news/how-thread-groups-firefox-tabs-with-two-local-ai-models.md", "text": "https://wpnews.pro/news/how-thread-groups-firefox-tabs-with-two-local-ai-models.txt", "jsonld": "https://wpnews.pro/news/how-thread-groups-firefox-tabs-with-two-local-ai-models.jsonld"}}