Back to Home

AI Documentation

A technical deep-dive into ZenTree's local semantic engine.

Overview

ZenTree Tabs features a local AI-powered tab grouping engine that intelligently organizes browser tabs using semantic understanding, domain clustering, and proximity analysis.

Model all-MiniLM-L6-v2
Model Size ~23MB
Inference ~50ms / tab
Infrastructure WebAssembly (Local)

Core Logic

1. Domain-First Phase

Before any AI computation, ZenTree identifies high-confidence domain clusters. If you have 3 or more adjacent tabs from the same root domain (e.g., wikipedia.org), they are instantly grouped with 95% confidence score.

2. Semantic Clustering

For unassigned tabs, the engine converts titles into 384-dimensional vectors (embeddings). It then calculates the Cosine Similarity between these vectors to determine if they share a conceptual intent—even if they come from different websites.

3. Proximity Bias

To respect your browsing flow, we apply an exponential decay penalty to semantic scores based on tab distance. Tabs at opposite ends of your window are much less likely to be grouped than those sitting side-by-side.

Total Score = (Semantic Similarity × 0.7) + (Proximity Score × 0.3)

Group Naming

Instead of generic labels, ZenTree uses a multi-tier strategy to pick the most descriptive title for a group:

Privacy Architecture

Unlike traditional AI tools, ZenTree's intelligence is localized. The MiniLM model is downloaded once to your local storage and executed exclusively within your browser's memory via WebAssembly.

Troubleshooting AI

If groupings feel inaccurate, consider the following: