Skip to content

Commit bcf84e0

Browse files
rcursoragent
andcommitted
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>
1 parent 6f5046b commit bcf84e0

4 files changed

Lines changed: 242 additions & 32 deletions

File tree

‎AGENTS.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ cd tests/e2e && npm run test:browser:keep-open
5858
- `demo/` - Demo pages for testing
5959
- `tests/e2e/` - End-to-end browser tests (Harbor's own)
6060
- `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.
6163

6264
## Common Pitfalls
6365

‎README.md‎

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Harbor
22

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.
44

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.
66
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:
88

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.
1111

1212
---
1313

@@ -23,25 +23,26 @@ This repository contains two browser extensions that work together:
2323

2424
## Why This Exists
2525

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.
3027

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?*
3231

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.
3733

3834
```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
4036
const session = await window.ai.createTextSession();
4137
const response = await session.prompt("Summarize this page");
4238
```
4339

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)**
4546

4647
---
4748

0 commit comments

Comments
 (0)