You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit bcf84e0
Browse filesBrowse the repository at this point in the historyBrowse files
docs: position Harbor against the May 2026 browser-AI landscape
Add docs/POSITIONING.md as the messaging source-of-truth — captures the
four camps (vendor agent browsers, sidebar AI assistants, the converging
standards, BYOK in IDEs), the differentiation table, talking points by
audience, and a source list for fact-checking.
Refresh README.md "Why This Exists" and spec/README.md "The Problem" to
reference the actual 2026 landscape (Atlas, Comet, Gemini in Chrome,
Brave Leo, Firefox AI Window, WebMCP, Chrome Prompt API) and to name the
gap Harbor fills. Point AGENTS.md at POSITIONING.md so future
contributors and AI assistants find the framing chain.
Co-authored-by: Cursor <cursoragent@cursor.com>
-`spec/testing/` - Test harness for **third-party** apps: run `scripts/generate-test-harness.mjs <target-dir>` to give them mocks + Playwright E2E
61
+
-`whitepaper/` - GitHub Pages site (static HTML, no Jekyll). `index.html`, `landscape.html`, `spec.html`, `build.html` + `styles.css`. See `whitepaper/README.md` for structure and `whitepaper/DESIGN_NOTES.md` for design rationale.
62
+
-`docs/POSITIONING.md` - **Source of truth** for how Harbor describes itself externally. Read it before writing decks, blog posts, or website copy. If you change framing on the site, change it here first so the website, the spec, the README, and any decks stay in sync.
Copy file name to clipboardExpand all lines: README.md
+17-16Lines changed: 17 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,13 @@
1
1
# Harbor
2
2
3
-
**Browser infrastructure for AI-powered web applications.**
3
+
**AI as a browser capability.** A working sketch of what user-controlled AI on the open web could look like.
4
4
5
-
> **Note**: Harbor + Web Agents is an invitation to explore what user-controlled AI on the web could look like. This is meant to start a conversation—not announce a product. Nothing here is a commitment that these ideas will appear in Firefox or any Mozilla product. But if we're going to shape how AI works on the web, it helps to have something concrete to talk about.
5
+
> **Note:** Harbor + Web Agents is an invitation to explore what user-controlled AI on the web could look like. This is meant to start a conversation — not announce a product. Nothing here is a commitment that these ideas will appear in Firefox or any Mozilla product. But if we're going to shape how AI works on the web, it helps to have something concrete to talk about.
6
6
7
-
This repository contains two browser extensions that work together:
7
+
This repository contains two browser extensions plus a small native bridge that, together, implement the **[Web Agent API](spec/)** specification:
8
8
9
-
-**Harbor** — Infrastructure extension that provides LLM connections (Ollama, OpenAI, Anthropic), hosts MCP servers, and manages the native bridge
10
-
-**Web Agents API** — Implements the **[Web Agent API](spec/)** specification, exposing `window.ai` and `window.agent`to web pages (requires Harbor for LLM/MCP infrastructure)
9
+
-**Harbor** — Infrastructure extension that provides LLM connections (Ollama, OpenAI, Anthropic), hosts MCP servers, and manages the native bridge.
10
+
-**Web Agents API** — Implements the **[Web Agent API](spec/)** specification, exposing `window.ai`, `window.agent`, and `navigator.modelContext` (W3C [WebMCP](https://webmachinelearning.github.io/webmcp/)) to web pages. Requires Harbor for LLM/MCP infrastructure.
11
11
12
12
---
13
13
@@ -23,25 +23,26 @@ This repository contains two browser extensions that work together:
23
23
24
24
## Why This Exists
25
25
26
-
**The problem:** Every website that wants AI features needs to either:
27
-
1. Ask users for API keys (bad UX, privacy concerns)
28
-
2. Pay for and manage their own AI infrastructure (expensive, data custody issues)
29
-
3. Use cloud services that see all user data (privacy nightmare)
26
+
**The problem (May 2026 edition):** AI is everywhere in the browser, and somehow you have less choice than a year ago.
30
27
31
-
**The vision:** What if the browser could provide AI capabilities directly to web pages — like it provides `fetch()` for network access or `localStorage` for persistence?
28
+
-**Vendor agent browsers** (ChatGPT Atlas, Comet, Gemini in Chrome, Copilot Mode in Edge, Dia) ask you to pick a side. Each replaces your browser with their agent and routes your context to one company.
29
+
-**Sidebar AI assistants** (Brave Leo, Mozilla's AI Window) let you bring your own model, but only to chat with yourself. Websites can't program against them.
30
+
-**Standards** like W3C [WebMCP](https://webmachinelearning.github.io/webmcp/) (April 2026) and Chrome's [Prompt API](https://developer.chrome.com/docs/ai/built-in-apis) solve slices — page-side tools, one on-device model — but neither answers the central question: *how does an arbitrary website call the user's chosen AI, with the user's chosen tools, on whatever browser the user happens to be on?*
32
31
33
-
With the Web Agent API:
34
-
-**Users** control their own AI (run local models, choose providers, manage permissions)
35
-
-**Websites** get AI capabilities without managing infrastructure or handling sensitive data
36
-
-**Privacy** is preserved because data can stay local
32
+
**The vision:** treat AI like `fetch()`. The browser holds your model connections, your credentials, and your tools. Websites declare what they need through standard APIs (`window.ai`, `window.agent`, `navigator.modelContext`). Permissions are per-origin and revocable. The agent doesn't free-roam the DOM — websites delegate via a scoped API, which keeps the prompt-injection surface manageable.
37
33
38
34
```javascript
39
-
// Any website can use AI — no API keys, no backend needed
35
+
// Any website can use AI — no API keys, no backend, no vendor lock-in
40
36
constsession=awaitwindow.ai.createTextSession();
41
37
constresponse=awaitsession.prompt("Summarize this page");
42
38
```
43
39
44
-
→ **[Read the full explainer: Why Web Agents?](spec/README.md)**
40
+
With the Web Agent API:
41
+
-**Users** control their own AI — run local models, choose providers, manage permissions per-origin.
42
+
-**Websites** get AI capabilities without managing infrastructure, holding credentials, or picking a vendor.
43
+
-**Privacy** is preserved because the data path is the user's choice (local models never leave the machine).
44
+
45
+
→ **[Read the full explainer](spec/README.md)** · **[The 2026 landscape and where Harbor fits](docs/POSITIONING.md)** · **[Public site (`whitepaper/`)](whitepaper/README.md)**
0 commit comments